Linux Admin
2025-Aug-22 08:02 UTC
expand media keys control specification with like and dislike buttons
Hi. First want to say thank you all for great work. I am happy user of KDE Plasma since 2005 and really enjoy my desktop experience.? Today streaming services are mostly used for playing music, rather than classic media players, and AI recommendations working well. I totally switched from downloading music and listening it in clementine/strawberry to yandex-music app. which streams music I like. But for better recommendations, I need to click like/dislike, and everytime open the app, click, then minimizing. I am using media player control widget in kde plasma, and would be great to expand media keys control specification with like and dislike buttons, so then it will be implemented in widgets and kde connect. Many android apps already have such buttons on lock screen widget, I really miss it in kde connect and desktop.? Thanks
Tag Howard
2025-Aug-22 13:22 UTC
expand media keys control specification with like and dislike buttons
A big challenge here would be application buy-in as it would probably require updates to the JavaScript Audio API <https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/audio#events> as most mainstream media players are web or electron based (looks to me like yandex-music is Electron). Of course there are native Linux players so assuming we only care about those users it's probably doable. Windows doesn't <https://learn.microsoft.com/en-us/uwp/api/windows.media.systemmediatransportcontrolsbutton?view=winrt-26100> support like/dislike in media controls, but macOS does <https://developer.apple.com/documentation/mediaplayer/mpremotecommandcenter#Rating-a-media-item>. Their API has some control over presentation as well, letting you pick between being able to dislike, like, or both. A Linux implementation would probably just expose capabilities and leave it up to the app. Support for this would probably look like adding `CanLike`, `CanDislike`, `Liked`, and `Disliked` properties as well as `Like` and `Dislike` methods. On Fri, Aug 22, 2025, at 4:02 AM, Linux Admin wrote:> Hi. First want to say thank you all for great work. I am happy user of > KDE Plasma since 2005 and really enjoy my desktop experience. > > Today streaming services are mostly used for playing music, rather than > classic media players, and AI recommendations working well. I totally > switched from downloading music and listening it in > clementine/strawberry to yandex-music app. which streams music I like. > > But for better recommendations, I need to click like/dislike, and > everytime open the app, click, then minimizing. I am using media player > control widget in kde plasma, and would be great to expand media keys > control specification with like and dislike buttons, so then it will be > implemented in widgets and kde connect. > > Many android apps already have such buttons on lock screen widget, I > really miss it in kde connect and desktop. > > Thanks > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/freedesktop/attachments/20250822/d2bf6159/attachment.htm>