Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: strange problem with flash and customdl

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

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

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

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

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

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

  8. #8
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,121
    Blog Entries
    51
    are you using flash or swishmax? _labelnum isnt correct variable syntax in swishmax.
    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

  9. #9
    Low Bitrate fabi1's Avatar
    Join Date
    Nov 2007
    Location
    joyeuse, france
    Posts
    63
    using flash, I'm used to always underscore all variables so it won't conflicts with predefined ones.
    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
    Low Bitrate fabi1's Avatar
    Join Date
    Nov 2007
    Location
    joyeuse, france
    Posts
    63
    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
    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

Page 1 of 2 12 LastLast

Similar Threads

  1. CUSTOMDL shows not all files
    By ReflexNPG in forum RR Bug Tracker
    Replies: 0
    Last Post: 11-18-2006, 04:28 PM
  2. Some clarity on variables being sent to flash objects...
    By Sonicxtacy02 in forum Road Runner
    Replies: 7
    Last Post: 10-17-2006, 12:44 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
  •