Page 1 of 1
How to control the order in which folders are displayed?
Posted: Sat Apr 09, 2011 3:30 am
by chieftaing
I'm using a Samsung BD-C5500 and Twonky is hands down the best way to send it media.
When I navigate the Samsung's menu into the "music" area, I see a bunch of top-level folders, like artist, album, most recent, etc. The folder will all my playlists is at the very end of this display, requiring me to scroll through a whole bunch of folders (jump from one to the next) before I can access playlists.
How can I get the playlist folder to be at the very top of the folders listed under "music", such that getting to my playlists is super easy? I tried to find this in the forum but no search results.
Thanks,
Tom
Re: How to control the order in which folders are displayed?
Posted: Sat Apr 09, 2011 3:11 pm
by phibertron
The quickest way would be to change the name to something
that will appear at the top based on the way twonky and or the client device
will auto sort or not that containers
For ex:
Change the following in the view-definitions.xml
<container name='playlists' id='music/playlists'
To this
<container name='- Playlists' id='music/playlists'
And it will appear at the top of the list based as you'd like it to
but its name will now be "- Playlists"
The other way of more control is by leverageing sortcriteria='+upnp:originalTrackNumber' and upnp:originalTrackNumber='x'
But for it to be effective, you'd have to edit each container in the music tree container
and assign a tracknumber to be used for the display order
For ex:
<container name='alltracks' id='music/all' sortcriteria='+upnp:originalTrackNumber'
<container name='alltracks' id='music/all' upnp:originalTrackNumber='2'
<container name='artist' id='music/artists' upnp:originalTrackNumber='3'
<container name='artistindex' id='music/artistindex' upnp:originalTrackNumber='4'
<container name='composer' id='music/composers' upnp:originalTrackNumber='5'
<container name='rating' id='music/rating' upnp:originalTrackNumber='6'
<container name='artistalbum' id='music/artistalbum' upnp:originalTrackNumber='7'
<container name='genre' id='music/genre' upnp:originalTrackNumber='8'
<container name='genrealbum' id='music/genrealbum' upnp:originalTrackNumber='9'
<container name='genreartist' id='music/genreartistalbum' upnp:originalTrackNumber='10'
<container name='album' id='music/albums' upnp:originalTrackNumber='11'
<container name='byfolder' id='music/folders'upnp:originalTrackNumber='12'
<container name='playlists' id='music/playlists' upnp:originalTrackNumber='1'
<container buildon='pv:onlineServiceTitle' groupid='music/onlineservices' upnp:originalTrackNumber='13'
Note:
This same tactic can be used to change the order of the root containers, music, photo, video
.