Skip to content

Commit

Permalink
Update mpvc
Browse files Browse the repository at this point in the history
  • Loading branch information
gmt4 committed Nov 26, 2024
1 parent 76b4547 commit 2231c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpvc
Original file line number Diff line number Diff line change
Expand Up @@ -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]*", " ")
Expand Down

0 comments on commit 2231c4a

Please sign in to comment.