1
0
Fork 0

simplify player path

This commit is contained in:
mmaster 2020-08-23 04:04:24 +02:00
parent 501206a5b4
commit 724f12200f
1 changed files with 1 additions and 2 deletions

View File

@ -28,7 +28,6 @@ if $(command -v pgrep) omxplayer > /dev/null; then
fi
else
playerpath=$(command -v "$player")
$playerpath "$(find "$folder" -maxdepth 1 -type f |sort -R |head -n1)" &
$(command -v "$player") "$(find "$folder" -maxdepth 1 -type f |sort -R |head -n1)" &
fi