Bug 444527

Summary: Plasma browser integration should export one MPRIS instance per tab
Product: [Plasma] plasma-browser-integration Reporter: Till Schäfer <till2.schaefer>
Component: generalAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED DUPLICATE    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Netrunner   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Till Schäfer 2021-10-28 09:50:10 UTC
Plasma Browser Integration does always export a single MPRIS instance. This is problematic if multiple tabs with audio exist. E.g., one tab soundcloud, another tab youtube. In this case the MPRIS interface only controls the tab for which the audio/video was started last. Thus, speaking in the above example it is impossible to control the soundcloud tab after starting a youtube video. This is a typical use case for me, where I want to stop or resume music when starting youtube videos. 
When I forgot to stop the music in advance, I am unable to stop it via MPRIS anymore. 


Therefore I propose to export one MPRIS interface per media tab. (Since some users might be annoyed or confused by to many instances, it might be a good way to make this optional)



Operating System: Gentoo Linux
Plasma Browser Integration: 1.8.0.1
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.14-gentoo (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-4810MQ CPU @ 2.80GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4600
Comment 1 Kai Uwe Broulik 2021-10-28 09:54:20 UTC

*** This bug has been marked as a duplicate of bug 395461 ***