FichteFoll / discordrp-mpris

Discord Rich Presence through media players providing the mpris2 dbus interface
MIT License
86 stars 19 forks source link

add "YouTube Music" player icon #34

Open mariuszste opened 1 year ago

mariuszste commented 1 year ago

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.

novafurry commented 3 months ago

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

novafurry commented 3 months ago

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