Allow control of Sonos speakers using Plex API#471
Merged
Hellowlol merged 8 commits intopushingkarmaorg:masterfrom May 10, 2020
Merged
Allow control of Sonos speakers using Plex API#471Hellowlol merged 8 commits intopushingkarmaorg:masterfrom
Hellowlol merged 8 commits intopushingkarmaorg:masterfrom
Conversation
Collaborator
|
Can you document examples and the requirements? Also tests would be great |
Collaborator
Author
|
Docs updated. Any suggestions on testing the public Plex APIs used? The tests like in Perhaps we could mock return some expected XML examples. |
Collaborator
|
Mock would be nice. |
Collaborator
Author
|
@Hellowlol anything else you'd like here? |
Collaborator
|
Nope. Everything seems to be in order. I’ll see if I can’t get it merges this weekend. |
Collaborator
|
Mind checking https://readthedocs.org/projects/python-plexapi/builds/11011580/ |
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.
Plex offers a Plex Pass feature where Plex clients can control music playback on Sonos speakers directly, bypassing the need for using the Sonos app: https://support.plex.tv/articles/218237558-requirements-for-using-plex-for-sonos/.
These calls go through a Plex cloud service so remote access must be open for the control commands to work properly. However, playback will be direct from Plex server -> speaker unless network issues prevent it (ie, broken rebind protection).
Note: Playback will always be reported as "remote" in the Plex Web status page as playback progress is reported by the Plex service, not the speaker directly.
Requirements:
plex.directDNS domainsThis will allow you to control Plex music on your Sonos speakers like so: