playerctl
playerctl copied to clipboard
next and previous do not work with firefox
The player I am using is firefox.
I am using the synaptic package v2.0.1 in MX Linux 19.03.
When I play youtube on firefox, playerctl play-pause
works. However playerctl next
or playerctl previous
do not cause any effect. They don't produce any error messages either. Are there any logs that I can check?
I tried them on VLC Media Player, and they both worked.
I tried to install the latest release through the .deb file but ran into #191
An update probably isn't going to solve that, it's likely an issue on the Firefox end.
Not working on Chrome either. However, in firefox too, this works on soundcloud. Seems like some problem in youtube.
But media control keys used to work for me with youtube in ubuntu without any additional packages. Now I am trying to map those keys to playerctl commands. Do you have any suggestions on how else the media control keys would have worked in ubuntu?
CanGoNext
and CanGoPrevious
properties in the MPRIS dbus object are false
when youtube is active. Afaik firefox media controller supports media even if it does not implement the API so maybe youtube worked before this was implemented.
The discontinued web-media-controller addon still works. By emulating a click in the related button.
This should be closed and addressed by youtube or the browser.
The media controls of next, previous are working only when we are in youtube playlist. Maybe the driver is finding difficulty with what to play next, when not in playlist.