jjlawren
0426b211f6
Rewrite Plex tests to use mocked payloads ( #44044 )
2021-01-07 19:56:52 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
jjlawren
f2f935506e
Use Plex websocket payloads to reduce overhead ( #42332 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-12-02 19:00:13 +01:00
jjlawren
c63c253b7f
Discover Plex clients using GDM ( #39053 )
2020-10-14 15:46:52 +02:00
jjlawren
df9634a41f
Refactor Plex tests using fixtures ( #40260 )
...
* Refactor Plex tests using fixtures
* Avoid unnecessary coroutine declaration
2020-09-22 22:14:41 -05:00
jjlawren
dd7f282723
Add new Plex movie lookup method for media_player.play_media ( #39584 )
2020-09-04 11:32:36 +02:00
jjlawren
1bc4de2bd3
Add tests for Plex media browser ( #39220 )
2020-08-26 23:24:44 +02:00
jjlawren
ec13eecc59
Update Plex tests to mock websockets ( #37147 )
...
* Update Plex tests to mock websockets
* Avoid unnecessary class mock
2020-06-27 10:03:51 +02:00
jjlawren
40573bf393
Plex tests cleanup and additions ( #37117 )
2020-06-25 23:24:58 -07:00
jjlawren
fd1a8dd96c
Fix Plex when using local tokenless authentication ( #37096 )
2020-06-25 17:10:40 -07:00
jjlawren
d5cc3208af
Discover controllable Plex clients using plex.tv ( #36857 )
2020-06-17 12:04:47 -07:00
jjlawren
59c112a3f2
Decouple media lookup from Plex play_media service ( #35663 )
...
* Decouple media lookup from play_media service
* More explicit input/search validation, cleanup, more tests
* Minor cleanup
* Normalize media_type string in lookup call
* Move key lookup, add tests via service calls
* Always allow play_media service calls
* No need to pass arguments to nested functions
2020-05-26 14:39:56 -05:00
jjlawren
ad419911bc
Add config option to ignore Plex Web clients ( #34708 )
2020-05-08 09:49:15 -07:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
Paulus Schoutsen
454c5d824a
Attempt to fix CI ( #34800 )
2020-04-28 10:31:22 -07:00
jjlawren
c582911879
Refactor Plex device/session updates ( #34616 )
2020-04-23 18:12:39 -07:00
jjlawren
42ca566e05
Improve Plex debounce/throttle logic ( #33805 )
...
* Improve Plex debounce/throttle logic
* Use Debouncer helper, rewrite affected tests
* Mock storage so files aren't left behind
* Don't bother with wrapper method, store debouncer call during init
* Test cleanup from review
* Don't patch own code in tests
2020-04-10 00:49:09 +02:00
jjlawren
d3a4270312
Plex logging additions & cleanup ( #33681 )
2020-04-04 23:21:20 -07:00
jjlawren
42353282d4
Debounce calls to Plex server ( #33560 )
...
* Debounce calls to Plex server
* Simplify debounce by recommendation
* Update tests to handle debounce
* Test debouncer, fix & optimize tests
* Use property instead
2020-04-03 22:34:42 -07:00
jjlawren
44c7743351
Rewrite and add Plex tests ( #32633 )
...
* Rewrite and add Plex tests
* Remove unnecessary mocks
* Explicitly import constants for readability
2020-03-11 09:37:02 -07:00