diff --git a/README.txt b/README.txt index e1cc5a5..416e0df 100644 --- a/README.txt +++ b/README.txt @@ -101,4 +101,4 @@ BORING STUFF ---------------------------------------- License is CC-0 (though, "gendl" is GPLv3) Author is Jenga Phoenix -Sauce is at https://git.eunichx.us/wyrics +Sauce is at https://git.eunichx.us/wyrics.git diff --git a/mp b/mp index 5fa4436..40c4ebb 100755 --- a/mp +++ b/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"