[mythtv-users] MythVideo: file name sorting oddity

Brion Swanson brions at usalug.net
Wed Dec 12 19:57:56 UTC 2007


 Sorry if this is a duplicate, I didn't see the original message post
correctly to the list.

If this has been asked and answered before I apologize - I went through
the last year's archives and didn't see any relevant threads.

Just to start, I'm using Mythbuntu 7.10 which means I'm not entirely
sure what version of MythTV and all the plugins are being used, but if
need be I can find that out for you.

What I've noticed is that MythVideo organizes files in a very strange
manner, namely lexicographically incorrect (I believe).  Shorter file
names come after longer file names and higher numbers come before lower
ones.  Conversely, the alphabetic ordering is correct (a-z, not z-a) so
it suggests that the order is not merely reversed.

This problem plays out particularly with series (trilogies for example)
such as having:

Spider-Man.avi
Spider-Man_2.avi
Spider-Man_3.avi

These would show up in a directory listing as I've written, but in
MythVideo they show up as:

Spider-Man 3
Spider-Man 2
Spider-Man

Which is completely un-intuitive to me.  Could someone explain this
behavior and preferably how to fix it?

Thank you,
Brion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20071212/f5a23559/attachment.htm 


More information about the mythtv-users mailing list