mirror of https://github.com/mpv-player/mpv
osc.lua: show the playlist position when playing multiple files
This commit is contained in:
parent
8aad03bf6d
commit
f156461360
|
@ -43,8 +43,8 @@ pl next
|
||||||
============= ================================================
|
============= ================================================
|
||||||
|
|
||||||
title
|
title
|
||||||
| Displays current media-title, filename, custom title, or target chapter
|
| Displays the current playlist position and media-title, filename or custom
|
||||||
name while hovering the seekbar.
|
title, or the target chapter name while hovering the seekbar.
|
||||||
|
|
||||||
============= ================================================
|
============= ================================================
|
||||||
left-click show playlist position and length and full title
|
left-click show playlist position and length and full title
|
||||||
|
@ -288,7 +288,7 @@ Configurable Options
|
||||||
Duration of fade out in ms, 0 = no fade
|
Duration of fade out in ms, 0 = no fade
|
||||||
|
|
||||||
``title``
|
``title``
|
||||||
Default: ${media-title}
|
Default: ${!playlist-count==1:[${playlist-pos-1}/${playlist-count}] }${media-title}
|
||||||
|
|
||||||
String that supports property expansion that will be displayed as
|
String that supports property expansion that will be displayed as
|
||||||
OSC title.
|
OSC title.
|
||||||
|
|
|
@ -34,7 +34,7 @@ local user_opts = {
|
||||||
seekrangealpha = 200, -- transparency of seekranges
|
seekrangealpha = 200, -- transparency of seekranges
|
||||||
seekbarkeyframes = true, -- use keyframes when dragging the seekbar
|
seekbarkeyframes = true, -- use keyframes when dragging the seekbar
|
||||||
scrollcontrols = true, -- allow scrolling when hovering certain OSC elements
|
scrollcontrols = true, -- allow scrolling when hovering certain OSC elements
|
||||||
title = "${media-title}", -- string compatible with property-expansion
|
title = "${!playlist-count==1:[${playlist-pos-1}/${playlist-count}] }${media-title}",
|
||||||
-- to be shown as OSC title
|
-- to be shown as OSC title
|
||||||
tooltipborder = 1, -- border of tooltip in bottom/topbar
|
tooltipborder = 1, -- border of tooltip in bottom/topbar
|
||||||
timetotal = false, -- display total time instead of remaining time?
|
timetotal = false, -- display total time instead of remaining time?
|
||||||
|
|
Loading…
Reference in New Issue