Page 1 of 1

commandline context menu playlist weird sorting issue

Posted: 19 Jul 2024 23:42
by Aapjuh
Hi,

I used a command line reg file to add a vlc context menu (see code below) and when i use the context menu to add files named 001.mkv to 008.mkv the playlist sorts them correctly (ascending order), but when i do the same thing to 9 or more files also named 001.mkv to 009.mkv the order is random (001.mkv, 004.mkv, 003.mkv, 008.mkv, 002.mkv, etc etc)

Code: Select all

"C:\Program Files\VideoLAN\VLC\vlc.exe" --started-from-file --playlist-enqueue "%1"
I barely know what i'm doing but i started removing or changing command line arguments to see what would happen (--started-from-file, --playlist-enqueue or --no-playlist-enqueue and the %1) to see if it would fix the issue.
None of the -- lines changed anything, checking/unchecking one instance boxes didn't either.
But when i changed the %1 into %2 or %3 the order would work fine for 9+ files, it creates a bunch of empty looking entries that turn into a repeat of all files added, but hey... it works..

Is there a more proper fix to the sorting issue or a better command line?
Is something else causing the issue?

additional info:
vlc 3.0.21 64bit windows
windows 10
rtx 2070 6gb

Thanks in advance,
Aapjuh