WARNING: THIS MODIFICATION COULD VOID YOUR WARRANTY. PLEASE DO SO AT YOUR OWN RISK.
I was having an issue where if I stream tunes via the FOLDER option on my receiver I would alway get the songs listed alphabetically in the folder rather than by TRACK number.
On a Twonky board I found the FIX…
(the file they describe editing is located on the MyCloud in this directory: /usr/local/twonkymedia-7/resources/views)
Info from the link:
Well, I have no fear of editing the xml files, and once I found out from this thread what file I should be looking at, it was easy.
Open the view-definitions.xml file for editing and look for a line that starts off like this:
container name=‘byfolder’ id=‘music/folders’
You want to edit the FOLLOWING line. Initially it looks like this:
container buildon=‘res’ createClass=‘object.item.audioItem.musicTrack’ class=‘object.container.storageFolder’ />
Change it to look like this:
container buildon=‘res’ sortcriteria=’+upnp:originalTrackNumber’ createClass=‘object.item.audioItem.musicTrack’ class=‘object.container.storageFolder’ />
(Each of those lines should start with a < but I had to leave them out to get them to display in the forum. Make sure you include it.)
Restart TwonkyServer and voila, track sorting in folder view.