The MP3car.com Store The MP3car.com Store    

Sponsored links

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

Reply
 
LinkBack Thread Tools Display Modes
Old 11-09-2007, 07:06 PM   #1
Newbie
 
fabi1's Avatar
 
Join Date: Nov 2007
Location: joyeuse, france
Posts: 47
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
fabi1 is offline   Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links

Old 11-11-2007, 08:15 PM   #2
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 8,047
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.
__________________
Road 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."
guino is offline   Reply With Quote
Old 11-12-2007, 03:46 AM   #3
Newbie
 
fabi1's Avatar
 
Join Date: Nov 2007
Location: joyeuse, france
Posts: 47
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!!!

Last edited by fabi1; 11-12-2007 at 08:43 AM.
fabi1 is offline   Reply With Quote
Old 11-12-2007, 01:40 PM   #4
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 8,047
does that mean you got it to work ? :| -- not a flash expert here...
__________________
Road 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."
guino is offline   Reply With Quote
Old 11-12-2007, 04:39 PM   #5
Newbie
 
fabi1's Avatar
 
Join Date: Nov 2007
Location: joyeuse, france
Posts: 47
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?
fabi1 is offline   Reply With Quote
Old 11-12-2007, 06:01 PM   #6
MySQL Error
 
Sonicxtacy02's Avatar
 
Join Date: Sep 2004
Location: Woodbridge, VA
Posts: 5,020
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.
__________________
03 Acura RSX Coupe
a K.I.S.S Flash, VB, and Autoit Programmer
HARDWARE PROGRESS: 90%[/////////-]
Developer of: RRFusion, MovieTimes, (new)RRMail
Coming Soon:RRChrome, RR Plugin Browser & CentraFusion
Sonicxtacy02 is offline   Reply With Quote
Old 11-13-2007, 04:29 AM   #7
Newbie
 
fabi1's Avatar
 
Join Date: Nov 2007
Location: joyeuse, france
Posts: 47
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..

Last edited by fabi1; 11-13-2007 at 05:38 AM.
fabi1 is offline   Reply With Quote
Old 11-13-2007, 05:53 AM   #8
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 8,047
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.
__________________
Road 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."

Last edited by guino; 11-13-2007 at 05:56 AM.
guino is offline   Reply With Quote
Old 11-13-2007, 06:37 AM   #9
Newbie
 
fabi1's Avatar
 
Join Date: Nov 2007
Location: joyeuse, france
Posts: 47
[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
fabi1 is offline   Reply With Quote
Old 11-13-2007, 08:13 AM   #10
MySQL Error
 
Sonicxtacy02's Avatar
 
Join Date: Sep 2004
Location: Woodbridge, VA
Posts: 5,020
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.
__________________
03 Acura RSX Coupe
a K.I.S.S Flash, VB, and Autoit Programmer
HARDWARE PROGRESS: 90%[/////////-]
Developer of: RRFusion, MovieTimes, (new)RRMail
Coming Soon:RRChrome, RR Plugin Browser & CentraFusion
Sonicxtacy02 is offline   Reply With Quote
Old 11-13-2007, 10:16 AM   #11
Newbie
 
fabi1's Avatar
 
Join Date: Nov 2007
Location: joyeuse, france
Posts: 47
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

Last edited by fabi1; 11-13-2007 at 10:35 AM.
fabi1 is offline   Reply With Quote
Old 11-13-2007, 03:36 PM   #12
Newbie
 
fabi1's Avatar
 
Join Date: Nov 2007
Location: joyeuse, france
Posts: 47
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
fabi1 is offline   Reply With Quote
Old 11-13-2007, 05:15 PM   #13
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 8,047
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).
__________________
Road 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."
guino is offline   Reply With Quote
Old 11-13-2007, 05:46 PM   #14
Newbie
 
fabi1's Avatar
 
Join Date: Nov 2007
Location: joyeuse, france
Posts: 47
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

Last edited by fabi1; 11-13-2007 at 06:06 PM.
fabi1 is offline   Reply With Quote
Old 11-14-2007, 02:44 AM   #15
Newbie
 
fabi1's Avatar
 
Join Date: Nov 2007
Location: joyeuse, france
Posts: 47
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

Last edited by fabi1; 11-14-2007 at 02:50 AM.
fabi1 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
Odd problem with the browser list. slackervn Road Runner 3 09-10-2006 12:38 PM
RR compatible hardware list ? jeep642 Road Runner 4 09-08-2006 11:56 PM


All times are GMT -5. The time now is 04:08 PM.


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