Desktop App Windows SMTC support
Problem Description
Windows SMTC does not recognize the desktop app as a media player, meaning plugins/tray applications such as Media Presence can not function with SimpMusic.
Proposed Solution
For your media player to be detected by Music Presence, it needs to report what media it is playing to the operating system. On Windows this would e.g. be done via SMTC (System Media Transport Controls), which is the Windows API that pretty much every media player or application uses to offer playback information and media controls to the user through Windows's native controls: https://imgur.com/a/YDQegwW Implementing this would not only make your media player work with Music Presence, but also offer every user of your player a better user experience and proper integration with the operating system, which ultimately improves the quality of your media player as a whole.
Alternative Solutions
Your media player should report at least this information to work flawlessly with Music Presence: Playback status (playing or paused), song title, artist, album name, live playback position, song duration and the album cover image. Official Windows Documentation for SMTC: https://learn.microsoft.com/en-us/uwp/api/windows.media.systemmediatransportcontrols On Mac devices the "MediaRemote" framework is used by Music Presence to detect media from applications, on Linux your media player should use MPRIS to report what it is playing. These are standard protocols/APIs which are widely used for the purpose of reporting what media an application is playing.
Additional Context
No response
Wait, the native control in Windows dont work with SimpMusic ?
Wait, the native control in Windows dont work with SimpMusic ?
Indeed, the native Windows driver doesn't recognize simpmusic as a music player. This is still happening, at least, in version 1.1.1 on Windows 11. I'm not entirely sure why, as I have no coding experience, but it's strange because, in my experience, any application that plays audio or sound is usually recognized by Windows well enough to at least allow pausing and unpausing.
any updates on this? panoscrobbler isnt able to detect trackname, artist name nor the album name.
Windows SMTC (System Media Transport Controls) support has been implemented and will ship in the next desktop release.
The Windows now-playing overlay now shows the track title, artist, and album artwork, and the play / pause / next / previous buttons control playback. This is backed by a hardened fork of the JMTC library (org.simpmusic:jmtc) with the native adapter reworked for stability.
Fixed on the dev branch — thanks for the request!