Added Apple Music Support - #560
Open
MultiDrew97 wants to merge 15 commits into
Open
Conversation
…ie#551 for integration. Now have to figure out how to get play info from AppleMusic api in Windows
…e for text updates and extra add on features for potential future changes or features
added docstrings for maintainers later if they wish to look at them updated WaitForAction function to rely on Task instead of AsyncOperation for the better function flow
…data function instead of directly updating the file itself now Made a new function in TextHandler called UpdateMetadata so that the metadata file can be updated without requiring to update the song info directly. This opens up adding other things like playtime for extra display capabilities.
close to ready for PR merge
Added Apple Music support information to README.
…s when no session is active added cancellation token support for the asyn operations so that if the user switches modules, the tokens can also send a canellation out to stop those operations updated to use custom enum for commands instead of relying on Globals.MediaCommand since it seems the rest of the project doesn't use it either in the manner I was at least
…m my AutoIncrement tool that I didn't notice messed with these. They AssemblyVerison was reverted to original value before starting and AssemblyFileVersion was left for was it was when finished Updated Nuget for Microsoft.Windows.SDK.Contracts reference
MultiDrew97
marked this pull request as ready for review
July 29, 2026 18:48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This doesn't exactly use any Apple Music APIs or anything at the moment, but does reliably get track information using the windows Media Transport control APIs that are used for things like the overlay for windows itself. I just saw the project and knew how small Apple Music reach was and being one of the 2 in the world that codes and has Apple Music, figure I'd help out.
This was tested on my Windows 11 desktop using Apple Music installed from Microsoft Store. It reliably (as reliably as 1-machined) pulls the track information and uses the supplied functions to output the information as expected from the program, and was tested with other plugins that rely on your main branch. I only slightly modified the Metadata writing in the update text function so that nothing breaks for anything else, but to also allow for updating the Metadata only without having to update everything together if not needed. It wasn't something that was needed; and it can be completely removed if wanted and I can update my one function that does call it; but thought it would be nice for any other plugins that may to allow for playtime info being added in as well without having to update all the text together.
Totally had a blast contributing for the first time and hope I did alright for your repo!