Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
Cananbolt opened this issue Jan 8, 2023 · 2 comments
Open

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

Cananbolt opened this issue Jan 8, 2023 · 2 comments

Comments

@Cananbolt
Copy link

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
Copy link
Owner

Zren commented Jan 15, 2023

In osc.conf you can edit

  • Windows: %APPDATA%\mpv\script-opts\osc.conf
  • Linux: ~/.config/mpv/script-opts/osc.conf
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
Copy link
Author

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants