Skip to content

Commit ad14f52

Browse files
committed
mpvc: Update mpvc
1 parent 2eaa06f commit ad14f52

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mpvc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ mpvc_defaults()
211211
MPVC_FMTSTR_DFLT="\
212212
%artist% - %title% \\r\
213213
[%status%] #%position%/%playlistlength% %time%/%length% (%percentage%%) \\r\
214-
vol:%volume%% mute:%mute% repeat:%repeat% single:%single% ab:%ablooplofi% \\r\
214+
vol:%volume%% mute:%mute% repeat:%repeat% single:%single% ab:%abloop% \\r\
215215
vid:%video% scr:%screen% win:%force-window% fs:%fullscreen% \\r\
216216
ch:%chapter% %=chapter%/%chapters% shuffle:%shuffle% idle:%idle%"
217217

@@ -931,6 +931,7 @@ mpvc_print_status() {
931931
gsub("%percentage%", "${percent-pos}")
932932
gsub("%repeat%", "${loop-playlist}")
933933
gsub("%single%", "${loop-file}")
934+
gsub("%abloop%", "${!ab-loop-a==no:yes}${?ab-loop-a==no:no}${!ab-loop-a:NA}")
934935
gsub("%frame%", "${estimated-frame-number}")
935936
gsub("%remaining%", "${playtime-remaining}")
936937
gsub("%length%", "${duration}")

0 commit comments

Comments
 (0)