Announcement

Collapse
No announcement yet.

strange problem with flash and customdl

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

  • 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
    !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."

    Comment


    • #3
      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

      Comment


      • #4
        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

        Comment


        • #5
          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

          Comment


          • #6
            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

            Comment


            • #7
              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."

              Comment


              • #8
                are you using flash or swishmax? _labelnum isnt correct variable syntax in swishmax.
                mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
                Follow Me on Twitter or Facebook
                Live mp3Car Facebook Chat

                Comment


                • #9
                  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

                  Comment


                  • #10
                    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

                    Comment


                    • #11
                      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...
                      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


                      • #12
                        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).
                        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
                          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?
                          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


                          • #14
                            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?
                            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
                              send me the screen/skin and I'll try it sure...

                              PS: The french stuff is a VB localized thing.
                              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

                              Working...
                              X