Skip to content

Conversation

@aymanbagabas
Copy link

@aymanbagabas aymanbagabas commented Jan 6, 2026

This simply adds a new examples module with a play/pause example using
the newly added media control api bindings. This example simply prints the current artist and song from the current active session, the session status, then toggles play/pause.

Needs: #109

Output:

PS C:\Users\Ayman\Source\saltosystems\winrt-go\examples> go run .\playpause\
Now playing: Volkovitsh - Sunset Drive - house mix n°8
Current playback status before toggle: Playing

This simply adds a new examples module with a play/pause example using
the newly added media control api bindings.
@aymanbagabas aymanbagabas force-pushed the media-control-examples branch from 0e94aaf to 1c0cb9b Compare January 7, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants