|
 |
|
11-23-2007, 09:17 AM
|
#1
|
|
Newbie
Join Date: Nov 2007
Location: joyeuse, france
Posts: 47
|
strange problem with flash and customdl
Hello,
Customdl some day works and the next day doesn't.
Here is what happens and the procedure:
the first list (default music dir) always appears fine. I have 6 dirs.
The click on a dir does i.e: (fscommand:"setlist;3",""), then a loop verify setlist has done its job with ancient and new LISTPOS variable. So far everything is fine, setlist seems to have done its job.
Then, I have 3 options:
Open the dir fscommand("FLASHBROWSE",""). Here a loop verify new list is received with ancient and new CUSTOMDL; There is a timeout of 2000 frames, then it comes back to default music dir with a (fscommand:"SETPATH;blablabla","") which is working fine too.
Play dir fscommand("!SELECT", ""); which appears to load all music dir in winamp (with all metadatas it take ages), so it doesn't seem to have taken setlist function in account.
//////////// As I'm writing this message, everything is back working fine with no slightest change of my source///////
Add dir fscommand("add1","") didn't have time to test.
Anyway, something's strange with all this.
Restarting windows doesn't do anything about it. I even checked the hard drive which seems to be in good working order, has 6G left (160g) and open dirs fast in explorer.
Anybody have this same problem?
thanks.
Last edited by fabi1; 11-23-2007 at 09:26 AM.
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
11-23-2007, 10:01 AM
|
#2
|
|
RoadRunner Mastermind
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 8,047
|
!SELECT will try to go into a folder and then add all songs from the list... an alternative would be to execute "CLEARLIST||ADD1||PLAY" .. which should give you similar results.
If anything, I'd suggest making the playlist visible, and add some delays so you can SEE what's going on on each step. The other thing you can do is try a fscommand("waitexec"); to wait for the previous issued commands to be executed before sending any other commands.
__________________
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."
|
|
|
11-23-2007, 03:35 PM
|
#3
|
|
Newbie
Join Date: Nov 2007
Location: joyeuse, france
Posts: 47
|
Each variable polled from rr is checked by loop. I usually use flash with php which requires the same checking routine.
When fine everything is working perfectly.
Might be something with my explorer or so. Anyway, working great now.
thanks for the answer.
|
|
|
11-24-2007, 04:14 AM
|
#4
|
|
Newbie
Join Date: Nov 2007
Location: joyeuse, france
Posts: 47
|
Finally looks like when setlist is requested, LISTPOS would change, but FLASHBROWSE wouldn't take it in account sometimes.
By now using a fs: SETLIST;blabla||FLASHBROWSE. Everything is perfect, rr is doing its job independently.
Always works better using the rr way...
Thanks for answers.
|
|
|
11-24-2007, 08:53 AM
|
#5
|
|
Newbie
Join Date: Nov 2007
Location: joyeuse, france
Posts: 47
|
FINALLY:
Seems like when I use winamp291 everything's faster and easier. But I can't get album name on the playlist.
I have tried all kinds of combination with tags in rrconfig. Still can't get them.
Is there a way to get album name in playlist with winamp291?
|
|
|
11-26-2007, 10:24 AM
|
#6
|
|
Newbie
Join Date: Nov 2007
Location: joyeuse, france
Posts: 47
|
Some news about this situation:
Winamp may not be the cause for all this( I don't now why it would affect dir browsing anyway).
I'm still finding it strange though, it is still an inconsistent behavior.
What the codes look like now: _labelnum = selected item number)
fs = "SETLIST;"+_labelnum+"||WAITEXEC||FLASHBROWSE" ;
fscommand(fs, "");
I also tried in different commands like: fscommand("setlist"); fscommand("waitexec") etc...
but I don't really understand how,in this case, flash is told to wait for setlist result in order to send the flashbrowse command.
Anyway, Is the first command I sent to long? I'm almost completely sure every variable and command is checked inside flash project, and _labelnum is 100% what it is supposed to be.Still stuck with this.
Last edited by fabi1; 11-26-2007 at 10:28 AM.
|
|
|
11-26-2007, 02:54 PM
|
#7
|
|
RoadRunner Mastermind
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 8,047
|
whenever you use waitexec you MUST use it separately or it won't have any effect.
fscommand("setlist;"+_labenum); fscommand("waitexec"); fscommand("flashbrowse"); should work as long as setlist has a valid number as parameter. You should check the debug log to see what it's executing -- though, you will not see waitexec in the debug.. if you do, then there's something else wrong.
__________________
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."
|
|
|
11-26-2007, 03:44 PM
|
#8
|
|
MySQL Error
Join Date: Sep 2004
Location: Woodbridge, VA
Posts: 5,019
|
are you using flash or swishmax? _labelnum isnt correct variable syntax in swishmax.
__________________
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
|
|
|
11-26-2007, 04:27 PM
|
#9
|
|
Newbie
Join Date: Nov 2007
Location: joyeuse, france
Posts: 47
|
using flash, I'm used to always underscore all variables so it won't conflicts with predefined ones.
Last edited by fabi1; 11-26-2007 at 04:30 PM.
|
|
|
11-26-2007, 04:32 PM
|
#10
|
|
Newbie
Join Date: Nov 2007
Location: joyeuse, france
Posts: 47
|
so here is what we have:
the button:
on (release) {
_parent._parent._parent._check = _root.CUSTOMDL;
//fs = "SETLIST;"+_labelnum+"||WAITEXEC||FLASHBROWSE" ;
fscommand("SETLIST;3", "");
fscommand("WAITEXEC");
fscommand("FLASHBROWSE");
_parent._parent._parent.folder += _label+"/";
_root._firstlisting = 0;
_parent._parent._parent.gotoAndPlay(2);
}
the debug:
26/11/2007 23:27:59: Start -- Version: 01/11/2007
26/11/2007 23:27:59: Master Vol: Master Volume/4
26/11/2007 23:27:59: GetLineControl Failed: 401
26/11/2007 23:27:59: No Treble Support
26/11/2007 23:27:59: GetLineControl Failed: 401
26/11/2007 23:27:59: No Bass Support
26/11/2007 23:27:59: Source: Wave=&H1008/1
26/11/2007 23:27:59: Source: SPDIF=&H1000/2
26/11/2007 23:27:59: Source: MIDI=&H1004/3
26/11/2007 23:27:59: Source: Aux=&H100A/4
26/11/2007 23:27:59: Source: Video=&H100A/5
26/11/2007 23:27:59: GetLineControl Failed: 401
26/11/2007 23:27:59: Can't Open Source
26/11/2007 23:27:59: GetLineControl Failed: 401
26/11/2007 23:27:59: No Mute for Source
26/11/2007 23:27:59: Source: CD Audio=&H1005/6
26/11/2007 23:27:59: Source: Line In=&H1002/7
26/11/2007 23:27:59: Source: Microphone=&H1003/8
26/11/2007 23:27:59: Source: Phone=&H1006/9
26/11/2007 23:27:59: GetLineControl Failed: 401
26/11/2007 23:27:59: Can't Open Source
26/11/2007 23:27:59: GetLineControl Failed: 401
26/11/2007 23:27:59: No Mute for Source
26/11/2007 23:27:59: Source: PC Speaker=&H100A/10
26/11/2007 23:27:59: GetLineControl Failed: 401
26/11/2007 23:27:59: Can't Open Source
26/11/2007 23:27:59: GetLineControl Failed: 401
26/11/2007 23:27:59: No Mute for Source
26/11/2007 23:28:02: ERROR loading image file(s) for: menu.skin
26/11/2007 23:28:02: Sim.WMSGs: 1
26/11/2007 23:28:02: Enter Exec: Faux, menu.skin, , Faux
26/11/2007 23:28:02: Que Exec: Vrai, menu.skin, "ONSKINSTART", Faux
26/11/2007 23:28:02: Executing: ONSKINSTART
26/11/2007 23:28:02: Leave Exec: Faux, menu.skin, ONSKINSTART, Faux
26/11/2007 23:28:13: Sim.WMSGs: 1
26/11/2007 23:28:13: Sim.WMSGs: 1
26/11/2007 23:28:13: Enter Exec: Faux, menu.skin, , Faux
26/11/2007 23:28:13: Que Exec: Vrai, menu.skin, "ONSONGSTART", Faux
26/11/2007 23:28:13: Executing: ONSONGSTART
26/11/2007 23:28:13: Que Exec: Vrai, menu.skin, "SETVAR;GOTO;pl", Faux
26/11/2007 23:28:13: Executing: SETVAR;GOTO;pl
26/11/2007 23:28:13: Leave Exec: Faux, menu.skin, SETVAR;GOTO;pl, Faux
26/11/2007 23:28:13: Sim.WMSGs: 1
26/11/2007 23:28:14: Sim.WMSGs: 1
26/11/2007 23:28:14: Enter Exec: Faux, menu.skin, , Faux
26/11/2007 23:28:14: Que Exec: Vrai, menu.skin, "LIST", Faux
26/11/2007 23:28:14: Executing: LIST
26/11/2007 23:28:23: Sim.WMSGs: 1
26/11/2007 23:28:23: Enter Exec: Vrai, audio_browser.skin, , Faux
26/11/2007 23:28:23: Sim.WMSGs: 1
26/11/2007 23:28:24: Que Exec: Vrai, audio_browser.skin, "setflashvar;goto;$goto$", Faux
26/11/2007 23:28:24: Executing: setflashvar;goto;pl
26/11/2007 23:28:24: Leave Exec: Faux, audio_browser.skin, setflashvar;goto;pl, Faux
26/11/2007 23:28:38: Enter Exec: Faux, audio_browser.skin, , Faux
26/11/2007 23:28:38: Que Exec: Vrai, audio_browser.skin, "FLASHBROWSE", Faux
26/11/2007 23:28:38: Executing: FLASHBROWSE
26/11/2007 23:28:38: Leave Exec: Faux, audio_browser.skin, FLASHBROWSE, Faux
26/11/2007 23:28:55: Enter Exec: Faux, audio_browser.skin, , Faux
26/11/2007 23:28:55: Que Exec: Vrai, audio_browser.skin, "QUIT", Faux
26/11/2007 23:28:55: Executing: SendMsg;RRCDRip;showplugin
26/11/2007 23:28:55: Que Exec: Vrai, audio_browser.skin, "bye", Faux
26/11/2007 23:28:55: Executing: QUIT
26/11/2007 23:28:55: Shutdown
|
|
|
11-27-2007, 06:53 AM
|
#11
|
|
RoadRunner Mastermind
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 8,047
|
From your log, you can see setlist is not executing for some reason... try a different command, try sending it twice.. I don't know.. something is not right in there, maybe that comment above it is including the line you have the setlist...
__________________
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."
|
|
|
11-27-2007, 08:51 AM
|
#12
|
|
Newbie
Join Date: Nov 2007
Location: joyeuse, france
Posts: 47
|
SETLIST IS WORKING. BECAUSE LISTPOS updates, right? So FLASHBROWSE would be the problem? on my textfield displaying CUSTOMDL, nothing changes (a flash textfield updates automatically).
Last edited by fabi1; 11-27-2007 at 10:43 AM.
|
|
|
11-27-2007, 10:55 AM
|
#13
|
|
Newbie
Join Date: Nov 2007
Location: joyeuse, france
Posts: 47
|
New strategy:
first button setlist
second button FLASHBROWSE
here is the debug:
27/11/2007 17:52:44: Start -- Version: 01/11/2007
27/11/2007 17:52:44: Master Vol: Master Volume/4
27/11/2007 17:52:44: GetLineControl Failed: 401
27/11/2007 17:52:44: No Treble Support
27/11/2007 17:52:44: GetLineControl Failed: 401
27/11/2007 17:52:44: No Bass Support
27/11/2007 17:52:44: Source: Wave=&H1008/1
27/11/2007 17:52:44: Source: SPDIF=&H1000/2
27/11/2007 17:52:44: Source: MIDI=&H1004/3
27/11/2007 17:52:44: Source: Aux=&H100A/4
27/11/2007 17:52:44: Source: Video=&H100A/5
27/11/2007 17:52:44: GetLineControl Failed: 401
27/11/2007 17:52:44: Can't Open Source
27/11/2007 17:52:44: GetLineControl Failed: 401
27/11/2007 17:52:44: No Mute for Source
27/11/2007 17:52:44: Source: CD Audio=&H1005/6
27/11/2007 17:52:44: Source: Line In=&H1002/7
27/11/2007 17:52:44: Source: Microphone=&H1003/8
27/11/2007 17:52:44: Source: Phone=&H1006/9
27/11/2007 17:52:44: GetLineControl Failed: 401
27/11/2007 17:52:44: Can't Open Source
27/11/2007 17:52:44: GetLineControl Failed: 401
27/11/2007 17:52:44: No Mute for Source
27/11/2007 17:52:44: Source: PC Speaker=&H100A/10
27/11/2007 17:52:44: GetLineControl Failed: 401
27/11/2007 17:52:44: Can't Open Source
27/11/2007 17:52:44: GetLineControl Failed: 401
27/11/2007 17:52:44: No Mute for Source
27/11/2007 17:52:45: ERROR loading image file(s) for: menu.skin
27/11/2007 17:52:45: Sim.WMSGs: 1
27/11/2007 17:52:45: Enter Exec: Faux, menu.skin, , Faux
27/11/2007 17:52:45: Que Exec: Vrai, menu.skin, "ONSKINSTART", Faux
27/11/2007 17:52:45: Executing: ONSKINSTART
27/11/2007 17:52:45: Leave Exec: Faux, menu.skin, ONSKINSTART, Faux
27/11/2007 17:52:51: Sim.WMSGs: 1
27/11/2007 17:52:51: Sim.WMSGs: 1
27/11/2007 17:52:51: Enter Exec: Faux, menu.skin, , Faux
27/11/2007 17:52:51: Que Exec: Vrai, menu.skin, "ONSONGSTART", Faux
27/11/2007 17:52:51: Executing: ONSONGSTART
27/11/2007 17:52:51: Que Exec: Vrai, menu.skin, "SETVAR;GOTO;pl", Faux
27/11/2007 17:52:51: Executing: SETVAR;GOTO;pl
27/11/2007 17:52:51: Leave Exec: Faux, menu.skin, SETVAR;GOTO;pl, Faux
27/11/2007 17:52:52: Sim.WMSGs: 1
27/11/2007 17:52:52: Enter Exec: Faux, menu.skin, , Faux
27/11/2007 17:52:52: Que Exec: Vrai, menu.skin, "LIST", Faux
27/11/2007 17:52:52: Executing: LIST
27/11/2007 17:52:58: Sim.WMSGs: 1
27/11/2007 17:52:58: Enter Exec: Vrai, audio_browser.skin, , Faux
27/11/2007 17:52:58: Sim.WMSGs: 1
27/11/2007 17:52:59: Sim.WMSGs: 1
27/11/2007 17:52:59: Que Exec: Vrai, audio_browser.skin, "setflashvar;goto;$goto$", Faux
27/11/2007 17:52:59: Executing: setflashvar;goto;pl
27/11/2007 17:52:59: Leave Exec: Faux, audio_browser.skin, setflashvar;goto;pl, Faux
27/11/2007 17:53:15: Enter Exec: Faux, audio_browser.skin, , Faux
27/11/2007 17:53:15: Que Exec: Vrai, audio_browser.skin, "SETLIST;2", Faux
27/11/2007 17:53:15: Executing: SETLIST;2
27/11/2007 17:53:15: Leave Exec: Faux, audio_browser.skin, SETLIST;2, Faux
27/11/2007 17:53:16: Enter Exec: Faux, audio_browser.skin, , Faux
27/11/2007 17:53:16: Que Exec: Vrai, audio_browser.skin, "BROWSE", Faux
27/11/2007 17:53:16: Executing: BROWSE
27/11/2007 17:53:16: Leave Exec: Faux, audio_browser.skin, BROWSE, Faux
27/11/2007 17:53:30: Enter Exec: Faux, audio_browser.skin, , Faux
27/11/2007 17:53:30: Que Exec: Vrai, audio_browser.skin, "QUIT", Faux
27/11/2007 17:53:30: Executing: SendMsg;RRCDRip;showplugin
27/11/2007 17:53:30: Que Exec: Vrai, audio_browser.skin, "bye", Faux
27/11/2007 17:53:30: Executing: QUIT
27/11/2007 17:53:31: Shutdown
I'm surprised to see "faux" and "vrai" statements. Did you choose to display it in french?
|
|
|
11-27-2007, 12:15 PM
|
#14
|
|
Newbie
Join Date: Nov 2007
Location: joyeuse, france
Posts: 47
|
I just reboot and it's working fine now.
I really don't know what could prevent setlist OR flashbrowse to succeed.
I'm running xp64, maybe this could be the issue; but usually no problem with it, just running or not running.
So it might work fine when it is on the carpc.
Could you try the skin for me and tell me if it works on your machine?
Last edited by fabi1; 11-27-2007 at 12:34 PM.
|
|
|
11-27-2007, 03:29 PM
|
#15
|
|
RoadRunner Mastermind
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 8,047
|
send me the screen/skin and I'll try it sure...
PS: The french stuff is a VB localized thing.
__________________
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."
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:58 PM.
| |