mpv icon indicating copy to clipboard operation
mpv copied to clipboard

Have the track selection in the OSC hidden sometimes

Open ColonelGerdauf opened this issue 3 years ago • 1 comments

Expected behavior of the wanted feature

What I am hoping for is for MPV to have a mechanism that can prohibit the user from selecting the audio track of "none" in the OSC, specifically when audio is playing.

That is an example use case where "none" will cause more problems than it is worth. When you hit "none" on the OSC when music is playing, the music stops in its tracks, and any other audio that you play via MPV will get instantly skipped. Especially when the appropriate settings are not in place, this will lead to an immediate shutdown of MPV as a program immediately after it launches. This will be a major nuisance, especially for those that choose to use MPV or one of the many front-end packages as a mainstay music player.

Alternative behavior of the wanted feature

Alternatively, though less ideal, an option can be provided to users to selectively hide or show the track button in the default OSC, on a general basis.

ColonelGerdauf avatar Sep 07 '22 15:09 ColonelGerdauf

Does this solve the issue? https://github.com/viniciusbm/mpv-cycle-through-existing/blob/master/cycle-through-existing.lua

Traneptora avatar Sep 18 '22 05:09 Traneptora