Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ z script-message-to modernz osc-idlescreen # Toggle idle screen

ModernZ supports mpv's built-in select.lua ([v0.39+](https://github.com/mpv-player/mpv/discussions/14903)) for playlist, subtitles, chapter navigation and more.

https://github.com/user-attachments/assets/f47a2eb6-d926-4f3b-8a5d-19301c70c7a5
https://github.com/user-attachments/assets/aa7305f3-9f14-4609-9d3e-95e18f003593

> [!TIP]
> If the font size for the interactive playlist is too small, you can add the following in your `mpv.conf`
Expand Down
2 changes: 1 addition & 1 deletion modernz.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1714,7 +1714,7 @@ layouts["modern"] = function ()
lo.style = osc_styles.time

lo = add_layout("chapter_title")
lo.geometry = {x = 86 + (state.tc_ms and 32 or 0) + (show_hours and 20 or 0), y = refY - 84, an = 7, w = 200, h = 20}
lo.geometry = {x = 86 + (state.tc_ms and 32 or 0) + (show_hours and 20 or 0), y = refY - 84, an = 7, w = osc_geo.w - 200 - ((show_hours or state.tc_ms) and 60 or 0), h = 20}
lo.style = osc_styles.chapter_title
end

Expand Down