How to control the order in which folders are displayed?

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
chieftaing
Posts:1
Joined:Wed Apr 06, 2011 9:32 pm
AV Hardware:Samsung BD-C5500, Panasonic P47 plasma, Panasonic HTTIB
How to control the order in which folders are displayed?

Post by chieftaing » Sat Apr 09, 2011 3:30 am

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

User avatar
phibertron
Posts:1566
Joined:Sun Jan 30, 2011 5:52 pm
AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000

Encoders
========
Handbrake
x264
ffmpeg
mencoder

Tagging
======
mp3tag

Re: How to control the order in which folders are displayed?

Post by phibertron » Sat Apr 09, 2011 3:11 pm

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
.
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497

Locked