sakithb / media-controls

A media indicator for the Gnome shell.
MIT License
228 stars 33 forks source link

title doesnt disappear after closing the media source in chromium based browsers #35

Closed arejula27 closed 8 months ago

arejula27 commented 2 years ago

Bug: After seeing a vidio on yt and clisng it, the title continues beeing on the extension. A better behaviour should be detecting the source is eneded and doesnt show it.

sakithb commented 2 years ago

This issue was noticed before and was fixed. To get a more understanding on this issue, I need your browser and browser version. Also tell me whether you closed the browser or just the tab.

tanaybhomia commented 2 years ago

I am having the same bug sometime when I close the spotify web app from Edge the panel notification of media does dissappear but most of the time does not

I am using Spotify web app from Microsoft edge image Please dont roast me for using Edge.

Wendy-Russo commented 1 year ago

Same Issue, youtube video, using brave [v 1.44.112] and ubuntu 22.04

ChrisLauinger77 commented 9 months ago

It seems like the guy who uses Edge closes the tab. I never observed this with Firefox though. Seems more like a browser related issue then a general one ... Edge (on linux) , brave are some exotic configurations. What gnome/mediacontrols versions are used would also be helpful or maybe some update fixed it ?

ChrisLauinger77 commented 9 months ago

I tested it with chromium - played a YT video. Closed the tab. The player controls did not disappear. I needed to close the browser to get rid of them. When I use firefox and close the tab it works and the player controls disappear. So it works for some browsers but not for all. @cliffniff FYI

ChrisLauinger77 commented 9 months ago

chrome / brave / edge are all chromium https://www.chromium.org/chromium-projects/ based browsers which have this issue. Updated the known issues section in readme.md

ChrisLauinger77 commented 9 months ago

Maybe some browser extension helps ? https://github.com/beingmohit/browser-playerctl

sakithb commented 9 months ago

Probably need to look if there is a fix we can do on our side.

ChrisLauinger77 commented 8 months ago

Found something intresting in another MPRIS extension issue list: https://github.com/JasonLG1979/gnome-shell-extension-mpris-indicator-button/issues/28 So defenetly broken on chromium based browsers. But he also applied a workaround checking for some MPRIS capabilities ... https://github.com/JasonLG1979/gnome-shell-extension-mpris-indicator-button/commit/691888e030ca334ed42608a5ee06e1045525088c But is seems he would not show the player in this case ...