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
Jason Lawrence
d98275f6ac
Temporarily reduce testing load
2020-12-03 21:05:06 -06:00
jjlawren
623229bd38
Fix country metadata test ( #614 )
2020-12-03 17:18:35 -06:00
JonnyWong16
c89355b535
Update requirements_dev.txt
2020-12-03 11:55:07 -08:00
jjlawren
a1a42b8add
Explicitly trigger on master branch ( #613 )
2020-12-03 13:31:33 -06:00
jjlawren
59ec9ff982
Github Actions followup ( #612 )
...
* Try to fix branch triggers, update badge
* Revert trigger branch
* Trigger CI on any PR
* Disable Travis
2020-12-03 13:12:47 -06:00
JonnyWong16
0e625b9fe2
Merge branch 'master' into bugfix/doc_build
2020-12-03 11:06:53 -08:00
Steffen Fredriksen
3b015dabf7
Merge pull request #602 from jjlawren/add_github_actions
...
Use Github Actions as CI
2020-12-03 19:00:09 +01:00
Jason Lawrence
580c5822c6
Final cleanup
2020-12-03 11:45:07 -06:00