Code: Select all
#!/bin/bash
OIFS="$IFS"
IFS=$'\n'
files=""
for var in "$@"
do
for file in `find "$var" -type f -name "*" | sort `;
do
files=$files`printf '%q' "$file"`" "
done
done
echo -E "$files" | xargs vlc --one-instance --playlist-enqueue
IFS="$OIFS"
I'm on 1.1.11 and I did notice this behavior after some fiddling. I suppose I had no default sorted column. The script might still be useful in the case that the Track Number meta data were non-existent.This has long been fixed in VLC 1.2 prereleases. Though in some cases, it seems the UI forces sorting based on the "selected" column of the playlist.
Agreed, really not expected behaviour, neither intuitive nor logical to a user.You can debate whether this is right or wrong, but it seems like every other multimedia player does what any sensible user would and should expect.
I still have this issue with 2.0.1 and I'm not alone:This has long been fixed in VLC 1.2 prereleases. Though in some cases, it seems the UI forces sorting based on the "selected" column of the playlist.
Return to “VLC media player for Linux and friends Troubleshooting”
Users browsing this forum: No registered users and 9 guests