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

Generic mechanism for setting source properties #2060

Conversation

kingosticks
Copy link
Member

Backends may reimplement PlaybackProvider.on_source_setup if they need to set additional source element properties e.g.
for authentication.

We'll need this (or something like this) to set the credentials for spotifyaudiosrc.

Needs some tests.

Backends may reimplement `PlaybackProvider.on_source_setup` if
they need to set additional source element properties e.g.
for authentication
@kingosticks kingosticks added the A-audio Area: Audio layer label Aug 31, 2022
@kingosticks kingosticks added this to the Next feature release milestone Aug 31, 2022
@kingosticks kingosticks self-assigned this Aug 31, 2022
@kingosticks
Copy link
Member Author

Added some tests

@kingosticks
Copy link
Member Author

kingosticks commented Aug 31, 2022

Mopidy-Spotify would then look something like this

@kingosticks kingosticks merged commit 5a59ad3 into mopidy:develop Nov 18, 2022
@kingosticks kingosticks deleted the feature/playbackprovider-on-source-setup branch November 18, 2022 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-audio Area: Audio layer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants