Some updates

This commit is contained in:
2023-07-03 17:10:06 +02:00
parent dbd2cb88a1
commit 5db825003a
4 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ play() {
ls $1 | sort -R | while read music; do
echo Playing $music "($index / $count)"
index=$(($index+1))
mplayer "$1/$music" < /dev/tty > /dev/null 2>&1
mpv "$1/$music"
if [ $? -ne 0 ]; then
return 1
fi