Commit graph

19 commits

Author SHA1 Message Date
jjlawren
a1d632c5d1
Bump plexapi to 4.15.3 ()
* Bump plexapi to 4.15.3

* Update tests for updated account endpoint

* Update tests for updated resources endpoint

* Switch to non-web client fixture

* Set __qualname__ attribute for new library behavior
2023-09-29 23:04:00 -04:00
Allen Porter
12129e9d21
Update service call return values and error handling ()
* Update return signature of service calls

* Add timeout error handling in websocket api for service calls

* Update recorder tests to remove assertion on service call

* Remove timeout behavior and update callers that depend on it today

* Fix tests

* Add missing else

* await coro directly

* Fix more tests

* Update the intent task to use wait instead of timeout

* Remove script service call limits and limit constants

* Update tests that depend on service call limits

* Use wait instead of wait_for and add test

* Update homeassistant/helpers/intent.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-06-16 07:01:40 -07:00
epenet
2cdc741900
Add type hints to integration tests (part 17) () 2023-02-15 11:14:04 +01:00
epenet
41d2ac3943
Cleanup MediaClass and MediaType in tests ()
Cleanup MediaClass/MediaType in tests
2022-09-20 17:55:13 +02:00
jjlawren
112d232c2e
Autoresume in-progress items from Plex media browser () 2022-03-29 11:08:26 +02:00
jjlawren
653305b998
Support multiple Plex servers in media browser () 2022-03-21 15:48:44 -07:00
jjlawren
b34da1294c
Improve Plex media search failure feedback () 2022-03-17 13:57:22 -07:00
jjlawren
cdad1a9f27
Use local Sonos API for Plex music playback () 2022-01-25 21:10:11 -08:00
jjlawren
3672889609
Add warning if Sonos not linked to Plex () 2021-10-24 12:51:45 -10:00
jjlawren
0600a21e02
Allow advanced Plex play_media search options () 2021-10-24 11:22:16 -10:00
Ville Skyttä
380cff167e
Use HTTPStatus in components/[nop]* () 2021-10-23 20:56:30 +02:00
jjlawren
d7e0391e03
Allow Plex playback using provided playqueue ID () 2021-01-28 17:21:31 +01:00
jjlawren
1f66457a34
Separate Plex/Sonos cross-integration tests () 2021-01-21 11:22:19 +01:00
jjlawren
411cc6542c
Move Plex->Sonos playback to built-in service ()
* Move Plex->Sonos playback service from integration to platform

* Test against 'native' Plex media_players

* Add Plex to Sonos after_dependencies

* Remove circular dependency

* Raise exceptions in failed service calls

* Add test to forward service call from Sonos

* Additional Sonos->Plex tests

* Fix docstring
2021-01-13 15:24:44 +01:00
jjlawren
0426b211f6
Rewrite Plex tests to use mocked payloads () 2021-01-07 19:56:52 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest () 2021-01-01 22:31:56 +01:00
jjlawren
df9634a41f
Refactor Plex tests using fixtures ()
* Refactor Plex tests using fixtures

* Avoid unnecessary coroutine declaration
2020-09-22 22:14:41 -05:00
jjlawren
aecd74c6af
Add service to scan for new Plex clients () 2020-09-03 09:35:37 +02:00
jjlawren
cb1cf2238d
Add Plex service to refresh a library ()
* Add Plex service to refresh a library

* Clean up rebase leftovers

* Re-run black

* Fix docstring

Co-authored-by: Charles Garwood <cgarwood@newdealmultimedia.com>

Co-authored-by: Charles Garwood <cgarwood@newdealmultimedia.com>
2020-09-02 13:56:41 -05:00