Added ARGUMENTS to mp
This commit is contained in:
parent
6fe26e1b75
commit
65048635cd
|
@ -101,4 +101,4 @@ BORING STUFF
|
|||
----------------------------------------
|
||||
License is CC-0 (though, "gendl" is GPLv3)
|
||||
Author is Jenga Phoenix <jadedctrl@teknik.io>
|
||||
Sauce is at https://git.eunichx.us/wyrics
|
||||
Sauce is at https://git.eunichx.us/wyrics.git
|
||||
|
|
5
mp
5
mp
|
@ -9,6 +9,7 @@
|
|||
# lisc: CC 0
|
||||
########################################
|
||||
|
||||
ARGUMENTS='--vo null --term-osd-bar'
|
||||
trap "" 2
|
||||
|
||||
|
||||
|
@ -115,8 +116,8 @@ while test -n "$ITEMS"; do
|
|||
local item="$(car "$ITEMS")"
|
||||
|
||||
cat "${item}.txt" 2> /dev/null
|
||||
echo "===$(discarded_items)/$(total_items)==="
|
||||
mpv "$item"
|
||||
echo "===$(add $(discarded_items) 1)/$(total_items)==="
|
||||
eval "mpv ${ARGUMENTS} ${item}"
|
||||
|
||||
return=$?
|
||||
handle_return "$return"
|
||||
|
|
Ŝarĝante…
Reference in New Issue