Commit graph

151 commits

Author SHA1 Message Date
JonnyWong16
a40063630d
Add method to switch users for a PlexServer 2021-05-11 16:38:50 -07:00
JonnyWong16
1c521308e2
Add totalViewSize method to LibrarySection and search bug fixes (#712)
* Fix more library section ID cast to int

* Add method to return library size for specific libtypes

* Add test for library totalViewSize

* Fix totalViewSize test episode count

* Don't need to use library _totalSize cache

* Validate title search arg as a filter kwarg

* Only validate search title if it is a list

* Update doc string for totalViewSize
2021-03-24 20:58:12 -05:00
JonnyWong16
f92d9d5e8c
Fix myplex share section ID cast to int (#708)
* Fix myplex share section ID cast to int

* Fix typo in search doc string
2021-03-22 14:31:54 -05:00
JonnyWong16
92490a2cdb
Update sharing doc strings 2021-02-26 22:51:22 -08:00
JonnyWong16
a263f49b10
Fix sorting of resource connections (#653)
* Fix sorting of resource connections

* Update resource connect doc strings

* flake8 single variable name connection
2021-02-01 21:59:34 -05:00
jjlawren
4da40789ea
Reduce log level of MyPlex resource connection attempts (#647) 2021-01-20 13:07:03 -05:00
blacktwin
35fb440cc1 update REMOVEINVITE string (#584) 2021-01-19 12:35:35 -05:00
JonnyWong16
eeda5dfd67
Fix exception doc strings 2021-01-02 16:44:18 -08:00
JonnyWong16
f8c325ce2f
Add server dashboard bandwidth and resources 2021-01-02 16:44:02 -08:00
JonnyWong16
9d23ec072e
Fix race condition in create MyPlexDevice from #620 (#625)
* Make test Plex Pass entitlements a subset

* Fix create MyPlexDevice race condition

* Rename to clientId to be consistent

* Move link method to MyPlexAccount
2020-12-15 22:41:04 -06:00
JonnyWong16
121d54d86c
Retrieve device using clientIdentifier 2020-12-06 17:42:44 -08:00
JonnyWong16
966ac5515b
Allow custom headers for MyPlexPinLogin 2020-12-06 17:42:44 -08:00
JonnyWong16
9adf29f2c6
Update MyPlexPinLogin for Plex API v2
* Also adds method to link a device using the pin
2020-12-06 17:42:44 -08:00
Steffen Fredriksen
ad7709611e
Merge pull request #608 from JonnyWong16/bugfix/doc_build
Update building documentation using napoleon
2020-12-05 14:12:21 +01:00
jjlawren
f4229050d4
Allow setting token env in tests (#610)
* Allow setting token env for test runs

* Use existing config option

* Use token in CI tests
2020-12-04 11:37:19 -06:00
JonnyWong16
b451b22bb8
Fix doc building 2020-11-23 12:20:56 -08:00
JonnyWong16
274b05e913
Fix raise exception docs 2020-11-22 20:43:59 -08:00
JonnyWong16
7f7d03236b
Fix docstrings 2020-11-22 19:06:30 -08:00
Jason Lawrence
4c8fef144e Fix ElementTree warnings 2020-06-29 17:31:05 -05:00
jjlawren
4a24d50036
Reduce timeout to expire Sonos resource cache (#500) 2020-05-27 09:36:55 -05:00
jjlawren
4193012bc2
Improve Sonos ID lookup (#496) 2020-05-26 15:09:39 -05:00
Jason Lawrence
735e26f257 Sonos lookup fixes and tests 2020-05-15 08:45:46 -05:00
Hellowlol
940efc0013 first pass on compat. 2020-05-12 23:15:16 +02:00
Jason Lawrence
95188b0f72 Add Sonos cache & speaker lookup methods, set X-Plex-Client-Identifier 2020-04-28 15:19:18 -05:00
Jason Lawrence
55b335ee7c Add lookup & control of linked Sonos speakers 2020-04-28 14:06:26 -05:00
Sascha Montellese
62cb7585ca Add myplex.MyPlexPinLogin 2020-04-20 23:14:15 +02:00
Jason Lawrence
a6cfe4225a Raise NotFound on 404 errors 2020-04-15 17:09:27 -05:00
blacktwin
ba1559dcdc flake fix
line too long
2020-04-13 13:30:54 -04:00
blacktwin
4cbccabee8
Merge branch 'master' into new_hubs 2020-04-12 22:40:15 -04:00
jjlawren
dd91ae41f4
Use Unauthorized exception (#447)
* Use Unauthorized exception in server, myplex, client
2020-04-09 15:56:26 -05:00
Hellowlol
18afdc2ec8 some linting 2020-03-14 15:52:54 +01:00
blacktwin
3ca655b9a8 update news method with correct url 2020-02-10 11:18:42 -05:00
blacktwin
11a1b6e449 remove 'hubs/' from global vars and append to methods
setting global var without hubs for future reference
2020-02-10 11:13:53 -05:00
blacktwin
0dfae68830 update NEWS endpoint 2020-02-06 13:23:07 -05:00
blacktwin
0259eeacbe correct new tidal method 2020-02-06 13:06:39 -05:00
blacktwin
25431b0e9a correct new podcasts method 2020-02-06 13:06:26 -05:00
blacktwin
6469e68070 correct new news method 2020-02-06 13:06:11 -05:00
blacktwin
e399e54d6a correct new webShows method 2020-02-06 13:05:50 -05:00
blacktwin
88b5016fb8 correct new videoOnDemand method 2020-02-06 13:05:19 -05:00
blacktwin
206fa231c7 update tidal to use batchingItems 2019-12-06 00:39:15 -05:00
blacktwin
fdc8c9ec93 update podcasts to use batchingItems 2019-12-06 00:39:00 -05:00
blacktwin
688f78a4ec update news to use batchingItems 2019-12-06 00:38:48 -05:00
blacktwin
320a99cc4d update webShows to use batchingItems 2019-12-06 00:38:31 -05:00
blacktwin
f849693646 update videoOnDemand to use batchingItems 2019-12-06 00:38:09 -05:00
blacktwin
0e69be702e remove Hub import 2019-12-06 00:37:31 -05:00
blacktwin
9b84b0deae import library Hub class 2019-12-05 13:03:27 -05:00
blacktwin
d6f7ad7e10 Adding music/tidal url and function 2019-12-05 13:02:22 -05:00
blacktwin
f7938cf06e Adding podcasts url and function 2019-12-05 13:00:29 -05:00
blacktwin
922845d7b6 Adding news url and function 2019-12-05 12:57:27 -05:00
blacktwin
bd2519b35b Adding webshows url and function 2019-12-05 12:55:39 -05:00