BoiHanny / vrcosc-magicchatbox

The ultimate companion, whether you're on desktop or in VR, we've got you covered with our handy integrations in a compact and modern UI
Other
92 stars 16 forks source link

inconsistent playback data from windows media api #56

Open LordVertice opened 2 months ago

LordVertice commented 2 months ago

playback in firefox (works as intended) image

foobar2000 (missing time) image

media player (shows as paused, no song name or artist, but time is shown) image

VLC and audacity don't work at all.

is this a bug in MagicChatbox, or an issue with the applications not providing the data properly? can this be fixed on your end?

BoiHanny commented 1 month ago

I've just released an update for the media player to address the issue where it appeared as paused while showing the time.

https://github.com/BoiHanny/vrcosc-magicchatbox/releases/tag/v0.8.886

The interaction between some applications and the Windows Media API can be inconsistent. Some applications may only provide partial data, such as just the song title without the artist, or just the playback time. Unfortunately, if the data isn't available from the application, there's nothing we can do to retrieve it.

LordVertice commented 1 month ago

Hm, I see. Is there any way to see the playback data that applications provide? I couldn't really find any documentation on how the Windows Media API works online.

I'd look at how MCb does it in the code, if I was familiar with C# at all, haha