raitonoberu / sptlrx

Synchronized lyrics in your terminal
MIT License
354 stars 14 forks source link

[Windows] System-wide players support (SMTC) #16

Closed raitonoberu closed 1 year ago

raitonoberu commented 2 years ago

Currently, only MPRIS on Linux allows you to use system-wide players to get the currently playing track and position. sptlrx would be much more useful for Windows users if we could add support for System Media Transport Controls.

But I have no idea how to use Go to get such information.

raitonoberu commented 1 year ago

I played a little with WinRT APIs. It turns out that this is not possible, applications simply do not return the current position.