JonnyWong16
684bbde89b
Change search break condition
...
Fixes #694
When using a PlexAPI operator, fetchItems may return zero results in the first container causing the loop to break early. This changes the break condition to check if the container exceeds the total number of items therefore there will be no more items to fetch.
2021-03-15 09:33:46 -07:00
JonnyWong16
e1ab49f20e
Fix & search operator
2021-03-14 23:34:56 -07:00
JonnyWong16
ea187536c2
Print available libtypes and field types for exception
2021-03-14 15:14:24 -07:00
JonnyWong16
8cc90fc850
Fix libtype for listFilterChoices
2021-03-14 15:05:37 -07:00
JonnyWong16
5bff309a32
More search doc string updates
2021-03-13 11:07:27 -08:00
JonnyWong16
8adedd6b3b
Add deprecated functions filterFields and listChoices
2021-03-12 10:29:40 -08:00
JonnyWong16
4b25d4ab88
Print available filters when raising NotFound
2021-03-12 10:08:14 -08:00
JonnyWong16
b9840eee5c
Update search docs formatting
2021-03-12 09:18:51 -08:00
JonnyWong16
ba98669610
Update search doc string
2021-03-12 00:03:17 -08:00
JonnyWong16
f90b5ac70a
Update search doc string with plexapi operator examples
2021-03-11 23:22:46 -08:00
JonnyWong16
618ed22676
Update search doc string with examples
2021-03-11 22:44:54 -08:00
JonnyWong16
93a5ab6d6d
Fix filter libtype fallback
2021-03-11 22:44:16 -08:00
JonnyWong16
cbdda0b80e
Allow datetime object for filtering date values
2021-03-11 21:14:46 -08:00
JonnyWong16
da5699cd0d
Fix joining search params
2021-03-11 20:32:07 -08:00
JonnyWong16
86072c2cfb
Move libtype to validate functions
2021-03-11 17:43:16 -08:00
JonnyWong16
2c8c5277b5
Fix build docs
2021-03-11 16:36:29 -08:00
JonnyWong16
5cece7d1ce
Change unknown search filters to NotFound
2021-03-11 16:33:34 -08:00
JonnyWong16
08ea6cad4c
Fallback to assume libtype for a filter
2021-03-11 16:33:03 -08:00
JonnyWong16
cd5b0e3898
Update doc strings for list filter methods
2021-03-11 15:37:52 -08:00
JonnyWong16
e5607e10db
Improve matching of libtype for filter field and sort
2021-03-11 15:19:08 -08:00
JonnyWong16
6e501728a0
Cast librarySectionID to int
2021-03-11 13:27:08 -08:00
JonnyWong16
6d4c8e5ea1
Fix flake8 search complexity
2021-03-11 13:12:41 -08:00
JonnyWong16
b3dd52680e
Update validate value exception message
2021-03-11 13:09:11 -08:00
JonnyWong16
95c47c67c7
Remove unused import
2021-03-11 13:06:29 -08:00
JonnyWong16
0de2349113
Rename validateSortField
2021-03-11 13:06:16 -08:00
JonnyWong16
9e063bfcd6
Separate validate functions
2021-03-11 13:04:04 -08:00
JonnyWong16
c4f4743325
Fix sorting with libtype
2021-03-11 12:24:02 -08:00
JonnyWong16
ee161e46ed
Fix searching using MediaTag
2021-03-11 12:23:08 -08:00
JonnyWong16
b35dc53602
Make sure filter values are casted to string
2021-03-11 12:22:44 -08:00
JonnyWong16
1e8d98f074
Add & operator for library search
2021-03-11 12:02:37 -08:00
JonnyWong16
13cc13c57d
Add searchSeasons method to ShowSection
2021-03-11 11:28:55 -08:00
JonnyWong16
146a184838
Add searchMovies method to MovieSection
2021-03-11 11:28:55 -08:00
JonnyWong16
abbace6792
Update library search filtering methods
2021-03-11 11:28:55 -08:00
JonnyWong16
0398895ce6
Update all library filtering related objects
2021-03-11 11:28:55 -08:00
JonnyWong16
811f661576
Add LibrarySection.hubSearch()
2021-03-11 11:28:55 -08: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
Shubhendra Singh Chauhan
12cf146ace
fix: code quality issues ( #670 )
...
* Remove unnecessary use of comprehension
* Remove unnecessary comprehension
* Use literal syntax instead of function calls to create data structure
* Pass string format arguments as logging method parameters
* Remove unused imports
* Remove unnecessary generator
* Refactor `if` expression
* fixed typo
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
* Update tests/test_audio.py
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2021-02-24 11:55:53 -06:00
JonnyWong16
5803af930c
Move collections to a new module
2021-02-14 22:33:03 -08:00
JonnyWong16
a7e5763e78
Merge remote-tracking branch 'upstream/master' into feature/posters
2021-02-07 09:33:15 -08:00
JonnyWong16
88e69d4664
Merge branch 'master' into feature/edit_tags
2021-02-06 20:27:34 -08:00
JonnyWong16
271f4840e6
Merge branch 'master' into feature/posters
2021-02-06 20:26:46 -08:00
JonnyWong16
9c1ac7981d
Rename mixins
2021-02-06 20:21:49 -08:00
JonnyWong16
68b77b67b8
Separate art and poster mixin
2021-02-06 20:19:11 -08:00
JonnyWong16
5c41bf01ac
Add thumbUrl and artUrl properties to collections
2021-01-25 09:14:25 -08:00
JonnyWong16
ee28bef80f
Add support for the new Plex Movie agent ( #628 )
...
* guids collection to movie and GuidTag PlexObject
* Fix flake8
* Clean up GuidTag and Guid
* Add Plex Movie agent to add library doc string
* Change test bootstrap server movie library to Plex Movie
* Update tests for Plex Movie agent
* Mix movie genre test
Co-authored-by: andyloree <andy@andyloree.com>
2021-01-24 21:03:58 -05:00
JonnyWong16
5a4d564fd3
Move poster and art to a mixin
2021-01-24 15:29:20 -08:00
JonnyWong16
c23d9635f5
Rename to mixins
2021-01-24 15:03:23 -08:00
JonnyWong16
1445be25eb
Merge branch 'master' into feature/posters
2021-01-24 14:51:11 -08:00
JonnyWong16
7aaf56a62d
Move all tag editing to a mixin
2021-01-24 14:40:39 -08:00
JonnyWong16
dfc5aa1eef
Fix server hub searches ( #643 )
...
* Add hub search media tag objects
* Fix server search
* Fix hub media tag thumb
* Update server search test with tags
2021-01-24 15:48:38 -05:00