1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 01:22:30 +00:00
mpv/TOOLS
Christoph Heinrich 7b09bf7ffc TOOLS/lua/autoload: improve alphanumeric sorting
Currently filenames like `EP.1.v0.1080p.mp4` do not get sorted correctly
(e.g. episode 11 right after episode 1). That is caused by the `.` in
front of the episode number, making it get sorted as if it were
decimals.

The solution is to match the whole real number or integer instead of
matching the integer part and the fractional part separately.

This will regress sorting of numbers with multiple commas where the
length of the individual segments differs between filenames.
Since those are rather uncommon, that is unlikely to be a problem (for
anyone ever).
2023-01-15 16:45:24 +00:00
..
lua TOOLS/lua/autoload: improve alphanumeric sorting 2023-01-15 16:45:24 +00:00
mpv-osd-symbols.sfdir osc: use custom symbols for window controls 2019-12-11 13:53:10 -08:00
osxbundle/mpv.app/Contents osxbundle: add RIST protocol support to app metadata 2022-08-18 11:33:50 +02:00
__init__.py
appveyor-build.sh ci: remove libass enablement 2020-03-22 14:33:41 +02:00
appveyor-install.sh appveyor: Use MSYS2's spirv-cross package instead of building it 2021-02-23 01:38:39 +02:00
docutils-wrapper.py TOOLS/docutils-wrapper: make executable + alphabetize 2023-01-13 10:13:39 -06:00
dylib-unhell.py various: remove trailing whitespace 2022-05-14 14:51:34 +00:00
file2string.py TOOLS/file2string.py: support outputting to file 2021-11-14 19:13:10 +00:00
gen-osd-font.sh Add script to generate otf from sfdir using fontforge 2017-04-20 17:40:45 +01:00
idet.sh
macos-sdk-version.py various: remove trailing whitespace 2022-05-14 14:51:34 +00:00
macos-swift-lib-directory.py TOOLS: add macos-swift-lib-directory.py script 2021-11-14 19:13:10 +00:00
matroska.py TOOLS/matroska.py: support outputting to file 2021-11-14 19:13:10 +00:00
mpv_identify.sh mpv_identify: replace deprecated fps property 2017-06-25 14:24:49 +01:00
osxbundle.py osxbundle: use python3 2021-07-17 00:08:54 +02:00
stats-conv.py *.py: cosmetic changes 2020-02-27 21:36:21 +01:00
travis-deps travis: stop excluding ffmpeg-git 2017-12-22 21:49:21 +01:00
travis-rebuild-website build: move website rebuild into Linux/clang travis job 2021-05-16 01:55:37 +03:00
umpv TOOLS/umpv: support shell-quotes in $MPV 2023-01-07 13:16:03 +01:00
uncrustify.cfg