From 2231c4a6dd202a03db5aee3d3b6194faaca80d06 Mon Sep 17 00:00:00 2001 From: gmt4 <791491+gmt4@users.noreply.github.com> Date: Tue, 26 Nov 2024 08:08:02 +0100 Subject: [PATCH] Update mpvc --- mpvc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpvc b/mpvc index cbbad666..721448d8 100755 --- a/mpvc +++ b/mpvc @@ -302,7 +302,7 @@ mpvc_get_playlist_json() { mpvc_get_playlist_once() { mpvc_get_playlist_json | - sed -n '/"\(current\|playing\)":true/d; /"\(id\|title\)":.*/d; s|"filename":"\(.*\)",|\1|p;' | + sed -n 's|"filename":"\(.*\)",\?|\1|p' | awk -v numbered="${1:-}" ' { gsub("^[ \t]*", " ")