youtube-music
youtube-music copied to clipboard
Support MPRIS loop and volume change
This PR supports MPRIS loop status on linux, enabling playerctl loop
to fetch and playerctl loop None/Track/Playlist
to set.
LGTM (but can't personally test it since I don't have access to Linux currently)
Anything I could do to help it get merged?
@th-ch
I've just pushed another fix for a bug when using playerctl play-pause
.
In javascript we always use ===
instead of ==
😋
(and !==
instead of !=
)
could you change those?
I've changed it. Do you want me to clean up the commits and force push?
you should also change it in plugins/shortcuts/mpris.js lines 43-45-47
Volume change support is now implemented as well.
Can this be merged?