Suggestion for the playlist sorting implementation

Feature requests for VLC.
tatsudoshi
New Cone
New Cone
Posts: 9
Joined: 17 Mar 2008 00:42

Suggestion for the playlist sorting implementation

Postby tatsudoshi » 24 Jul 2009 17:45

When having a list of multiple items with numbers in the filename, e.g. a tv show, meh[1x01] and meh[10x01] are listed right after each other with meh[2x01] as last item. This is called something sorting in programming, I can't remember what but I would love to see the sorting changed to natural sorting, if that is what it is called or at least make it an option. The result should be meh[1x01], meh[2x01], meh[10x01].

A fairly simple algorithm like:
if a < b then list item
else hold item until b < a

This is not a O(1) sorting, but close and since playlists should be under 10.000 items modern computers should handle it fine. Anyway this was just a thought I had when writing this post.

Thanks for the great work otherwise! :D

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Suggestion for the playlist sorting implementation

Postby VLC_help » 25 Jul 2009 15:02

Or maybe you should name them as meh[01x01], meh[02x01], meh[10x01] etc. like proper people do :D


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 13 guests