The MP3car.com Store The MP3car.com Store    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner > RR Plugins

Reply
 
LinkBack Thread Tools Display Modes
Old 04-24-2007, 10:32 PM   #1
Low Bitrate
 
festy's Avatar
 
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.
Attached Files
File Type: zip Playlist.zip (12.4 KB, 94 views)
festy is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 04-24-2007, 10:53 PM   #2
Variable Bitrate
 
nemo1's Avatar
 
Join Date: Jun 2006
Posts: 258
Sure it will be useful...I be the first one to download and try it out...
nemo1 is offline   Reply With Quote
Old 04-25-2007, 05:55 AM   #3
Maximum Bitrate
 
Dalailama's Avatar
 
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
Dalailama is offline   Reply With Quote
Old 04-25-2007, 07:03 AM   #4
Variable Bitrate
 
nemo1's Avatar
 
Join Date: Jun 2006
Posts: 258
Ya...Dalailama skin is superb....very well done. It will be really great along with this plugin.
nemo1 is offline   Reply With Quote
Old 04-25-2007, 08:23 AM   #5
Confusion Master
 
Enforcer's Avatar
 
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?

Enforcer is offline   Reply With Quote
Old 04-25-2007, 10:39 AM   #6
Maximum Bitrate
 
Dalailama's Avatar
 
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
Dalailama is offline   Reply With Quote
Old 04-25-2007, 10:40 AM   #7
FLAC
 
Sal R.'s Avatar
 
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.
Sal R. is offline   Reply With Quote
Old 04-25-2007, 05:38 PM   #8
Low Bitrate
 
festy's Avatar
 
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
festy is offline   Reply With Quote
Old 04-25-2007, 05:48 PM   #9
Maximum Bitrate
 
Dalailama's Avatar
 
Join Date: Jan 2006
Location: Novara Italy
Posts: 569
Quote: Originally Posted by festy View Post
@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
Dalailama is offline   Reply With Quote
Old 04-25-2007, 06:14 PM   #10
Low Bitrate
 
festy's Avatar
 
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.
festy is offline   Reply With Quote
Old 04-25-2007, 07:44 PM   #11
Maximum Bitrate
 
Dalailama's Avatar
 
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
Dalailama is offline   Reply With Quote
Old 04-26-2007, 10:22 PM   #12
Variable Bitrate
 
nemo1's Avatar
 
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
nemo1 is offline   Reply With Quote
Old 04-27-2007, 04:24 AM   #13
Low Bitrate
 
festy's Avatar
 
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
festy is offline   Reply With Quote
Old 04-27-2007, 05:58 AM   #14
Variable Bitrate
 
nemo1's Avatar
 
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.
nemo1 is offline   Reply With Quote
Old 04-28-2007, 02:17 AM   #15
Variable Bitrate
 
nemo1's Avatar
 
Join Date: Jun 2006
Posts: 258
Quote: Originally Posted by festy View Post
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...
nemo1 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IRMAN plugin knyarko StreetDeck 3 01-05-2007 08:26 PM
How About...A Virtual CD Changer chuckster Road Runner 30 09-30-2006 11:16 AM
Remote Playlist Manager for Frodoplayer - 1.0 Beta 1 PatO Software & Software Development 6 03-17-2005 01:58 AM
is there a winamp plugin/ playlist maker that automatically sorts? Ben Allen Software & Software Development 7 07-26-2001 05:53 PM
winamp playlist plugin for tft nyconx Software & Software Development 3 03-09-2001 01:23 AM


All times are GMT -5. The time now is 11:28 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics