File : Add play_shuffle.
This commit is contained in:
parent
745a2fc9b5
commit
de0c66001f
|
@ -10,5 +10,14 @@ function play() {
|
|||
local targets=${*}
|
||||
[[ "${targets}" = "" ]] && targets=$(_ls_file)
|
||||
|
||||
flatpak run io.mpv.Mpv --no-audio-display ${targets}
|
||||
flatpak run io.mpv.Mpv --no-video ${targets}
|
||||
}
|
||||
|
||||
# Play media files shuffled from CLI. All files by default.
|
||||
# Usage: play_shuffle [FILE]
|
||||
function play_shuffle() {
|
||||
local targets=${*}
|
||||
[[ "${targets}" = "" ]] && targets=$(_ls_file)
|
||||
|
||||
flatpak run io.mpv.Mpv --no-video --shuffle ${targets}
|
||||
}
|
||||
|
|
Reference in a new issue