altdesktop / playerctl

🎧 mpris media player command-line controller for vlc, mpv, RhythmBox, web browsers, cmus, mpd, spotify and others.
GNU Lesser General Public License v3.0
2.45k stars 79 forks source link

Playerctl not fetching Mozilla Firefox metadata #293

Open rayshabh opened 1 year ago

rayshabh commented 1 year ago

Whenever I play video/audio from streaming websites like YouTube, Spotify Web Client, etc. using Mozilla Firefox (v 106.0.1), Playerctl does not fetch any metadata, though the control keys like play/pause actions are working.

I've checked Playerctl with VLC, and it works well and collects the metadata for the same.

Please help to configure Playerctl so that it starts fetching metadata of Firefox too.

Thanks in advance!

dylanlobo commented 1 year ago

Not sure Firefox (v 106.0.1) provides any "informative" metadata -- probably does not based on what you've reported above. I've checked with Firefox (v 105) and can confirm that it does not return any useful metadata, so the "issue" is most likely with Firefox. This is all the metadata that it returns when playing a youtube video: {'mpris:trackid': '/org/mpris/MediaPlayer2/firefox', 'xesam:album': '', 'xesam:artist': [''], 'xesam:title': 'Firefox is playing media'}

rayshabh commented 1 year ago

This is all the metadata that it returns when playing a youtube video: {'mpris:trackid': '/org/mpris/MediaPlayer2/firefox', 'xesam:album': '', 'xesam:artist': [''], 'xesam:title': 'Firefox is playing media'}

Yes, exactly! This is what Firefox returns.

code-IM-perfect commented 1 year ago

yeah well it isn't a playerctl issue then...better open it on mozilla bugzilla then