Zren / mpv-osc-tethys

An OSC UI replacement for MPV with icons from the bomi video player. Also contains thumbnail preview and a picture-in-picture button.
187 stars 13 forks source link

Request: Show Number of Files in a Playlist on the Title Bar #30

Open Cananbolt opened 1 year ago

Cananbolt commented 1 year ago

I was thinking if it would be possible to show how many files you are watching on the title bar. So if the directory contains 10 files in the playlist, the title bar would show 1/10. The number 1 would change according to where it is on the playlist (could be 2/10, 3/10, and so on). The number 10 represents the total number of files in the playlist. And If the file you are viewing does not have a playlist then the number would not show.

Zren commented 1 year ago

In osc.conf you can edit

title=${media-title}

Edit: Actually I think you're referring to the window title, not the OSC title. So maybe you need to edit ~/.config/mpv/mpv.conf (%APPDATA%\mpv\mpv.conf on Windows) instead.

Cananbolt commented 1 year ago

On Property List it shows the command playlist-count, is there a way to have that always show on the border of Tethys osc