Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: PLPATHS won't receive any list...

  1. #1
    Low Bitrate fabi1's Avatar
    Join Date
    Nov 2007
    Location
    joyeuse, france
    Posts
    63

    Question 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

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    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."

  3. #3
    Low Bitrate fabi1's Avatar
    Join Date
    Nov 2007
    Location
    joyeuse, france
    Posts
    63
    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!!!

  4. #4
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    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."

  5. #5
    Low Bitrate fabi1's Avatar
    Join Date
    Nov 2007
    Location
    joyeuse, france
    Posts
    63
    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?

  6. #6
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,168
    Blog Entries
    51
    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.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  7. #7
    Low Bitrate fabi1's Avatar
    Join Date
    Nov 2007
    Location
    joyeuse, france
    Posts
    63
    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..

  8. #8
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    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."

  9. #9
    Low Bitrate fabi1's Avatar
    Join Date
    Nov 2007
    Location
    joyeuse, france
    Posts
    63
    [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

  10. #10
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,168
    Blog Entries
    51
    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.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

Page 1 of 3 123 LastLast

Similar Threads

  1. RR compatible hardware list ?
    By jeep642 in forum Road Runner
    Replies: 6
    Last Post: 03-29-2009, 12:05 PM
  2. Odd problem with the browser list.
    By slackervn in forum Road Runner
    Replies: 3
    Last Post: 09-10-2006, 12:38 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •