JonnyWong16
f41be90a3a
More doc string clean up
2020-12-23 22:24:46 -08:00
JonnyWong16
3430c245e2
Make sure key defaults to blank string so fix #50 works
2020-12-23 22:17:43 -08:00
JonnyWong16
8206dfbade
Fix flake8
2020-12-23 22:00:00 -08:00
JonnyWong16
2acb75f86f
Update all methods used to get an object's children
2020-12-23 21:38:48 -08:00
JonnyWong16
6f5cae2a72
More etag relacement with classes
2020-12-23 20:48:58 -08:00
JonnyWong16
d433c0b3d4
Update locations doc strings for consistency
2020-12-23 20:40:08 -08:00
JonnyWong16
7f1e2cafab
Update LibrarySection doc strings
2020-12-23 20:39:45 -08:00
JonnyWong16
41342b4f7b
Replace use of etag with class
2020-12-23 20:39:15 -08:00
JonnyWong16
22bfeb0820
Update test_audio index is integer
2020-12-23 16:56:00 -08:00
JonnyWong16
99c447525a
Update library.Collection attributes
2020-12-23 16:16:22 -08:00
JonnyWong16
cf56d9a13c
Update photo attributes
2020-12-23 16:16:22 -08:00
JonnyWong16
1c5942986d
Update video attributes
2020-12-23 15:53:57 -08:00
JonnyWong16
50633d3601
Update audio attributes
2020-12-23 15:53:57 -08:00
JonnyWong16
497ceaec9e
Add Style media tag
2020-12-23 15:53:57 -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