Home    Products    Downloads    Purchase    Support    Company    Search  
  About    News    Contact    Newsletter   Community 
Conduits Community Forums
  Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
Conduits > Pocket Player
 Conduits Community > Conduits > Pocket Player
Subject Topic: Home Playlist Plugin (my first plugin!) Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
thx1200
Enthusiast
Enthusiast


Joined: 01 December 2007
Posts: 133
Posted: 02 April 2008 at 10:24pm | IP Logged Quote thx1200

----- TIP JAR! -----
Like this plugin? Want more like it or quicker updates? Tip a buck (or Euro or Pound or whatever) or two to help the author out! Click here to make a safe donation via PayPal.

----- VERSION 3 -----

1. New feature: rename the menu items to whatever you want (button to copy the name of the playlist).
2. Moved the "Number of playlists" config option to the Playlists tab.
3. Renamed General to About.

To install:
Copy all files in the zip to the \Program Files\Pocket Player folder.

Download:
http://www.avianwaves.com/tech/tools/pocketplayer/gen_homepl aylistV3.zip


----- VERSION 2 -----

This plug-in has been updated with many new features!

1. Up to EIGHT playlists can be assigned.
2. Any or all of the eight playlists can have a menu item or hotkey to directly load them.
3. A menu item or hotkey can be assigned to "next" or "previous" playlist (for successively going through playlists). The last loaded playlist state is preserved, even if you exit Pocket Player.
4. The configuration is now a standalone app that can be launched from within Pocket Player or outside Pocket Player (HPConfig.exe). It's written in .Net so you will need at least the 2.0 Compact Framework. Optionally, you can edit the configuration manually in the registry (if you are just one of those people who refuse to install the Compact Framework). HKCU\Software\Conduits\Pocket Player\Plugins\gen_HomePlaylist

To install:
Copy all files in the zip to the \Program Files\Pocket Player folder.

Download:
http://www.avianwaves.com/tech/tools/pocketplayer/gen_homepl aylistV2.zip


----- VERSION 1 -----

I had a need for a simple plugin, so I wrote one! It was fun. The SDK is a bit hard to understand, but using the repeatab plugin as a template, I was able to craft what I needed.

What I wrote is called Home Playlist Plugin. It functions similar to the "home" button on a web browser. You set a playlist as your "home" playlist, then when you select the "Home Playlist" menu item or assign a hotkey to the Home Playlist, that playlist will immediately load!

I have a playlist that contains all my most listened to online radio stations, and this allows me to bring them up immediately.

How to install:
First, download the plugin from http://www.avianwaves.com/tech/tools/pocketplayer/gen_homepl aylist.zip

Second, unzip and copy the DLL to the PocketPlayer folder under Program Files\Conduits

Third, restart PocketPlayer.

How to configure:
Go to Menu->More->Options, then select the Plugins tab. Click on Avian Waves Home Playlist Plugin and select "Configure." Type the path you want to be your playlist into the textbox (sorry, no file browser). You can also manually edit the registry key that stores this path. It's a string value under HKCU\Software\Conduits\Pocket Player\Plugins\gen_HomePlaylist\Path

How to use:
Click on "Menu" and select "Home Playlist"

-or-

Assign a hotkey to "Home Playlist" under Menu->More->Options, in the Buttons tab.
Back to Top View thx1200's Profile Search for other posts by thx1200
 
3May
Beginner
Beginner


Joined: 06 March 2006
Posts: 8
Posted: 10 April 2008 at 9:21am | IP Logged Quote 3May

congratulations on your 1st plugin. what compiler/ platform did you use to build & test it?
Back to Top View 3May's Profile Search for other posts by 3May
 
thx1200
Enthusiast
Enthusiast


Joined: 01 December 2007
Posts: 133
Posted: 10 April 2008 at 2:11pm | IP Logged Quote thx1200

3May wrote:
congratulations on your 1st plugin. what compiler/ platform did you use to build & test it?


I used Visual Studio 2005. I didn't install the WM5 or WM6 SDK since I wanted this to work on older system as well. The project files in the PP SDK are for Visual Studio 6 (I think), so I just ran the upgrade on gen_repeatab to create the VS2005 *.sln file, then took out all the repeatab code, substituted my own, and compiled. Voila! The header files in the PP SDK have a wealth of information, but there are so few comments, it takes a while to figure out what it all means. Luckily Conduits email support was great help in answering questions I had about the SDK. I'm currently working on new plugins. One is a visualization plugin that shows "now playing" information tailored to online radio (that's my thing).
Back to Top View thx1200's Profile Search for other posts by thx1200
 
thx1200
Enthusiast
Enthusiast


Joined: 01 December 2007
Posts: 133
Posted: 10 April 2008 at 2:12pm | IP Logged Quote thx1200

Oh, as for testing, unfortunately, the only way to test that I could fine is old skool "printf debugging." Except instead of printf, I used message boxes. :-) So between each build, I had to copy the DLL to my phone to test it. I could have used the emulator too, but there doesn't appear to be a way to attach the VS debugger to PocketPlayer for truly awesome debugging.
Back to Top View thx1200's Profile Search for other posts by thx1200
 
thx1200
Enthusiast
Enthusiast


Joined: 01 December 2007
Posts: 133
Posted: 06 December 2008 at 8:55pm | IP Logged Quote thx1200

New version! See top post for more details.
Back to Top View thx1200's Profile Search for other posts by thx1200
 
Robrecht
Enthusiast
Enthusiast


Joined: 09 October 2006
Location: Belgium
Posts: 55
Posted: 07 December 2008 at 3:41pm | IP Logged Quote Robrecht

What a great plugin! Good concept and very well executed. I think I'll be using this frequently to switch back to my huge default "shuffle" playlist.

The only thing I'm missing is a way to personalize the names of the home playlists, either by using the name of the selected playlist file automatically, or by letting the user enter it manually in the settings. Do you think you could implement one of these methods?

Thanks!
Back to Top View Robrecht's Profile Search for other posts by Robrecht
 
thx1200
Enthusiast
Enthusiast


Joined: 01 December 2007
Posts: 133
Posted: 07 December 2008 at 3:42pm | IP Logged Quote thx1200

A "version 3" request. :-) Great idea.
Back to Top View thx1200's Profile Search for other posts by thx1200
 
Robrecht
Enthusiast
Enthusiast


Joined: 09 October 2006
Location: Belgium
Posts: 55
Posted: 07 December 2008 at 4:15pm | IP Logged Quote Robrecht

Woohoo! I'm going to love version 3. I know it. :-)

I hope Conduits add it to their plugins download page,
or even better: to Pocket Player's built-in plug ins,
because this is really useful. I think I'll create a
couple more playlists for different situations or moods,
so I can easily switch between them.
Back to Top View Robrecht's Profile Search for other posts by Robrecht
 
thx1200
Enthusiast
Enthusiast


Joined: 01 December 2007
Posts: 133
Posted: 07 December 2008 at 4:27pm | IP Logged Quote thx1200

Added a tip jar to the top post. :-D
Back to Top View thx1200's Profile Search for other posts by thx1200
 
thx1200
Enthusiast
Enthusiast


Joined: 01 December 2007
Posts: 133
Posted: 07 December 2008 at 8:50pm | IP Logged Quote thx1200

Updated to version 3. Added Robrecht's naming the playlist request. :-) Note: this will only work for menu items. I can't rename the buttons because that's how Pocket Player keeps track of which button is which.
Back to Top View thx1200's Profile Search for other posts by thx1200
 

Page of 2 Next >>
  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide
Skin by Mad ASP
© Copyright 2010 Conduits Technologies, Inc. All Rights Reserved.
Big thoughts in small spots.

Conduits develops Pocket PC, Handheld PC and Windows Mobile software
for devices such as the HP iPAQ, Dell Axim, Palm Treo 700w and Pocket PC Phone Edition.
Questions or comments about our website? Let us know.