if found the clever nautural sort algorithm in utils/sorting.py

NUMS = re.compile('([0-9]+)')
...
return [ part.isdigit() and int(part) or part.lower() for part in NUMS.split(s) 
]

which seems to do the right thing on those file names. but i can see where this 
is used in the rest of moovida.
elisa/extern/path.py seems to use elisa/extern/natural_sort.py instead, which 
does not look as clever.

also can't see where metadata tags are used.

-- 
album plays in wrong order
https://bugs.launchpad.net/bugs/452566
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to