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
|
||||
| Displays current media-title, filename, custom title, or target chapter
|
||||
name while hovering the seekbar.
|
||||
| Displays the current playlist position and media-title, filename or custom
|
||||
title, or the target chapter name while hovering the seekbar.
|
||||
|
||||
============= ================================================
|
||||
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
|
||||
|
||||
``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
|
||||
OSC title.
|
||||
|
|
|
@ -34,7 +34,7 @@ local user_opts = {
|
|||
seekrangealpha = 200, -- transparency of seekranges
|
||||
seekbarkeyframes = true, -- use keyframes when dragging the seekbar
|
||||
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
|
||||
tooltipborder = 1, -- border of tooltip in bottom/topbar
|
||||
timetotal = false, -- display total time instead of remaining time?
|
||||
|
|
Loading…
Reference in New Issue