Problem
I have a Panasonic Viera DT65 TV and I like watching video on this. Most of my videos are ordered by title, e.g. part 1, part 1, etc. When I open a folder on the TV I find that all the files are in a different order, for example part 4, part 1, part 7, part 2. If you have many videos then it's pretty hard to get them all in order to make it easy to find the right one to play.
Description
I have a Netgear ReadyNAS, which includes the ReadyMedia DLNA server[1]. The ReadyMedia DLNA server will provide a list of files in a folder in a sort order specified by the DLNA client requesting the list. Unfortunately Panasonic Viera TVs do not specify a sort order and as far as I can see the ReadyMedia DLNA server returns the list in file system order, which is my case is data order. There is no way to change the Panasonic Viera DLNA client sort order.
Solution
The solution to the problem is to force ReadyMedia DLNA server to sort files in the same order every time and ignore any DLNA client sort order requests. This is a good fix for me and for almost all DLNA clients I use the filename is the sort order I require. If you need other sorting, this may not be for you.
If you are able to easily access the server running the ReadyMedia DLNA server and can stop and start the server as well as edit the configuration files you can make a change. In my case my Netgear ReadyNAS allows me to use SSH to connect to the server itself and make changes from the command line.
- Stop ReadyMedia DLNA server(I used the ReadyNAS FrontView application)
- SSH to the server
- cd /etc
- vi minidlna.conf
- add the following to the bottom of the file (minus the ' marks), 'force_sort_criteria=+upnp:class,+upnp:originalTrackNumber,+dc:title'
- save the file
- exit vi
- Start ReadyMedia DLNA server
You should now be able to access your videos in the correct sort order on your device. I have only the vaguest idea what the parameters mean. Credit should go to NAS Central[3] listed in the sources, which might help you change the sort order if further should you want to.
Sources
[1] ReadyMedia[2] ReadyMedia change log
[3] NAS Central