Commit graph

1471 commits

Author SHA1 Message Date
Steffen Fredriksen
2fa4d31654
fix typo 2020-12-31 00:38:48 +01:00
Hellowlol
f367f04d8d Lets try to increate the timeout. 2020-12-31 00:28:13 +01:00
Steffen Fredriksen
c6ac8abd9c
Merge pull request #631 from JonnyWong16/feature/librarysection_all
Update LibrarySection.all() for more filtering/sorting and faster results
2020-12-30 21:42:56 +01:00
JonnyWong16
d5c29cc626
Override libtype for PhotoSection.all() 2020-12-26 20:53:55 -08:00
JonnyWong16
ce51fc70e9
Fix library section all test with max results 2020-12-23 17:46:38 -08:00
JonnyWong16
00f80cb424
Check if LibrarySection.search() filter is an OPERATOR 2020-12-23 17:13:51 -08:00
JonnyWong16
473b7aae65
Pass remaining filtered kwargs to LibrarySection.search() 2020-12-23 17:00:14 -08:00
JonnyWong16
1d0527bd7e
Update LibrarySection.all() method
* Uses LibrarySection.search() for more filter/sorting options and faster paging of results
2020-12-23 17:00:14 -08:00
jjlawren
5200a95e79
Add codecov configuration (#615)
* Add codecov configuration

* Separate claimed & unclaimed coverage reports

* Re-enable coverage comments
2020-12-17 01:06:22 -06: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
5102201969
Fix disable settings for bootstrap test server (#627)
* Fix disable intro scanning for unclaimed server

* Disable intro marker setting for bootstrap server only with Plex Pass

* Move disable settings outside try/except so errors don't get swallowed
2020-12-15 22:26:58 -06:00
JonnyWong16
b3ea71e62c
Clean up test_server_transcodeImage (#626) 2020-12-15 21:46:24 -06:00
Jason Lawrence
2d743a5709 Reduce test matrix to only 3.7 2020-12-15 11:18:35 -06:00
jjlawren
5130bc9123
Github action to publish to PyPI (#443)
* Github action to publish to pypi

* Only upload to PyPI on published github releases

* Update workflow to use publish action
2020-12-14 15:54:54 -06:00
Steffen Fredriksen
dcd2663645
Merge pull request #616 from JonnyWong16/bugfix/collection_children
Fix collection children
2020-12-14 00:45:30 +01:00
Steffen Fredriksen
b3f69010a1
Merge pull request #619 from JonnyWong16/feature/object_parent
Add method to keep track of the parent PlexObject as children are built
2020-12-14 00:44:18 +01:00
JonnyWong16
edd5b514ed
Rename _isChildOf method 2020-12-13 12:41:53 -08:00
JonnyWong16
6cb2168ef0
Update PlexObject doc string 2020-12-13 12:41:43 -08:00
JonnyWong16
0d6c43558a
Add method to keep track of the parent PlexObject 2020-12-13 12:41:43 -08:00
JonnyWong16
aa9b530b2e
Fix doc building with DeprecationWarning 2020-12-13 12:36:43 -08:00
JonnyWong16
110789dd0c
Add utils.deprecated decorator function 2020-12-13 12:08:38 -08:00
JonnyWong16
4a3d7db9fa
Restore deprecated Collection.children 2020-12-13 11:59:37 -08:00
JonnyWong16
8958aea67f
Change collection children to items 2020-12-13 11:33:27 -08:00
JonnyWong16
a6cdbb1f20
Add test for collection children 2020-12-13 11:33:27 -08:00
JonnyWong16
a341cdad5b
Fix collection children 2020-12-13 11:33:00 -08:00
Steffen Fredriksen
d5701aa8c4
Merge pull request #620 from JonnyWong16/feature/sync_tests
Fix sync tests when using a token
2020-12-09 22:35:08 +01:00
JonnyWong16
2cf0d7edab
Fix rare case where details_key is None 2020-12-06 19:04:18 -08:00
JonnyWong16
0411449a70
Cannot test myplex device with changing device name from parallel tests 2020-12-06 19:04:14 -08:00
JonnyWong16
ac549bbd90
Add test to sync client identifier 2020-12-06 17:43:33 -08:00
JonnyWong16
2a31fe3329
Remove test sync client in teardown 2020-12-06 17:43:33 -08:00
JonnyWong16
8e531537fd
Update sync tests in CI workflow 2020-12-06 17:43:11 -08:00
JonnyWong16
8ebe0c7f55
Update sync tests
Fix sync tests
2020-12-06 17:43:11 -08:00
JonnyWong16
d88d5f7290
No cover for createMyPlexDevice 2020-12-06 17:42:44 -08:00
JonnyWong16
f6d61857ad
Only show Deprecation warnings 2020-12-06 17:42:44 -08:00
JonnyWong16
f70058ad13
Add helper function to create a Plex device 2020-12-06 17:42:44 -08: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
f22fa5694b
Merge pull request #597 from jjlawren/get_playqueue
Add method to retrieve a PlayQueue
2020-12-05 14:13:23 +01: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
Steffen Fredriksen
16a63f131c
Merge pull request #617 from JonnyWong16/feature/library_collections_playlists
Change LibrarySection collections method to plural and add playlists method
2020-12-05 14:11:42 +01:00
JonnyWong16
422f82ead4
Test Collection delete by creating a new collection 2020-12-05 01:08:00 -08:00
JonnyWong16
5282342113
Add test Collection delete 2020-12-05 00:42:22 -08:00
JonnyWong16
99fc0095cb
Add tests for LibrarySection.collections() and playlists() 2020-12-05 00:18:29 -08:00
JonnyWong16
9786546a05
Also log DeprecationWarning 2020-12-04 23:54:43 -08:00
jjlawren
0b66396f69
Disable media scanning jobs in bootstrap (#618)
* Disable intro scanning and thumbnail generation in bootstrap

* Also disable chapter thumbnails and audio loudness analysis
2020-12-04 16:26:26 -06:00
JonnyWong16
d4c22617cb
Add LibrarySection playlists method 2020-12-04 12:28:11 -08:00
JonnyWong16
86d51bae6c
Change LibrarySection collections method to plural
* Add DeprecationWarning to old collection method
* Add NotImplementedError for PhotoSection.collections()
2020-12-04 12:27:45 -08: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
jjlawren
589941fb17
Remove playlist created during tests (#611) 2020-12-03 22:56:08 -06:00