FichteFoll/discordrp-mpris

add "YouTube Music" player icon

Opened this issue · 2 comments

When using GSConnect it is possible to sync what's currently playing on an android phone to mpris. When using the the YouTube Music app on the phone to play music the player name that shows up is YouTube Music. This would work for other android music players as well. The name on dbus is org.mpris.MediaPlayer2.GSConnect.Pixel7ProYouTubeMusic in my example.

the name is likely to change tho, and would be very difficult as KDE connect has three forms, KDE, GS and Zorin, and youd also have Regex or smth out the device name.
in my case, with KDE connect on a samsung a22 5g, it is kdeconnect.mpris_7d7f772db5284c6e92fd52415c5094cb (according to playerctl)
However, it might be possible to detect via the player display name, as seen in this ss
image

it could be better to show a KDE Connect icon...