A CLI tool that gets the information provided to SystemMediaTransportControlsSessionManager
(SMTC) in WinRT.
Windows uses this to display what is currently playing:
The CLI code uses GlobalSystemMediaTransportControlsSessionManager
to check the information provided to SystemMediaTransportControlsSessionManager
and tells you the title and artist of the currently playing media on your computer.
The CLI tool will update when:
- The Song changes
- The source changes (i.e. you close Spotify)
Currently I'm still getting the hang of C++ and especially the poorly documented WinRT documentation. This is my attempt to get song info without requiring any external services like Spotify. For now, I would like to focus on:
- Compling a binary for Windows Users to try
- Embedding this in Bittify perhaps?
- Using MacOS's equivalent to SMTC to get music information on Mac Devices
- Optimizing memory usage (I feel like it is constantly copying a string in the while loop)