playerctl not detecting Opera browser downloaded from Snap as an audio player
1
vote
0
answers
73
views
OS: Ubuntu 24.04 LTS
\
WM: i3 (with polybar)
I used to use the Opera browser downloaded from Opera's website as a
.deb
package, but there were several issues with that 'variant' of Opera, some being: inability to play some YouTube videos, inability to play Twitch streams, etc.. So, I did my research and found out that using Opera downloaded from Snap will have all these issues resolved, and so I removed the .deb
Opera, and installed Opera from Snap (sudo snap install opera
) and it resolved all my issues, but it created a new one.
playerctl
was earlier able to detect all the audio playing in my Opera, i.e. it detected Opera as a player. I was able to control the browser audio using it by binding some keys to playerctl
commands in my i3-config, and also was able to display audio information in my Polybar using some scripts. But since I've started using the 'better', Snap version of Opera, playerctl
does no longer detect it as a player, thus disabling me from controlling any of the browser playback. I thought it was some MPRIS issue, so i ran dbus-monitor "interface='org.freedesktop.DBus.Properties',member='PropertiesChanged'"
(ChatGPT helped me with that) to see if Opera was even sending MPRIS signals or not, and it was sending the player signals.
What seems to be the issue here? How do I fix it? Since this is my first post here, I tried my best explaining everything, but if I miss something, do ask me in the comments.
Asked by rira96
(11 rep)
Jun 27, 2024, 05:06 PM
Last activity: Jun 27, 2024, 05:07 PM
Last activity: Jun 27, 2024, 05:07 PM