Results 1 to 4 of 4

Thread: ListView/AlbumArt view browsing

  1. #1
    Maximum Bitrate Jarrod's Avatar
    Join Date
    Jan 2002
    Location
    Melb, Australia.
    Posts
    475

    ListView/AlbumArt view browsing

    I am trying to make a button on my skin so that I can switch between list view and albumart views when browsing my music collection, but I seem to be having some problems with the directory path.

    My button to switch has this code:
    "LOAD;AUDIO_BROWSER_2.skin"

    And to switch back:
    "LOAD;AUDIO_BROWSER.skin"

    The problem is that the directory actually being browsed isnt being remembered when switching. Basically each is browsing independantly, so if Im in artist list, then go into an artist to view albums, then change to albumart view, the list changes to albumart view but its back at the artist listing again.

    In my SD definition I have nothing set for PATH, so it should just update to the path used on the previous screen correct?

    Has anything changed that could be causing this to bug out? Or am I missing something here?

    Thanks,
    Jarrod - Holden VX S!

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    by default the lists are meant to be independent -- with exception that when FIRST loading a screen with a folder list will copy the path from the previous screen (if any).

    You can however sync the two paths when loading the screen by using a variable and setpath..

    "SETVARBYCODE;LASTPATH;DLPATH||LOAD;AUDIO_BROWSER2 .skin||SETPATH;$LASTPATH$"
    "SETVARBYCODE;LASTPATH;DLPATH||LOAD;AUDIO_BROWSER. skin||SETPATH;$LASTPATH$"

    That should do it, however, unless you add some more code, it mayl always reset to the top of the list when switching screens.
    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 Jarrod's Avatar
    Join Date
    Jan 2002
    Location
    Melb, Australia.
    Posts
    475
    Thanks for setting me in the right direction Guino.

    For anyone interested, this is the code I am using and it works great:
    "SETVARBYCODE;LASTPATH;DLPATH||SETVARBYCODE;LASTPO S;LISTPOS||LOAD;AUDIO_BROWSER_2.skin||SETPATH;$LAS TPATH$||SETLIST;$LASTPOS$"

    (ignore spaces that the forum decides to throw in for no good reason )

    And just change the skin name to swap back...too easy
    Jarrod - Holden VX S!

  4. #4
    Maximum Bitrate Jarrod's Avatar
    Join Date
    Jan 2002
    Location
    Melb, Australia.
    Posts
    475
    One more issue to solve: now when you leave the library and go back, it always goes back to the listview library, whereas I want it to go back to which ever view it was last in. So heres the solution I came up with:

    On the button to change to albumart view mode:
    Code:
    SETVARBYCODE;LASTPATH;DLPATH||SETVARBYCODE;LASTPOS;LISTPOS||LOAD;AUDIO_BROWSER_2.skin||SETVARBYCODE;BROWSESCREEN;RRSCREEN||SETPATH;$LASTPATH$||SETLIST;$LASTPOS$"
    On the button to change back to listview mode:
    Code:
    SETVARBYCODE;LASTPATH;DLPATH||SETVARBYCODE;LASTPOS;LISTPOS||LOAD;AUDIO_BROWSER.skin||SETVARBYCODE;BROWSESCREEN;RRSCREEN||SETPATH;$LASTPATH$||SETLIST;$LASTPOS$
    On the button to go from audio player to browse library:
    Code:
    LOAD;$BROWSESCREEN$
    And to set which library browser view to use when you first load RoadRunner, add this command to the RR.ini:
    Code:
    startcommand=SETVAR;BROWSESCREEN;AUDIO_BROWSER.skin
    Where the screen name in the above command is the name of the screen with the view you want (in my case, listview to start)

    Now it remembers the view mode you were last using in the library, until you restart RoadRunner, but that doesn't matter because the directory path is reset too.

    Hope that helps someone....if anyone cares
    Jarrod - Holden VX S!

Similar Threads

  1. Harmony - Mac Front End Worklog
    By Bugbyte in forum MacCar
    Replies: 181
    Last Post: 02-23-2007, 12:19 PM
  2. thumbnail view for folder and list view for file?
    By civic5zigen in forum Road Runner
    Replies: 9
    Last Post: 11-01-2005, 12:55 AM
  3. album art browsing /list toggle
    By RoyN in forum RR Skins
    Replies: 0
    Last Post: 10-19-2005, 09:39 PM
  4. small thumbnail view issue
    By F350 in forum Road Runner
    Replies: 4
    Last Post: 10-18-2005, 08:37 PM
  5. Why are u putting a PC in a Car?
    By 00GMC in forum Newbie
    Replies: 90
    Last Post: 04-06-2005, 03:10 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
  •