Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add windows 10 audio source #216

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

dsafa
Copy link
Owner

@dsafa dsafa commented Jul 17, 2019

Summary

This audio source would use the information from apps integrated with the system media transport controls.

Checklist

Additional details / comments

The main api is the GlobalSystemMediaTransportControlsSessionManager class which allows access to get access to all current sessions. We can use it to get an active current session which we can then use to query for playback information. Sessions also provide events when information changes which makes the implementation even easier.

Current testing with it exposes some issues. Applications like Spotify integrate with SMTC but don't report information like track length and track progress. There are also issues with events randomly deciding to stop working. There needs to be more investigation into these issues.

Manual test steps (if applicable)

@GlitchedCod
Copy link

Very cool ! Please respond to my comment when it is done so that I can use Groove music with it !

@svr333
Copy link

svr333 commented Jun 24, 2021

@GlitchedCod I added it to my fork
The timeline doesn't work yet though but Ill try to fix it

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.

Add audio source for windows 10 media transport controls
4 participants