jeffvli / sonixd

A full-featured Subsonic/Jellyfin compatible desktop music player
GNU General Public License v3.0
1.87k stars 73 forks source link

Can you write playback progress to SMTC, so that other applications can call to get and synchronize lyrics? #305

Open Chikage0o0 opened 2 years ago

Chikage0o0 commented 2 years ago

Is your feature request related to a problem? Please describe. Currently there are projects that can get the playback progress and song title singer through SMTC, and display desktop lyrics.

https://github.com/cnbluefire/HotLyric

So can the software write the playback progress to SMTC at the same time, so that other software can get the playback progress information easily.

Describe the solution you'd like Write the playback progress information to SystemMediaTransportControlsTimelineProperties, so that other software can call it easily.

jeffvli commented 2 years ago

I will try to add this in 1.0.0.

If you or someone else wants to try adding it for the current 0.x.x version, the current SMTC controls are implemented here: https://github.com/jeffvli/sonixd/blob/c430494653a260a69f3e47b833bcd4e9750df90a/src/main.dev.js#L276-L338