Add Spotify playback functionality via SMTC #30
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.
I'm also not usually a C++ developer and this is my first foray into Cyberpunk modding (why are there so many core mods doing seemingly similar things) so I'd appreciate any feedback or suggestions for improvement :)
This change adds a default
Spotify Radio
station that allows for playback on the actual Spotify app. Requires the Spotify app to be open, and then it plays/pauses automatically. The in-game radio station volume controls will not work, so the user must change the volume through the Spotify app. I've done some basic testing, as shown in the video below, but more thorough testing is still needed.Video of the functionality
The above video doesn't capture the SMTC overlay, which displays when playing/pausing playback:
Visualised readme changes for convenience: