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
meisnate12
2f101e3899
Add LabelMixin to Season, Episode, Artist, and Track objects ( #872 )
...
* Add LabelMixin to Episode class
* Add test_mixins.edit_label(episode) test
* Add Label Mixin to Season, Artist,and Track
* fix tests
* Load manual FilteringFields for labels
* Load manual FilteringFilters for labels
Co-authored-by: Elan Ruusamäe <glen@pld-linux.org>
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2022-02-26 17:32:18 -08:00
JonnyWong16
01131c95cf
Cleanup download methods ( #847 )
...
* Add utils.cleanFilename
* Refactor download methods
* Add option to download episodes, tracks, photos into subfolders
* Update download tests
* Test download keep_original_filename
2021-11-20 14:16:58 -08:00
JonnyWong16
2c540f69c8
Add producers, roles, and hasCommercialMarker to Episode objects ( #797 )
...
* Add producers and roles to Episode
* Add producers and roles to episode test
* Add hasCommercialMarker to Episode
2021-07-26 20:36:54 -05:00
JonnyWong16
67b3fc694a
Allow clips and extras to be streamed and downloaded
2021-06-06 17:50:35 -07:00
JonnyWong16
1d031166fc
Cleanup movie reviews and extras
2021-06-06 17:23:34 -07:00
JonnyWong16
6f44933f5b
Clean up Extra object
2021-06-06 16:40:25 -07:00
JonnyWong16
8f2ad955ab
Merge branch 'master' into reviews_extras
2021-06-06 15:02:03 -07:00
JonnyWong16
6448837112
Fix return typo in doc strings
2021-06-06 14:54:15 -07:00
JonnyWong16
7e8c93dcc7
Merge remote-tracking branch 'upstream/master' into bugfix/cleanup_findItems
2021-06-06 14:50:39 -07:00
JonnyWong16
fab55e1227
Merge branch 'master' into reviews_extras
2021-06-06 14:42:16 -07:00
blacktwin
4a4a945653
Move section method from Clip to Extra
2021-05-31 09:50:21 -04: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
blacktwin
44b4066273
Clip.section docstring update
2021-05-28 11:59:07 -04:00
blacktwin
49732cf92a
Extra.addedAt docstring update.
2021-05-28 11:57:57 -04:00
blacktwin
0c8e5f9b5b
Extra atrributes update cast int
2021-05-28 11:46:31 -04:00
JonnyWong16
3fc69a3709
Refactor usage of findItems
2021-05-24 17:28:11 -07:00
blacktwin
c0b6efc23c
Merge branch 'master' into reviews_extras
2021-05-24 07:21:34 -04:00
JonnyWong16
c76b2d4027
Merge remote-tracking branch 'upstream/master' into feature/multi_sort
2021-05-23 20:39:08 -07:00
JonnyWong16
a9597a9008
Merge remote-tracking branch 'upstream/master' into feature/plex_tv
2021-05-23 19:12:38 -07:00
JonnyWong16
d6cd71c971
Add lastRatedAt to Audio and Video
2021-05-15 22:38:35 -07:00
JonnyWong16
5e7a5e572c
Add hasPreviewThumbnails properties
2021-05-10 18:06:50 -07:00
JonnyWong16
b27e12c5d9
Add episodeNumber property
2021-05-10 17:56:06 -07:00
JonnyWong16
64f647e12b
Add addition season and episode attributes
...
* Season.parentStudio
* Season.year
* Episode.parentYear
2021-05-09 21:28:17 -07:00
JonnyWong16
158c5f5633
Merge pull request #730 from JonnyWong16/bugfix/episode_tests
...
Fix retrieving Season.episode() by episode number
2021-05-09 19:44:52 -07:00
JonnyWong16
ecd9309383
Merge pull request #729 from JonnyWong16/feature/smart_collections
...
Add new collection attributes
2021-05-09 19:44:27 -07:00
JonnyWong16
246ad82f86
Add CollectionMixin to Season, Episode, and Track
2021-05-09 12:24:55 -07:00
JonnyWong16
c6c9d83bca
Fix getting Season.episode by episode number
2021-04-24 11:49:36 -07:00
meisnate12
c957c4fc98
exclude leaves from show seasons
2021-04-14 11:43:21 -04:00
blacktwin
8aaa0c09a7
spelling & indent correction
2021-04-14 08:02:04 -04:00
blacktwin
0bacdbeabf
readding MediaContainer import
2021-04-12 13:16:33 -04:00
blacktwin
5d670364d6
fixing import
...
missed last import in copy/paste from master.
2021-04-12 13:12:46 -04:00
blacktwin
790d12504a
flake fix
...
remove trailing comma
2021-04-12 13:10:41 -04:00
blacktwin
f92878d75f
Merge branch 'master' into reviews_extras
2021-04-12 13:08:29 -04:00
meisnate12
5584ef1d4f
Added AdvancedSettingsMixin ( #714 )
...
* Added AdvancedSettingsMixin
* forgot import
* shortened line
* remove whitespace
* removed unused import
* reordered mixins
* Add preference method to AdvancedSettingsMixin
* Add tests for AdvancedSettingsMixin
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2021-04-05 15:44:49 -05:00
JonnyWong16
ef18e2c256
Fix parsing episode parentRatingKey from parentThumb ( #699 )
2021-03-22 14:35:07 -05:00
JonnyWong16
6e501728a0
Cast librarySectionID to int
2021-03-11 13:27:08 -08:00
JonnyWong16
c15133da88
Adds Movie and Artist advanced setting attributes ( #680 )
...
* Add advanced setting attributes to movie
* Add advanced setting attributes to artist
* Update tests for movie advanced setting attributes
* Update tests for artist advanced setting attributes
* Fix artist albumSort attribute
2021-03-11 11:20:28 -06:00
JonnyWong16
7bdc9ed137
Add support for the new Plex TV agent ( #679 )
...
* Add new Plex TV agent to library doc string
* Update new Plex TV agent show/season/episode attributes
* Update tests for new Plex TV agent show/season/episode attributes
* Fix test for show attributes
* Add network attribute to show
* Add show network to tests
2021-03-11 11:19:54 -06:00
blacktwin
9d2ec9546e
Merge branch 'master' into reviews_extras
2021-03-09 08:26:52 -05:00
JonnyWong16
10495809e7
Fix season watched and unwatched
2021-03-01 17:54:19 -08:00
JonnyWong16
8bba39989b
Add tagline attribute to show
2021-02-26 23:01:00 -08:00
JonnyWong16
88dbee7508
Fix flake8
2021-02-14 22:41:17 -08:00
JonnyWong16
aa3c37e5b5
Clean doc strings
2021-02-14 20:06:49 -08:00
JonnyWong16
9fa51cee2a
Subclass image url mixins
2021-02-14 19:38:09 -08:00
JonnyWong16
c41f89bf9b
Factor out artUrl, thumbUrl, bannerUrl to mixins
2021-02-14 19:12:18 -08:00