Results 1 to 5 of 5

Thread: Help with directory list

  1. #1
    Maximum Bitrate ws6vert's Avatar
    Join Date
    Sep 2008
    Location
    Baton Rouge
    Posts
    523

    Help with directory list

    I have a coverflow style flash movie object that I have been working on lately and have begun testing it in my RRskin (Elite Lite). I have created a simple cover_browser.skin that contains the flash object.

    For the flash object, when the selected album is clicked, it sends the command:
    Code:
    fscommand("LIST||SETPATH;"+eo.data.Folder)
    Where eo.data.Folder is the path to the selected album.
    Ex: C:\\Rock\\Metallica\\Metallica\\

    This appears to work perfectly, the audio_browser.skin loads, and the directory list shows the songs within the selected Album. I am able to click the song to play and everything works great. ID3 tags all update correctly, the album's songs all load into the playlist, etc.

    The problem Im having is when I close road runner then re-open, the song does not fade in and resume where it left off. The Label for Artist that is on the menu.skin changes 2 or 3 times displaying the track name until it reaches the last track listed in the playlist, which also has not completely loaded correctly. The Artist label is the only Music label that shows information. The audio_player.skin does not show any information other than the track name in the artist label. Road Runner itself takes noticably longer to execute button clicks, which might indicate that it is trying to do something in the background, not sure. Anyways, it stays like this until I select another song to play, whether it is in the same album or a different one. Once a new song is selected and the playlist is updated with that song's album, RR does not run slow, and all labels work fine.

    Im 99% sure the problem is being caused by the SETPATH command the flash object is defining for the directory list on the Audio_browser.skin. Is the SETPATH command causing the directory list to conflict with the RR.ini designated path when RR is restarted?

    Anyone have any suggestions on how to correct this issue or root cause?

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    do the following:
    -Make a new playlist
    -Make sure it's playing all items correctly
    -Use your function and load songs (just as you described above)
    -Close RR
    -Open Winamp.m3u from the WINAMP folder -- see what's listed in there (and post it if you think it's all good).

    Chances are something is causing the last playlist in winamp not to be saved correctly.
    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
    Maximum Bitrate ws6vert's Avatar
    Join Date
    Sep 2008
    Location
    Baton Rouge
    Posts
    523
    I'll certainly do that and report back. As far as making a new playlist, do you mean load a new playlist by normally selecting an album in the library and having it populate the playlist? Or physically create a new playlist on the fly and load it in by selecting the Load command on the playlist page?




    Quote Originally Posted by guino View Post
    do the following:
    -Make a new playlist
    -Make sure it's playing all items correctly
    -Use your function and load songs (just as you described above)
    -Close RR
    -Open Winamp.m3u from the WINAMP folder -- see what's listed in there (and post it if you think it's all good).

    Chances are something is causing the last playlist in winamp not to be saved correctly.

  4. #4
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    Quote Originally Posted by ws6vert View Post
    I'll certainly do that and report back. As far as making a new playlist, do you mean load a new playlist by normally selecting an album in the library and having it populate the playlist? Or physically create a new playlist on the fly and load it in by selecting the Load command on the playlist page?
    Make a new playlist=make a playlist that works (independent of how)
    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
    Maximum Bitrate ws6vert's Avatar
    Join Date
    Sep 2008
    Location
    Baton Rouge
    Posts
    523
    After following Guino's instructions, I saw that winamp was saving the current playlist song paths in this format:
    Code:
    \\Metallica\\Metallica\The Unforgiven.wma
    As you can see, my flash object was passing the "\\" through to the playlist when it would save, causing it to screw-up when I would close RR then Open it again.

    Solution: I edited the xml that the SWF was reading from to this format:
    Code:
    C:\My Music\Metallica\Metallica\
    and retried everything and it worked perfectly. I guess the "\\" isnt needed when passing string commands from flash to RR. I could of swore I read that it needed \\ somewhere....

    Thank you Guino

Similar Threads

  1. Alignment of the Directory List
    By liquid_smoke in forum RR Bug Tracker
    Replies: 6
    Last Post: 05-07-2006, 08:51 PM
  2. Replies: 4
    Last Post: 05-01-2006, 11:48 AM
  3. Newest Music list not updating properly
    By ninja0n3 in forum Media Engine
    Replies: 2
    Last Post: 04-28-2006, 02:12 PM
  4. Replies: 4
    Last Post: 02-24-2005, 05:35 PM
  5. problem with directory search
    By Farkum in forum FP Bug Reports
    Replies: 2
    Last Post: 02-16-2005, 04:48 AM

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
  •