Announcement

Collapse
No announcement yet.

Playlist manager plugin

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    Sure it will be useful...I be the first one to download and try it out...

    Comment


    • #3
      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...

      my WEBSITE

      MapMonkey Dalai skin-preview-download ITA-email me for ENG
      Road Runner CrystalBlue skin-preview-beta release

      Comment


      • #4
        Ya...Dalailama skin is superb....very well done. It will be really great along with this plugin.

        Comment


        • #5
          ****, 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?

          Comment


          • #6
            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...

            my WEBSITE

            MapMonkey Dalai skin-preview-download ITA-email me for ENG
            Road Runner CrystalBlue skin-preview-beta release

            Comment


            • #7
              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.
              Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

              Comment


              • #8
                @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.

                Comment


                • #9
                  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...

                  my WEBSITE

                  MapMonkey Dalai skin-preview-download ITA-email me for ENG
                  Road Runner CrystalBlue skin-preview-beta release

                  Comment


                  • #10
                    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

                    Comment


                    • #11
                      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...

                      my WEBSITE

                      MapMonkey Dalai skin-preview-download ITA-email me for ENG
                      Road Runner CrystalBlue skin-preview-beta release

                      Comment


                      • #12
                        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

                        Comment


                        • #13
                          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

                          Comment


                          • #14
                            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.

                            Comment


                            • #15
                              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...

                              Comment

                              Working...
                              X