elibroftw / music-caster

Music Caster is a modern music player with the ability to cast audio files, system audio, and URLs to Google Chromecasts, Google Home/Nest Minis, etc.
https://elijahlopez.ca/music-caster/
Other
142 stars 16 forks source link

Add Windows Universal Media Controls #64

Open Tasye24 opened 1 year ago

Tasye24 commented 1 year ago

Add this to have like showed in this article

Tasye24 commented 1 year ago

To also have in the action bar on the window bar

elibroftw commented 1 year ago

Going to be busy from today onwards so won't be able to work on this for a while.

https://learn.microsoft.com/en-us/uwp/api/windows.media.mediacontrol?view=winrt-22621 https://learn.microsoft.com/en-us/uwp/api/windows.media.systemmediatransportcontrols?view=winrt-22621 https://learn.microsoft.com/en-us/windows/uwp/audio-video-camera/integrate-with-systemmediatransportcontrols https://github.com/Microsoft/Windows-universal-samples/tree/main/Samples/SystemMediaTransportControls https://pypi.org/project/winrt/

pywinrt

elibroftw commented 2 months ago

Okay so I added support for the System Media Transport Control, but I might need a core window? I'll look into it some more

Yeah unfortunately, this would require writing a C++ module which I don't have the time for right now unfortunately.