JonnyWong16
3107e25a0e
Fix searching and browsing Discover results ( #970 )
...
* Fix discover search results
* Plex API response changed to separate "Free on Demand" and "More Ways To Watch"
* Add test for searchDiscover
* Manually set watchlist and discover result to online metadata objects
* Replace all key format ratingKey with key
* Add libtype argument to searchDiscover
* Update tests for searchDiscover libtype
* Add includeUserState=1 parameter to Discover results details key
* Add method to return UserState object
2022-07-20 19:37:48 -07:00
JonnyWong16
117af58897
Add guids attribute to Artist, Album, and Track ( #968 )
...
* Add guids attribute to Artist, Album, and Track
* PMS 1.27.0.5897 adds `<Guid>` tags with MusicBrainz ID to artists, albums, and tracks.
https://forums.plex.tv/t/plex-media-server-forum-preview-for-music-metadata/785088
https://forums.plex.tv/t/plex-media-server/30447/510
* Update audio guid tests
2022-07-20 19:35:46 -07:00
JonnyWong16
caca24f10f
Add MediaPartStream.languageTag
attribute ( #959 )
...
* Add `MediaPartStream.languageTag` attribute
* Add `languageTag` to tests
2022-07-20 19:06:06 -07:00
JonnyWong16
76240dc7a8
Add method to switch Plex Home users ( #958 )
...
* Add method to switch Plex Home users
* Update user parameter types in doc strings
2022-07-20 19:05:29 -07:00
Matt McDowall
188b4a4e7e
Define ratingCount
attribute in doc ( #955 )
2022-07-20 19:03:00 -07:00
dependabot[bot]
4ceedfbadf
Bump actions/cache from 3.0.4 to 3.0.5 ( #980 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3.0.4...v3.0.5 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 18:08:46 -07:00
dependabot[bot]
e718a0fc68
Update pytest-mock requirement from <3.7.1 to <3.8.3 ( #976 )
...
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/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-mock/compare/v0.1.0...v3.8.2 )
---
updated-dependencies:
- dependency-name: pytest-mock
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 18:08:39 -07:00
dependabot[bot]
6b743fd7e4
Bump pillow from 9.1.1 to 9.2.0 ( #975 )
...
Bumps [pillow](https://github.com/python-pillow/Pillow ) from 9.1.1 to 9.2.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases )
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst )
- [Commits](https://github.com/python-pillow/Pillow/compare/9.1.1...9.2.0 )
---
updated-dependencies:
- dependency-name: pillow
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 18:08:31 -07:00
JonnyWong16
ae78557931
Fix show studio test ( #979 )
2022-07-20 17:00:55 -07:00
dependabot[bot]
2b960cf868
Bump websocket-client from 1.3.2 to 1.3.3 ( #966 )
...
Bumps [websocket-client](https://github.com/websocket-client/websocket-client ) from 1.3.2 to 1.3.3.
- [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/v1.3.2...v1.3.3 )
---
updated-dependencies:
- dependency-name: websocket-client
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-28 17:02:28 -05:00
JonnyWong16
f361b29973
Fix movie year test ( #967 )
2022-06-20 09:01:27 -07:00
dependabot[bot]
e91715aec8
Bump actions/setup-python from 3 to 4 ( #961 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-11 09:21:27 -05:00
dependabot[bot]
c11f63641e
Bump actions/cache from 3.0.2 to 3.0.4 ( #960 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.0.2 to 3.0.4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3.0.2...v3.0.4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-11 09:20:36 -05:00
JonnyWong16
9e918a43a7
Release 4.11.2
2022-05-30 09:06:09 -07:00
Elan Ruusamäe
650fbac312
Remove extending from (object), not needed in Python 3 ( #943 )
2022-05-30 09:05:00 -07:00
JonnyWong16
f16058fa03
Minor improvements to fetching season/show ( #950 )
...
* Check parentIndex is an integer for Episode.seasonEpisode
* Saves an extra API call to `season()` for Season 0 (Specials)
* Use parentKey and grandparentKey to fetch show
2022-05-30 09:01:55 -07:00
JonnyWong16
f7f2b6b115
Make sure PlexObject private attributes are set before loading data ( #946 )
2022-05-30 08:53:27 -07:00
jjlawren
e78835b234
Release 4.11.1
2022-05-19 14:48:39 -05:00
jjlawren
8e099dd15c
Avoid overwriting auto-reloaded attributes with None ( #944 )
2022-05-19 14:48:01 -05:00
JonnyWong16
8d805968c4
Release 4.11.0
2022-05-18 11:12:54 -07:00
JonnyWong16
fba0dbccf2
Add support for watchlists and streaming services ( #922 )
...
* Remove Plex news
* Replace requests with query method for online hubs
* Add myPlexAccount watchlist methods
* Add mixin for objects that can be added to watchlist
* Add tests for watchlist
* Always split ratingKey from guid for watchlist
* Add method to retrieve streaming service availability
* Add test for streaming service availability
* Add filtering and sorting for watchlists
* Fix watchlist tests
* Add method to check if an item is on a user's watchlist
* Update watchlist tests
* Make account optional for WatchlistMixin
* Add Discover search
* Use manuallyLoadXML method for Discover search results
* Remove webshows and podcasts
* Fix WatchlistMixin account AttributeError
* Add BadRequest exception when adding to/removing from watchlist
* Update watchlist tests for BadRequest
* Update watchlist doc strings
2022-05-18 11:04:18 -07:00
dependabot[bot]
999f302867
Bump pillow from 9.1.0 to 9.1.1 ( #942 )
...
Bumps [pillow](https://github.com/python-pillow/Pillow ) from 9.1.0 to 9.1.1.
- [Release notes](https://github.com/python-pillow/Pillow/releases )
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst )
- [Commits](https://github.com/python-pillow/Pillow/compare/9.1.0...9.1.1 )
---
updated-dependencies:
- dependency-name: pillow
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-18 12:06:10 -05:00
dependabot[bot]
816e7e36d3
Bump actions/cache from 3.0.1 to 3.0.2 ( #941 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3.0.1...v3.0.2 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-18 12:05:46 -05:00
JonnyWong16
ecd0d9530c
Add collection label to search filters ( #937 )
2022-05-16 20:03:46 -07:00
JonnyWong16
8303d6fa2c
Allow disabling auto-reloading when accessing missing attributes ( #935 )
...
* Rename _autoReload to _overwriteNone
* Allow disabling auto reloading
* Update test for disabling auto reloading
* Change autoReload to private attribute
2022-05-16 20:03:06 -07:00
JonnyWong16
b14a653a3b
Fix PlexServer.isBrowsable(path)
when running Plex API on a different OS ( #933 )
2022-05-16 19:58:52 -07:00
JonnyWong16
6fc7d95266
Add support for Plex guid in LibrarySection.getGuid()
( #926 )
...
* Add support for Plex guid in `LibrarySection.getGuid()`
* Update getGuid test with Plex guid
2022-05-16 19:54:51 -07:00
JonnyWong16
2683655dcf
Get album track by track number without keyword argument ( #918 )
...
* Get album track by track number
* Update tests for `Album.track()`
* Also updates test for `Season.episode()`
2022-05-16 19:52:16 -07:00
JonnyWong16
153ef66df0
Add method to manually run butler tasks ( #916 )
...
* Add butler tasks
* Add tests for butler tasks
2022-05-16 19:51:39 -07:00
Karthikeyan Singaravelan
e0eb619561
Set daemon attribute instead of using setDaemon method that was deprecated in Python 3.10. ( #913 )
2022-05-16 19:46:21 -07:00
JonnyWong16
82aede202d
Use breadth-first search when using rtag
( #912 )
2022-05-16 19:46:10 -07:00
Kian-Meng Ang
398c058f18
Fix typos ( #939 )
2022-05-16 15:39:42 -05:00
dependabot[bot]
df9a2ec889
Bump pytest from 7.1.1 to 7.1.2 ( #934 )
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.1.1 to 7.1.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.1.1...7.1.2 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 15:35:31 -05:00
dependabot[bot]
526497fb33
Bump tqdm from 4.63.0 to 4.64.0 ( #920 )
...
Bumps [tqdm](https://github.com/tqdm/tqdm ) from 4.63.0 to 4.64.0.
- [Release notes](https://github.com/tqdm/tqdm/releases )
- [Commits](https://github.com/tqdm/tqdm/compare/v4.63.0...v4.64.0 )
---
updated-dependencies:
- dependency-name: tqdm
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 15:35:19 -05:00
dependabot[bot]
fa21f982fe
Bump codecov/codecov-action from 2.1.0 to 3.1.0 ( #932 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2.1.0 to 3.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2.1.0...v3.1.0 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 15:34:52 -05:00
dependabot[bot]
e9dfc2a198
Bump actions/setup-python from 2 to 3.1.1 ( #925 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 2 to 3.1.1.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2...v3.1.1 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 15:34:42 -05:00
dependabot[bot]
89c0655a69
Bump actions/download-artifact from 2 to 3 ( #929 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 15:27:50 -05:00
dependabot[bot]
47bc2ffa48
Bump actions/upload-artifact from 2 to 3 ( #928 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 15:27:18 -05:00
dependabot[bot]
f9dd4a1cc2
Bump pillow from 9.0.1 to 9.1.0 ( #919 )
...
Bumps [pillow](https://github.com/python-pillow/Pillow ) from 9.0.1 to 9.1.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases )
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst )
- [Commits](https://github.com/python-pillow/Pillow/compare/9.0.1...9.1.0 )
---
updated-dependencies:
- dependency-name: pillow
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 15:24:43 -05:00
dependabot[bot]
618db00db8
Bump actions/cache from 2 to 3.0.1 ( #917 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2 to 3.0.1.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v2...v3.0.1 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 15:24:10 -05:00
dependabot[bot]
74f3e2b206
Bump websocket-client from 1.2.3 to 1.3.2 ( #915 )
...
Bumps [websocket-client](https://github.com/websocket-client/websocket-client ) from 1.2.3 to 1.3.2.
- [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/v1.2.3...v1.3.2 )
---
updated-dependencies:
- dependency-name: websocket-client
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 15:23:45 -05:00
JonnyWong16
76caa1d95e
Fix episode writers test ( #938 )
2022-05-16 11:45:27 -07:00
JonnyWong16
26671ec0b1
Fix movie tagline test ( #927 )
2022-04-07 09:58:06 -07:00
dependabot[bot]
a40837fd19
Bump pytest from 7.1.0 to 7.1.1 ( #909 )
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.1.0...7.1.1 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-18 08:28:16 -05:00
jjlawren
8429cfd94d
Release 4.10.1
2022-03-17 16:54:51 -05:00
jjlawren
d03a27450d
Allow exclusion keys in sharing settings ( #908 )
2022-03-17 16:54:27 -05:00
jjlawren
549e76b25a
Fix playMedia and goToMedia when using a different PMS ( #907 )
2022-03-17 15:49:33 -05:00
Zac West
ae30818ba5
Enable external media in responses, e.g. Tidal ( #905 )
2022-03-17 15:46:05 -05:00
Teddy Katayama
55620e92cb
patch: _show_secrets always False ( #904 )
2022-03-17 15:14:18 -05:00
JonnyWong16
d248f1418b
Fix test track ratingCount attribute ( #898 )
2022-03-17 14:57:25 -05:00