JonnyWong16
1c521308e2
Add totalViewSize method to LibrarySection and search bug fixes ( #712 )
...
* Fix more library section ID cast to int
* Add method to return library size for specific libtypes
* Add test for library totalViewSize
* Fix totalViewSize test episode count
* Don't need to use library _totalSize cache
* Validate title search arg as a filter kwarg
* Only validate search title if it is a list
* Update doc string for totalViewSize
2021-03-24 20:58:12 -05:00
Jason Lawrence
2bde234408
Bump to 4.5.0
2021-03-22 17:01:32 -05:00
JonnyWong16
cc313c5d5a
Change photos sync test to get photos by date added instead of device ( #709 )
2021-03-22 15:14:22 -05:00
dependabot-preview[bot]
445fa895dc
Update pytest-mock requirement from <=1.11.1 to <3.5.2 ( #685 )
...
Updates the requirements on [pytest-mock](https://github.com/pytest-dev/pytest-mock ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases )
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-mock/compare/v0.1.0...v3.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-22 15:03:07 -05:00
dependabot-preview[bot]
5396d853b3
Bump pillow from 8.0.1 to 8.1.2 ( #682 )
...
Bumps [pillow](https://github.com/python-pillow/Pillow ) from 8.0.1 to 8.1.2.
- [Release notes](https://github.com/python-pillow/Pillow/releases )
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst )
- [Commits](https://github.com/python-pillow/Pillow/compare/8.0.1...8.1.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-22 14:59:15 -05:00
dependabot-preview[bot]
e30ec8f910
Bump requests from 2.25.0 to 2.25.1 ( #686 )
...
Bumps [requests](https://github.com/psf/requests ) from 2.25.0 to 2.25.1.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/master/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.25.0...v2.25.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-22 14:52:31 -05:00
dependabot-preview[bot]
cb347d2df8
Bump pytest from 6.1.2 to 6.2.2 ( #687 )
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 6.1.2 to 6.2.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/6.1.2...6.2.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-22 14:51:26 -05:00
dependabot-preview[bot]
424c220f40
Bump websocket-client from 0.57.0 to 0.58.0 ( #690 )
...
Bumps [websocket-client](https://github.com/websocket-client/websocket-client ) from 0.57.0 to 0.58.0.
- [Release notes](https://github.com/websocket-client/websocket-client/releases )
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog )
- [Commits](https://github.com/websocket-client/websocket-client/compare/v0.57.0...v0.58.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-22 14:50:21 -05:00
dependabot-preview[bot]
31e6d4ecb9
Bump pytest-cov from 2.10.1 to 2.11.1 ( #689 )
...
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov ) from 2.10.1 to 2.11.1.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases )
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v2.10.1...v2.11.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-22 14:49:30 -05:00
dependabot-preview[bot]
136dbe7123
Bump sphinx-rtd-theme from 0.5.0 to 0.5.1 ( #688 )
...
Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme ) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/readthedocs/sphinx_rtd_theme/releases )
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst )
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/0.5.0...0.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-22 14:48:56 -05:00
dependabot-preview[bot]
711672c614
Bump recommonmark from 0.6.0 to 0.7.1 ( #684 )
...
Bumps [recommonmark](https://github.com/rtfd/recommonmark ) from 0.6.0 to 0.7.1.
- [Release notes](https://github.com/rtfd/recommonmark/releases )
- [Changelog](https://github.com/readthedocs/recommonmark/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rtfd/recommonmark/compare/0.6.0...0.7.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-22 14:47:22 -05:00
dependabot-preview[bot]
b833ad8ccb
Bump coveralls from 2.2.0 to 3.0.1 ( #683 )
...
Bumps [coveralls](https://github.com/TheKevJames/coveralls-python ) from 2.2.0 to 3.0.1.
- [Release notes](https://github.com/TheKevJames/coveralls-python/releases )
- [Changelog](https://github.com/TheKevJames/coveralls-python/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TheKevJames/coveralls-python/compare/2.2.0...3.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-22 14:46:59 -05:00
dependabot-preview[bot]
74de174399
Bump tqdm from 4.54.0 to 4.59.0 ( #681 )
...
Bumps [tqdm](https://github.com/tqdm/tqdm ) from 4.54.0 to 4.59.0.
- [Release notes](https://github.com/tqdm/tqdm/releases )
- [Commits](https://github.com/tqdm/tqdm/compare/v4.54.0...v4.59.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-22 14:46:37 -05:00
Elan Ruusamäe
a3d43781fa
Add deviceID to Playable for history entries ( #704 )
...
* Add deviceID to Playable for history entries
* Add missing documentation for accountID/deviceID
2021-03-22 14:40:13 -05:00
jjlawren
f59f150bab
Improve PlexClient connections ( #701 )
...
* Improve PlexClient connections
* Add docstring
2021-03-22 14:37:52 -05:00
JonnyWong16
1d4e911ef5
Add clientIdentifier attribute to SystemDevice ( #703 )
...
* Add clientIdentifier attribute to SystemDevice
* Add test for SystemDevice clientIdentifier
* Add methods to return a specific SystemAccount or SystemDevice by ID
* Update tests for SystemAccounts and SystemDevices
2021-03-22 14:35:57 -05:00
JonnyWong16
ef18e2c256
Fix parsing episode parentRatingKey from parentThumb ( #699 )
2021-03-22 14:35:07 -05:00
jjlawren
b9f897c949
Fix PR template location ( #702 )
2021-03-22 14:34:28 -05:00
Elan Ruusamäe
bc5f095460
bugreport: fix snippets typo ( #705 )
2021-03-22 14:32:57 -05:00
JonnyWong16
f92d9d5e8c
Fix myplex share section ID cast to int ( #708 )
...
* Fix myplex share section ID cast to int
* Fix typo in search doc string
2021-03-22 14:31:54 -05:00
Steffen Fredriksen
1beee642fb
Merge pull request #693 from JonnyWong16/feature/library_search
...
Fix and update library searching
2021-03-21 17:38:53 +01:00
JonnyWong16
813770ac74
Add additional test for libtype fallback for search field
2021-03-19 16:47:30 -07:00
JonnyWong16
b9798e9589
Fix searchSeasons test
2021-03-19 16:36:50 -07:00
JonnyWong16
c02a005a70
Add more search tests
2021-03-19 16:27:28 -07:00
JonnyWong16
61d73be8a3
Don't use utils.cast for search values
2021-03-19 16:27:16 -07:00
JonnyWong16
1674d08ab3
Add tests for library search
2021-03-19 15:53:20 -07:00
JonnyWong16
3422bb7fb8
Separate search function for flake8 complexity
2021-03-15 10:06:54 -07:00
JonnyWong16
357818a857
Use separate totalViewSize cache for searching
...
Fixes #695
totalSize was getting overwritten when using search with a different libtype. This makes totalSize independant from search.
2021-03-15 10:03:01 -07:00
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
061ad9fefd
More PlexAPI filtering docs to fetchItems
2021-03-12 09:18:36 -08:00
JonnyWong16
ba98669610
Update search doc string
2021-03-12 00:03:17 -08:00
JonnyWong16
1c180c074c
Update screenshots
2021-03-12 00:02:51 -08:00
JonnyWong16
d752b351d5
Update fetchItem doc string
2021-03-11 23:23:03 -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