|
 |
|
04-24-2007, 10:32 PM
|
#1
|
|
Low Bitrate
Join Date: Jun 2006
Location: Sydney, OZ
Posts: 102
|
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.
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
04-24-2007, 10:53 PM
|
#2
|
|
Variable Bitrate
Join Date: Jun 2006
Posts: 258
|
Sure it will be useful...I be the first one to download and try it out...
|
|
|
04-25-2007, 05:55 AM
|
#3
|
|
Maximum Bitrate
Join Date: Jan 2006
Location: Novara Italy
Posts: 569
|
Good plugin,
can I use it in my skin in a future next release?
__________________
Live today like it is your last day, and behave as though you will live forever...
MapMonkey Dalai skin- preview- download ITA-email me for ENG
Road Runner CrystalBlue skin- preview- beta release
|
|
|
04-25-2007, 07:03 AM
|
#4
|
|
Variable Bitrate
Join Date: Jun 2006
Posts: 258
|
Ya...Dalailama skin is superb....very well done. It will be really great along with this plugin.
|
|
|
04-25-2007, 08:23 AM
|
#5
|
|
Confusion Master
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 10,223
|
****, 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?
|
|
|
04-25-2007, 10:39 AM
|
#6
|
|
Maximum Bitrate
Join Date: Jan 2006
Location: Novara Italy
Posts: 569
|
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?
Thanks, Dalailama.
__________________
Live today like it is your last day, and behave as though you will live forever...
MapMonkey Dalai skin- preview- download ITA-email me for ENG
Road Runner CrystalBlue skin- preview- beta release
|
|
|
04-25-2007, 10:40 AM
|
#7
|
|
FLAC
Join Date: Aug 2006
Location: Sun Diego
Posts: 983
|
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.
|
|
|
04-25-2007, 05:38 PM
|
#8
|
|
Low Bitrate
Join Date: Jun 2006
Location: Sydney, OZ
Posts: 102
|
@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.
Last edited by festy; 04-25-2007 at 06:17 PM.
Reason: fixed typo
|
|
|
04-25-2007, 05:48 PM
|
#9
|
|
Maximum Bitrate
Join Date: Jan 2006
Location: Novara Italy
Posts: 569
|
Quote: Originally Posted by festy 
@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.
Can I add the line
X.Playlist
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.
__________________
Live today like it is your last day, and behave as though you will live forever...
MapMonkey Dalai skin- preview- download ITA-email me for ENG
Road Runner CrystalBlue skin- preview- beta release
|
|
|
04-25-2007, 06:14 PM
|
#10
|
|
Low Bitrate
Join Date: Jun 2006
Location: Sydney, OZ
Posts: 102
|
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
Last edited by festy; 04-25-2007 at 06:17 PM.
|
|
|
04-25-2007, 07:44 PM
|
#11
|
|
Maximum Bitrate
Join Date: Jan 2006
Location: Novara Italy
Posts: 569
|
OK line added.
But there's a strange behaviour:
- PLAYLIST_LABEL shows the current playlist name
- when pressing PLAYLIST_NEXT, PLAYLIST_LABEL change
- when pressing PLAYLIST_USE RR doesn't load the playlist, but in the playlist list of the skin RR moves to the next song.
-If I add a new playlist the plugin doesn't know the changing...I have to restart it...
Can you help?
__________________
Live today like it is your last day, and behave as though you will live forever...
MapMonkey Dalai skin- preview- download ITA-email me for ENG
Road Runner CrystalBlue skin- preview- beta release
Last edited by Dalailama; 04-25-2007 at 07:55 PM.
Reason: wrong button code :p
|
|
|
04-26-2007, 10:22 PM
|
#12
|
|
Variable Bitrate
Join Date: Jun 2006
Posts: 258
|
I tried with three playlist.
Test1.m3u
Test2.m3u
Test3.m3u
The PLAYLIST_LABEL and PLAYLIST_NEXT seems to be working but the PLAYLIST_USE doesn't seems to load Test2.m3u ......Loading Test1 and Test3 is working but only not able to load Test2. Strange
|
|
|
04-27-2007, 04:24 AM
|
#13
|
|
Low Bitrate
Join Date: Jun 2006
Location: Sydney, OZ
Posts: 102
|
It might be that Winamp is taking a little while to pick up the fact it's got a new playlist. Try skipping forward a track or two if it doesn't seem to have loaded it, see if that helps
|
|
|
04-27-2007, 05:58 AM
|
#14
|
|
Variable Bitrate
Join Date: Jun 2006
Posts: 258
|
I tried another thing. What I did is I tried to load each list as mention in previous post #12 using winamp alone and everything is fine. After this I tried to load in RR using this plugin and it won't load test2. Strange thing is I go out of RR and try to load in winamp alone but failed. I'll try to skip forward.
|
|
|
04-28-2007, 02:17 AM
|
#15
|
|
Variable Bitrate
Join Date: Jun 2006
Posts: 258
|
Quote: Originally Posted by festy 
It might be that Winamp is taking a little while to pick up the fact it's got a new playlist. Try skipping forward a track or two if it doesn't seem to have loaded it, see if that helps
Tried it...didn't work. The songs couldn't be played...
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:28 AM.
| |