-
Notifications
You must be signed in to change notification settings - Fork 3k
Add Loop button to the player controls #16154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@guidocella so it is possible with scripts, i see. |
Those are script-opts, not a script. You just define the desired buttons in |
In the config folder i presume? |
@guidocella Thanks it works but how do i get the emojis to work? |
You need a font with monochrome emoji. For shuffle you would need to write a script that keeps tracks of whether you shuffled and prints different messages. |
I see, any font recommendations? If you know any scrips for shuffle print please say so, |
Symbola
No need.
It is trivial. This will do it local shuffled
mp.add_key_binding('F1', 'toggle-shuffle', function ()
if shuffled then
mp.command('playlist-unshuffle; show-text Unshuffled')
else
mp.command('playlist-shuffle; show-text Shuffled')
end
shuffled = not shuffled
end) Change F1 to the desired key and bind |
ok thanks, and how do i trigger it with the onscreen (/custom) button? |
|
Seems to do nothing: F1 wont show text or toggle shuffle and the custom button also triggers nothing. |
Scripts go in |
Jep works now, also i just installed chaotic-aur/otf-symbola |
It seems to only work with |
ok i installed that, now i got a file at: |
Expected behavior of the wanted feature
It would be great if you could have a loop button in the video player controls.
A shuffle button would also be great.
Mpv supports these functions (at least with the mpris plugin).
Exposing these buttons in the ui seems like a nice thing.
If there is a plugin for these buttons i did not find any.
If there is a way to have these buttons help is appreciated.
Alternative behavior of the wanted feature
No response
Log File
No response
Sample Files
No response
The text was updated successfully, but these errors were encountered: