fixed queue and movements
This commit is contained in:
@@ -11,8 +11,6 @@ __mpv_command_with_args2() {
|
||||
}
|
||||
|
||||
__mpv_get() {
|
||||
foo "__mpv_get argument=$1"
|
||||
foo "__mpv_get answer=$(__mpv_command_with_arg "expand-text" "$1" | $JQ -C)"
|
||||
__mpv_command_with_arg "expand-text" "$1" | $JQ -r '.data'
|
||||
}
|
||||
|
||||
@@ -37,16 +35,15 @@ mpv_start() {
|
||||
mpv_play_list() {
|
||||
t=$(mktemp)
|
||||
cat >"$t"
|
||||
foo "$(cat "$t")"
|
||||
__mpv_command_with_arg "loadlist" "$t"
|
||||
rm -f "$t"
|
||||
}
|
||||
|
||||
mpv_queue_list() {
|
||||
foo "mpv_queue_list"
|
||||
t=$(mktemp)
|
||||
cat >"$t"
|
||||
foo "$(cat "$t")"
|
||||
__mpv_command_with_arg "loadlist" "$t" "append-play"
|
||||
__mpv_command_with_args2 "loadlist" "$t" "append-play"
|
||||
rm -f "$t"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user