Wrong order of folder listing

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
User avatar
mackowiakp
Posts:43
Joined:Mon Apr 11, 2011 8:00 am
AV Hardware:Samsung TV series 5 and 6, PCH A110, Mandirva Linux
Icecrypt S4000 Sat PVR, Ariva 200 Sat PVR-Ready
Location:Poland/Gdynia
Wrong order of folder listing

Post by mackowiakp » Mon Apr 11, 2011 8:00 pm

I have full collection of Hitchcock films (68 pcs of ripped DVD`s). DVD`s folder physical struckture looks like:

Hitchcock -->
--->DVD-1
--->DVD-2
..........
..........
--->DVD-68
But when I look to the order of listing on Samsung TV set or WIN/Linux based players the folder struckture looks like:
Hitchcock -->
--->DVD-1
--->DVD-10
--->DVD-11
...............
...............
--->DVD-2
--->DVD-20
--->DVD-21
etc, etc.

Is any possibility to have DVD`s subdirs listed in order from 1 to 68?
Any idea?

PeeBee
Posts:392
Joined:Sat Jun 13, 2009 12:16 pm
AV Hardware:Buffalo LS Pro; PS3; Samsung LE37B650

Re: Wrong order of folder listing

Post by PeeBee » Mon Apr 11, 2011 8:15 pm

That is the correct sort order for alpha-numeric folder names. You need to be cleverer with your folder names.

As long as you expect to have less than 100 DVDs then use DVD-XX where XX is 01 to 99, or DVD-XXX where XXX is 001 to 999 if you expect to have more than 99 DVDs. The leading zeroes will ensure that you get the right order.

PB
Samsung LE37B650T2WXXU; Liteon 5055GDL+ HDD/DVD Recorder; Playstation 3; Iomega Screenplay HD 500GB; Buffalo Linkstation Pro LS-320GL (running Twonky 6.0.30, SqueezeBox Server 7.6 and acting as a Print Server)

User avatar
parnott
Posts:326
Joined:Mon Sep 20, 2010 9:55 pm
AV Hardware:Twonky, WDTV Live, XBMC (Linux & Windows)

Re: Wrong order of folder listing

Post by parnott » Mon Apr 11, 2011 8:19 pm

No because that is how computers sort things.

If you want it sorted the way you want then use 01, 02, etc. Not 1, 2, etc.

That way it will be sorted as you want.

User avatar
mackowiakp
Posts:43
Joined:Mon Apr 11, 2011 8:00 am
AV Hardware:Samsung TV series 5 and 6, PCH A110, Mandirva Linux
Icecrypt S4000 Sat PVR, Ariva 200 Sat PVR-Ready
Location:Poland/Gdynia

Re: Wrong order of folder listing

Post by mackowiakp » Mon Apr 11, 2011 9:15 pm

OK. After renaming from 1 to 01 works fine.
THX

Locked