ReenigneArcher
a6b6ebfbff
style: lint all python files ( #1228 )
2023-08-28 20:29:39 -07:00
JonnyWong16
b98b6050fe
Add properties to return the Plex Media Server data metadata paths ( #1207 )
...
* Add property to return the Plex Media Server data metadata path
* Add property to return the filepath for a resource
* Add tests for metadataDirectory and resourceFilepath
2023-08-27 12:59:53 -07:00
JonnyWong16
9ede493f4c
Add LibrarySection
methods to multi-edit items ( #1184 )
...
* Use generator for string join
* Group media type edit mixins
* Add UserRatingMixin
* Add LibrarySection methods to multi-edit items
* Remove deprecated banners
* Factor out resource lock/unlock mixins
* Update `fetchItems` to accept list of rating keys
* Add repr and helper methods to Common object
* Update tests
2023-07-27 14:45:23 -07:00
JonnyWong16
37b37f1af0
Fix code block doc string formatting ( #1144 )
2023-05-24 13:55:22 -07:00
JonnyWong16
3c64bdb11c
Add support for editing addedAt
field ( #1107 )
...
* Add AddedAtMixin
* Add tests for AddedAtMixin
2023-03-09 15:22:56 -08:00
JonnyWong16
be42435ed3
Factor out playQueue()
method to PlexPartialObject
( #1058 )
...
* Factor out `playQueue` to `PlexPartialObject`
* Update `PlayQueue.create()`
* Fix playqueue tests
2022-12-21 11:43:26 -08:00
JonnyWong16
9b0c8e5fd3
More f-string changes ( #1025 )
2022-11-08 13:40:18 -08:00
JonnyWong16
020a32f2b8
Update PlexAPI to f-strings ( #1000 )
...
* Update plexapi to f-strings
* Update tests to f-strings
2022-08-27 22:56:01 -07:00
JonnyWong16
c8854c64c9
Add return self to various methods to support chaining ( #986 )
...
* Add return self to various methods to support chaining
* Fix runButlerTask test
2022-08-26 14:44:50 -07:00
meisnate12
6b29307aa2
Add ManagedHub Object and methods ( #785 )
2022-08-26 10:43:47 -07:00
JonnyWong16
372e620d60
Add support for collection "filtering based on user" advanced setting ( #894 )
...
* Add collectionFilterBasedOnUser attribute
* Add filterUserUpdate method
* Check for smart collection for updateSort
* Update test collection filterUserUpdate
2022-02-26 22:50:04 -08:00
JonnyWong16
3e57c9b262
Add extras and hubs mixins ( #890 )
2022-02-26 22:04:18 -08:00
JonnyWong16
59638dc714
Add new methods to edit object fields ( #876 )
...
* Update Collection.edit() method
* Add new EditFieldMixin and subclasses
* Add EditFieldMixin to Plex objects
* Update PlexPartialObject.edit() doc string
* Cast Track parentIndex to int
* Add base _searchTypes property
* Add kwargs to editField
* Editing album title also requires the artist ratingKey
* Add tests for editing fields
* Deprecate Collection.edit()
* Make editing fields chainable
* Add chaining example to doc string
* Add batch editing mode
* Add test for batchEdits
* Clean up mixins imports
* Reorder mixins
* Fix tests for batch edit
2022-02-26 21:40:51 -08:00
ReenigneArcher
3917b335ca
Fix various typos ( #880 )
...
* Fix various typos
* Fix various typos in tests
* Fix typos in `tests`
* Fix more typos
* Fix hasScalingMatrix test
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2022-02-26 19:26:08 -08:00
ReenigneArcher
9a5170c2fb
Add Themes Support ( #879 )
...
* Fix typo in 'grandparentThumb'
* Add Themes support
* Fix Themes for Seasons and Episodes
Themes are not available for Seasons or Episodes according to this: https://web.archive.org/web/20150113085312/http://dev.plexapp.com/docs/agents/models.html
* Add Themes to Artists, Albums, and Tracks
Themes are available for Artists according to this: https://web.archive.org/web/20150113085312/http://dev.plexapp.com/docs/agents/models.html
* Update per PR review
* Update BaseResource and Theme classes
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2022-02-26 18:47:54 -08:00
JonnyWong16
42260aa1b6
Add libtype argument for creating smart playlists ( #799 )
...
* Add libtype keyword argument for smart playlists
* Update docs, remove libtype collection from smart playlists/collections
* Cannot create a smart playlist or collection from other collections
* Update smart playlist filter test for libtype
2021-07-26 20:46:30 -05:00
JonnyWong16
31de29d502
Merge pull request #783 from JonnyWong16/feature/custom_collection_order
...
Add ability to move items in a collection
2021-07-16 09:21:25 -07:00
JonnyWong16
b7e8b37b3e
Add method to move items in a collection
2021-06-29 20:08:19 -07:00
JonnyWong16
dd0e3789f6
Add SmartFilterMixin to collections and playlists
2021-06-18 14:26:48 -07:00
JonnyWong16
1d031166fc
Cleanup movie reviews and extras
2021-06-06 17:23:34 -07:00
JonnyWong16
e965ebbbe6
Merge remote-tracking branch 'upstream/master' into feature/rating_mixin
2021-06-06 12:54:09 -07:00
JonnyWong16
38114b62ba
Check item exists in playlist before removing or moving
2021-06-02 09:23:39 -07:00
JonnyWong16
6e58f7f70e
Refactor lastRatedAt userRating attributes
2021-05-30 15:49:45 -07:00
JonnyWong16
06ff7410a6
Add rating mixin
2021-05-30 15:49:45 -07:00
JonnyWong16
4458977988
Improve test coverage
2021-05-29 19:26:31 -07:00
JonnyWong16
b2ecd2b7f9
Add AdvancedSettingsMixin to Collection
2021-05-29 18:48:31 -07:00
JonnyWong16
c84215df7a
Move _uriRoot() to PlexServer
2021-05-29 18:22:27 -07:00
JonnyWong16
06da110203
Clean up doc strings
2021-05-29 17:58:55 -07:00
JonnyWong16
99ca6a5647
Add collection sync
2021-05-29 16:57:43 -07:00
JonnyWong16
ccc6091bb4
Fix collection length
2021-05-29 16:57:42 -07:00
JonnyWong16
04c25953fe
Fix collection and playlist edit for blank values
2021-05-29 16:57:42 -07:00
JonnyWong16
0512e9f38e
Add collection modification methods
2021-05-29 16:57:41 -07:00
JonnyWong16
ef136a8c9c
Add create Collection class methods
2021-05-29 16:57:40 -07:00
JonnyWong16
246ad82f86
Add CollectionMixin to Season, Episode, and Track
2021-05-09 12:24:55 -07:00
JonnyWong16
276a4f3b59
Add new collection attributes
2021-04-23 13:45:24 -07:00
JonnyWong16
6e501728a0
Cast librarySectionID to int
2021-03-11 13:27:08 -08:00
JonnyWong16
89d52418a6
Merge pull request #665 from JonnyWong16/feature/mixins
...
Add banner mixin to shows and clean up art/poster mixins
2021-02-24 09:23:23 -08:00
JonnyWong16
61a68ebf8a
Merge remote-tracking branch 'upstream/master' into feature/mixins
2021-02-24 09:04:52 -08:00
JonnyWong16
b10420fcce
Merge remote-tracking branch 'upstream/master' into bugfix/warnings
2021-02-24 08:58:35 -08:00
JonnyWong16
72244f558d
Fix deprecated collection.children to items
2021-02-15 17:04:50 -08:00
JonnyWong16
5803af930c
Move collections to a new module
2021-02-14 22:33:03 -08:00