Bug 444527 - Plasma browser integration should export one MPRIS instance per tab
Summary: Plasma browser integration should export one MPRIS instance per tab
Status: RESOLVED DUPLICATE of bug 395461
Alias: None
Product: plasma-browser-integration
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Netrunner Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-28 09:50 UTC by Till Schäfer
Modified: 2021-10-28 09:54 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***