fix playlist from file

This commit is contained in:
ksyasuda
2021-11-04 23:04:05 -07:00
parent cc9a0a870f
commit e2106e2186
2 changed files with 4 additions and 1 deletions

View File

@@ -508,6 +508,7 @@ while getopts 'hd:HlpadP:' OPT; do
playlist_file="$OPTARG"
[ -z "$playlist_file" ] && die "Eneter in path to playlist"
mpv "$playlist_file"
exit 0
esac
done
shift $((OPTIND - 1))