Allow Cast to play Plex media (#41869)

* Allow Cast to play Plex media

* Add Plex to after_dependencies, add missing constant

* Extract function from Sonos service to allow media lookups

* Move to non-async method

* Check if media_id exists

* Add test to make codecov happy
This commit is contained in:
jjlawren authored and GitHub committed 2020-10-19 16:34:22 -05:00
1 parent c8821d930e
commit e6e4c9cf59
7 files changed
+110 -44

No files matched your search

+2
View File
@@ -49,3 +49,5 @@ MANUAL_SETUP_STRING = "Configure Plex server manually"
SERVICE_PLAY_ON_SONOS = "play_on_sonos"
SERVICE_REFRESH_LIBRARY = "refresh_library"
SERVICE_SCAN_CLIENTS = "scan_for_clients"
PLEX_URI_SCHEME = "plex://"