Bug 435470

Summary: Visualize MPRIS activity in toolbar icon of Plasma Integration browser extension
Product: [Plasma] plasma-browser-integration Reporter: Oliver Freyermuth <o.freyermuth>
Component: generalAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED FIXED    
Severity: wishlist CC: nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Oliver Freyermuth 2021-04-07 14:28:43 UTC
SUMMARY
Currently, the functionality that the MPRIS part of the browser extension has activated itself (i.e. detected playing media) is not visualized in the toolbar. 
For this reason, the useful feature to enable / disable the addon for a page (i.e. blacklist a page) is mostly invisible to the user. 

STEPS TO REPRODUCE
1. Visit any page with media. 

OBSERVED RESULT
Observe the toolbar icon not changing. 

EXPECTED RESULT
Toolbar icon changes, some ideas:
- Show a "number" blob as adblocker addons do. 
- Chance colour / colourize / un-fade. 
- Show a media / volume icon in the corner (similar as done in tabs with media playing in several browsers or in KDE application bar). 

SOFTWARE/OS VERSION (OS and browser independent)
Addon version: 1.8.0.1
Comment 1 Bug Janitor Service 2021-04-15 15:03:02 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-browser-integration/-/merge_requests/46
Comment 2 Kai Uwe Broulik 2021-04-16 20:18:18 UTC
Git commit 8d88c4199a016ce59246192017180d253d8daee8 by Kai Uwe Broulik.
Committed on 16/04/2021 at 20:18.
Pushed by broulik into branch 'master'.

Add toolbar badge when there's a player on a page

Makes it more obvious that the extension now offers settings
to disable controls on this page.

M  +31   -5    extension/extension-mpris.js

https://invent.kde.org/plasma/plasma-browser-integration/commit/8d88c4199a016ce59246192017180d253d8daee8