Playlist manager plugin
Here's a little RR extension plugin I wrote to switch between multiple playlists - one for when I'm by myself, one for my kids, one for my wife etc.
I don't know if it's of any use to anyone else, but I'll post it anyway...
It implements 2 buttons -
PLAYLIST_NEXT - for scrolling through the list of playlists
PLAYLIST_USE - to use the currently selected playlist
and a label -
PLAYLIST_LABEL - which contains the name of the selected playlist.
Playlists are read from the 'Playlists' folder in the same folder as the playlist.dll. To add a playlist, either save a .m3u playlist into that folder, or just create a blank file and give it a .m3u extenstion. It will appear as a blank playlist, then you can load some songs and populate it.
When a new playlist is loaded, the currently active playlist is saved to the last-loaded playlist, and the new one is loaded.
Sure it will be useful...I be the first one to download and try it out... :lol:
can I use it in my skin in a future next release?
Ya...Dalailama skin is superb....very well done. It will be really great along with this plugin.
****, another plugin to add to my skin.
I wish people would stop making plugins, it's hard enough coping with all the extra bits when Guino does a new release.
BTW, how many people have tested my new plugin?
I'm trying your plugin, but it doesn't seems to work for me...
...I copyed the Playlist folder in Road Runner folder, where the playlist.dll is,
then registered the dll with REGSVR32.
In the skin the LABEL doesn't appear and when pressing the two buttons nothing happens.
Problably I'm doing something wrong :(
Can you help me please?
PS:Have you ever thought at PLAYLIST_PREVIOUS button?
So, am I doing this right?
I've DL'ed the attached zip and put the files in the same folder as my playlist folder (C:\My Playlists) and reg'd the playlist.dll. This is the same path called out in rr.ini
I tried to use the "PLAYLIST_USE" button, but nothing happens.
@Dalailama - Did you add 'X,Playlist' to menu.skin? I didn't add a previous button because I only need 3 playlists so it's just as easy to cycle through the list, but can easilly add one if you want it.
@Sal R. - same deal about the X,Playlist directive - also, the plugin needs a folder called 'Playlists' - if it's not there, it won't work at all.
If you turn on RR's debugging, you should see Playlist sending a request for RRPATH on startup - if you're not seeing that, then the plugin isn't being loaded.
Can I add the line
Originally Posted by festy
where I want in the .skin file?
Why in the menu.skin? Do you mean the <skin in which you want to add the buttons>.skin?
...and yes I'd like to have the previous_playlist button, please.
Thanks very much.
Put it in the menu.skin, that's where all plugins should be loaded from. Doesn't matter where in the file - I keep my X lines at the bottom.
Once the plugin is loaded from menu.skin, you can use the buttons/labels on any screen. Don't add the X line to any other .skin except menu.skin or you'll get really wierd problems from loading the plugin more than once.
Edit - it's X,Playlist (comma, not period) - looks like I made a typo before sorry