Announcement

Collapse
No announcement yet.

PLPATHS won't receive any list...

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

  • PLPATHS won't receive any list...

    Hello,

    Playing around a little with rr and flash, I can't get PLPATHS to display anything.
    First is it supposed to give paths to all songs present in the playlist?
    Secondly, I can't find any label related to it to mention in the *.skin file.

    Does anyone know how to use it properly?

    Thanks
    Flash skin progress: ...50%
    Car restoring progress: ... As seen on picture ;)
    My music:
    http://www.jamendo.com/en/album/6933/
    My job:
    http://www.fa-b.net

  • #2
    This is a variable available only from FLASH -- fscommands("GETPLPATHS"); and it will set _root.PLPATHS in the flash object with the paths of all files in the playlist. If you need the paths of the playlist from RR to use in a script or application, you should send a command to save the playlist from RR and read the file directly. If it's not working from Flash, do let me know... or tell me what you're trying to do and I'll try to help on it.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

    Comment


    • #3
      Hello grandmaster,
      And first, my congratulations for this impressing work so easy to use and efficient!!!!
      So I tried to pick the PLPATHS from flash with fs: getplpath, actally the same way I used customdl or pl. But I didn't get any list.
      What I want is all the paths from the playlist, so I can use data from the folder to compliment the playlist data.
      I had no problem so far to use all flash features you made... And I was surprised there was no mention to "PLPATHS" in the *.skin file, as all other variables. ahhhh... And also, I'm trying to reach this data from the "menu.skin" flash movies (but playlist works perfectly on this screen).
      Code:

      frame 1:
      _start=0;
      CUSTOMPL="";
      PLPATHS="";
      folder="musique/"
      fscommand("GETPL","");


      frame2:
      fscommand("GETPLPATHS","");
      Stop();

      On this frame, I have a textfield "(PLPATHS") for testing which doesn't display anything. My playlist is not empty.

      Voilą.
      Thanks for your time, enjoy your journey!!!
      Flash skin progress: ...50%
      Car restoring progress: ... As seen on picture ;)
      My music:
      http://www.jamendo.com/en/album/6933/
      My job:
      http://www.fa-b.net

      Comment


      • #4
        does that mean you got it to work ? :| -- not a flash expert here...
        Ride Runner RR's Myspace

        "Being happy is not about having what you want, it's about wanting what you have."
        "The best things in life are always free - but that doesn't mean money can't buy you good things."

        Comment


        • #5
          ahh sorry, no, it doesn't receive anything. I do it the same way as all other variables though. I would say it doesn't work. Do you know of anyone who's used it?
          Flash skin progress: ...50%
          Car restoring progress: ... As seen on picture ;)
          My music:
          http://www.jamendo.com/en/album/6933/
          My job:
          http://www.fa-b.net

          Comment


          • #6
            make sure you have a playlist (S) line in your .skin file.. and make sure that the height and the width are defined as greater than zero. I use the PLPATHS variable so i know that it works.
            mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
            Follow Me on Twitter or Facebook
            Live mp3Car Facebook Chat

            Comment


            • #7
              hI SONIC,
              Thanks for your help. Even though I was quite surprised the size of the text field could affect the polling of a variable, I tried it, with no result.
              I have no problem polling custompl or customdl using the GET function from flash. I thought this would work the same.

              here's my menu.skin:
              MEDIACAR Skin
              MEDIACAR menumenu Skin
              fond.jpg,fond.jpg,fond.jpg,fond.jpg

              /, F, x, y, w, h, Movie name

              F1,65,119,735,481,"vus.swf",SOLID
              F2,0,118,65,480,"side.swf",SOLID
              F3,0,0,800,119,"top.swf",SOLID


              /,x,y,w,h FORE BACK PLAYED SELECTED SELECT FONT
              S,0,0,10,10,255,255,255,255,255,255,255,255,255,25 5,255,255,255,255,255,false,16,"arial"


              /, C, x, y, w, h, color R;RGB, G, B

              C,351,70,179,40,000,000,000


              /, I, x, y, w, h, Code;INDICATORCODES

              I,0,0,0,0,"MASTERMUTE"
              I,0,0,0,0,"REPEAT"
              I,0,0,0,0,"SHUFFLE"


              /, L, x, y, w, h, color R;RGB, G, B, font size;FONT, font name, Code;LABELCODES,

              L,0,0,0,0,0,0,0,0,"arial","CUSTOMPL",
              L,0,0,0,0,0,0,0,0,"arial","LISTPOS",
              L,0,0,0,0,0,0,0,0,"arial","SONGPOS",
              L,0,0,0,0,0,0,0,0,"arial","PLAYLISTCOUNT,
              L,0,0,0,0,0,0,0,0,"arial","PLPOS",
              L,0,0,0,0,0,0,0,0,"arial","TRACKPATH",
              L,0,0,0,0,0,0,0,0,"arial","GPSSPD",
              L,0,0,0,0,0,0,0,0,"arial","GPSSAT",
              L,0,0,0,0,0,0,0,0,"arial","GPSHDG",
              L,0,0,0,0,0,0,0,0,"arial","RRSCREEN",


              END


              Again, if I poll PLAYLIST on this screen, I have no problem getting the list in flash

              Anyone?
              Thanks.

              P.S: Not a flash guru, but I've been in this business for a while now, so no chance for an error like text same color as background etc etc..
              Flash skin progress: ...50%
              Car restoring progress: ... As seen on picture ;)
              My music:
              http://www.jamendo.com/en/album/6933/
              My job:
              http://www.fa-b.net

              Comment


              • #8
                With the above you should receive _root.CUSTOMPL automatically from RR. PLPATHS is NOT automatic though, you MUST execute fscommand("GETPLPATHS"); whenever CUSTOMPL has been updated for instance, or prior to your work with the playlist path list. If you only need the path for a few items of the list, I suggest you poll the "TRACKPATHXXX" label code instead.
                Ride Runner RR's Myspace

                "Being happy is not about having what you want, it's about wanting what you have."
                "The best things in life are always free - but that doesn't mean money can't buy you good things."

                Comment


                • #9
                  [quote=fabi1;1140693]
                  frame 1:
                  _start=0;
                  CUSTOMPL="";
                  PLPATHS="";
                  folder="musique/"
                  fscommand("GETPL","");


                  frame2:
                  fscommand("GETPLPATHS","");
                  Stop();



                  I'll have try with PATHXXX which actually would seem to be more efficient as i only want the visible paths.

                  Thank you anyway for your time
                  Flash skin progress: ...50%
                  Car restoring progress: ... As seen on picture ;)
                  My music:
                  http://www.jamendo.com/en/album/6933/
                  My job:
                  http://www.fa-b.net

                  Comment


                  • #10
                    i know u plan on trying something different but this is an fyi... There's NO way your first GETPL command fires fast enough to do the next command on the very next frame. I would either wait a full second or use a WAITEXEC command after your GETPL.
                    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
                    Follow Me on Twitter or Facebook
                    Live mp3Car Facebook Chat

                    Comment


                    • #11
                      SONIC: I call first frame then there is a loop to verify the data is here or updated. And a textfield updates automatically anyway.
                      I tried:
                      TRACKPATH: working
                      TRACKPATHXXX: not working (can someone explain this: (i.e. TRACKPATH0 / TRACKPATH100 = 1st/100th item)
                      LISTPOS: working
                      LISTPOSXXXTRACKPATH: not working

                      For all those tests, all variables are stated in the *.skin, I just replace in flash the textfield's variable
                      I.E: TRACKPATH2, LISTPOS2TRACKPATH etc.
                      So I figure anytime I put a number to state a position, nothing comes back.

                      Start of a :"oh fabien you forgot THIS!!!" ????... Or not.
                      flash swf: v.9 (problems with this version?)


                      Thank you both for your help.
                      Flash skin progress: ...50%
                      Car restoring progress: ... As seen on picture ;)
                      My music:
                      http://www.jamendo.com/en/album/6933/
                      My job:
                      http://www.fa-b.net

                      Comment


                      • #12
                        Sonic: What would you say is different between polling a playlist, or a plpaths list?
                        Flash skin progress: ...50%
                        Car restoring progress: ... As seen on picture ;)
                        My music:
                        http://www.jamendo.com/en/album/6933/
                        My job:
                        http://www.fa-b.net

                        Comment


                        • #13
                          1-the format of PLPATHS and CUSTOMPL is different and one has paths, the other has the items as they'd be displayed.

                          2-Can you verify the version of RR you're using ?
                          TRACKPATH2 and LISTPOS2TRACHPATH should both work as long as you have enough items in the playlist (And you're running a version of RR that supports those label codes).
                          Ride Runner RR's Myspace

                          "Being happy is not about having what you want, it's about wanting what you have."
                          "The best things in life are always free - but that doesn't mean money can't buy you good things."

                          Comment


                          • #14
                            1. I was talking about the difference in polling the variable. Sorry my english might be hard to understand maybe...

                            2.I'm running latest version (2/11), the only one I ever installed. I found everything in the skin commands file.

                            I have no problem polling anything except "XXX" variables and PLPATHS. Strange.

                            I have to put "L,0,0,0,0,0,0,0,0,"arial","TRACKPATHXXX"," in the.skin file
                            And then I just call TRACKPATH2 from flash to get playlist 2nd track's path.
                            Is that right?

                            And also would it be possible to call the tag from a file? i.e I'm displaying u2 album and I poll the first track file to get the tags and add extra info to the album description.

                            Sorry, maybe I'm getting out of the post.
                            Flash skin progress: ...50%
                            Car restoring progress: ... As seen on picture ;)
                            My music:
                            http://www.jamendo.com/en/album/6933/
                            My job:
                            http://www.fa-b.net

                            Comment


                            • #15
                              If I put TRACKPATHXXX (I mean with nothing instead of XXX) on a textfield in flash (see how desperate I am), I get the path of the first track in the playlist whatever track is currently playing. I don't know if it means something.
                              Isn't there an option in rr config or winamp that could prevent those variables to be polled???
                              I'm getting really stuck here, please anyone help
                              Flash skin progress: ...50%
                              Car restoring progress: ... As seen on picture ;)
                              My music:
                              http://www.jamendo.com/en/album/6933/
                              My job:
                              http://www.fa-b.net

                              Comment

                              Working...
                              X