Sorting MP3s in the folder-structure

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
mischemann
Posts:1
Joined:Fri Apr 10, 2009 8:49 am
AV Hardware:T&A MusicPlayer E-series , SONY Z4500
Sorting MP3s in the folder-structure

Post by mischemann » Fri Apr 10, 2009 9:28 am

I'm very happy to use Twonky. :-) and it works perfect with my

T&A MusicPlayer E-series and also with my new SONY Z4500 TV.

One "little" question:
I use for my MP3s the normal folder/file-structure to find my songs. (30000 songs and 35000 fotos) I create my own tree structure.
It works but the problem is in every last folder: The songs are not played in the correct order (filename).
They are played in order of the name from the ID3 tag.

What's wrong ?

Kind regards, Olaf


Serverversion : 5.0.61

sonicstorm
Posts:2
Joined:Thu Dec 31, 2009 4:38 pm
AV Hardware:Sony Playstation 3, Sony Bravia KDL-46W5100, Windows 7 computers, Promise NS4300N

Re: Sorting MP3s in the folder-structure

Post by sonicstorm » Thu Dec 31, 2009 4:41 pm

I have the same issue. It appears that most categories sort by Track Number, but when you switch to Folder view, the tracks are sorted alphabetically. This is very annoying because if you are listening to an album, all of the tracks are played in the incorrect order. Because of the number of files in my database, I have to use the Folder view in order to get to files quickly; otherwise, it will take me 20 minutes to scroll down a standard Twonky list to find the artist/album that I want. My Folder structure is similar to the Artist Index sorting, but it is more refined. Instead of grouping ABC, DEF, GHI, etc. as in the Artist Index, it is broken down like A, B, C, D, E, F, G, H, I...

If Twonky could create an artist index that was alphabetical and/or fix the sort order in the Folder view, that would be AWESOME!

Here is my server info:

TwonkyMedia version: 5.1.2
Server hardware: Dell Desktop
Operating System: Windows Server 2003
If you are running as a system service (Windows only): No
Client(s) and their software version: Sony PS3 & Sony Bravia W5100 Series TV
Type(s) of media you are having problems with: Music
How many files you have in your database: 168,179
Network type (Wired/Wireless): Wired and Wireless

john.glasson
Posts:71
Joined:Sun Aug 03, 2008 9:29 am
AV Hardware:Server: Western Digital My Book World Edition White Light
Clients: Zyxel DMA1000, Philips Streamium 1100, Netgear MP101, Pocket Player on WM5 PDA
Location:near London, UK

Re: Sorting MP3s in the folder-structure

Post by john.glasson » Mon Jan 04, 2010 8:46 pm

Looking at the 'view-definitions.xml' file, it is missing any sort criteria for 'Folders'. This seems to have been the case for most if not all of the 5.1.x releases.

If you amend this section to :

<container name='folder' id='music/folders' class='object.container.storageFolder' createClass='object.item.audioItem.musicTrack'>

<container buildon='res' sortcriteria='+pv:numberOfThisDisc,+upnp:originalTrackNumber' createClass='object.item.audioItem.musicTrack' class='object.container.storageFolder' />

</container>

...it then works ok.

psychiktv
Posts:1
Joined:Sun Jan 24, 2010 3:56 pm
AV Hardware:Qnap 509 turboNas Pro
Linn DS

Re: Sorting MP3s in the folder-structure

Post by psychiktv » Sun Jan 24, 2010 3:59 pm

Hi,

I tried to modify the file as you said on my Qnap Nas, it dind't work ...

gsacstejas
Posts:3
Joined:Mon Apr 02, 2007 6:15 pm

Re: Sorting MP3s in the folder-structure

Post by gsacstejas » Sun Jan 24, 2010 8:18 pm

The patch worked on my Acer Aspire easyStore H340

user38861
Posts:1
Joined:Mon Feb 15, 2010 5:11 pm
AV Hardware:Twonky Media Server (Linux)
Denon AVR-3310

Re: Sorting MP3s in the folder-structure

Post by user38861 » Mon Feb 15, 2010 5:25 pm

Thanks, the patch works with Twonky Linux Server 5.1.2

ALSO, I have altered the "view-definitions.xml" file (in /usr/local/twonkymedia/resources/views under Linux)
so that " upnp:artist[3] " is changed to " upnp:artist[1] "
This gives a list of individual letters for the Artist Index (after a server restart!!)

sonicstorm
Posts:2
Joined:Thu Dec 31, 2009 4:38 pm
AV Hardware:Sony Playstation 3, Sony Bravia KDL-46W5100, Windows 7 computers, Promise NS4300N

Re: Sorting MP3s in the folder-structure

Post by sonicstorm » Wed Mar 03, 2010 12:34 am

Thanks for all of the input everyone! I managed to get a hold of a document describing the syntax for the XML, and I had made those changes to the files as well and can confirm that they all work property!

Thanks again for all your help.

Locked