JonnyWong16
185696e87e
Register LyricStream as a PlexObject ( #1434 )
2024-06-22 11:18:40 -07:00
Thomas Montague
f1c3d3adff
Fix: Set media and part indexes when generating stream url ( #1428 )
...
Fixes #1427
2024-06-22 11:13:55 -07:00
JonnyWong16
a4e6ec67ef
Allow getting client by machine identifier ( #1418 )
2024-06-22 11:13:14 -07:00
JonnyWong16
dd80deb18f
Release 4.15.13
2024-05-18 13:43:46 -07:00
dependabot[bot]
ce472a7ec7
Bump coveralls from 3.3.1 to 4.0.1 ( #1415 )
...
Bumps [coveralls](https://github.com/TheKevJames/coveralls-python ) from 3.3.1 to 4.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/3.3.1...4.0.1 )
---
updated-dependencies:
- dependency-name: coveralls
dependency-type: direct:development
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>
2024-05-18 12:28:26 -07:00
dependabot[bot]
26a920d372
Bump tqdm from 4.66.2 to 4.66.4 ( #1410 )
...
Bumps [tqdm](https://github.com/tqdm/tqdm ) from 4.66.2 to 4.66.4.
- [Release notes](https://github.com/tqdm/tqdm/releases )
- [Commits](https://github.com/tqdm/tqdm/compare/v4.66.2...v4.66.4 )
---
updated-dependencies:
- dependency-name: tqdm
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>
2024-05-18 12:28:18 -07:00
dependabot[bot]
5a6ab1aa28
Bump pytest from 8.1.1 to 8.2.0 ( #1407 )
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 8.1.1 to 8.2.0.
- [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/8.1.1...8.2.0 )
---
updated-dependencies:
- dependency-name: pytest
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>
2024-05-18 12:20:52 -07:00
dependabot[bot]
e08b3f030c
Bump websocket-client from 1.7.0 to 1.8.0 ( #1406 )
...
Bumps [websocket-client](https://github.com/websocket-client/websocket-client ) from 1.7.0 to 1.8.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/v1.7.0...v1.8.0 )
---
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>
2024-05-18 12:20:45 -07:00
JonnyWong16
2142514955
Add support for editing audience ratings and critic ratings ( #1417 )
...
* Add support for editing audience ratings and critic ratings
* Note: Not all types of ratings are supported/shown in the Plex UIs. However they can be edited/updated and stored in the Plex Media Server database.
* Add tests for editing audience rating and critic rating
2024-05-18 12:16:49 -07:00
JonnyWong16
7b317ef822
Update default language for library add ( #1416 )
...
* Update default language for library add
* Add explicit photo library language to bootstrap server
2024-05-18 12:16:18 -07:00
Jam
5e6db51f53
(Temporary Fix) Changed friends route to the v2 sharings route ( #1413 )
2024-05-18 11:50:29 -07:00
JonnyWong16
bbdb238583
Allow adding items from different server to playlist ( #1411 )
2024-05-11 09:37:22 -07:00
JonnyWong16
4f6723c072
Increase on-demand subtitles test timeout ( #1405 )
2024-04-22 21:29:31 -07:00
jjlawren
76ca35219a
Fix escape sequence in docstring regex ( #1404 )
2024-04-22 20:57:49 -07:00
JonnyWong16
39e0223c84
Release 4.15.12
2024-04-19 13:19:08 -07:00
JonnyWong16
7f589c24dd
Test for NotFound
exception when adding to watchlist ( #1403 )
2024-04-19 12:56:28 -07:00
Dr.Blank
25fa930c61
Fix: Bug introduced in #1373 list
has not attr tag
( #1396 )
...
* regression test for https://github.com/Taxel/PlexTraktSync/discussions/1901
* bugfix https://github.com/Taxel/PlexTraktSync/discussions/1901
2024-04-19 12:42:16 -07:00
zhu0823
0108c95bd8
feat: Add params parameter to request ( #1395 )
...
* feat: Add params parameter to request
* Update plexapi/base.py
Co-authored-by: Dr.Blank <64108942+Dr-Blank@users.noreply.github.com>
---------
Co-authored-by: 朱校明 <zhuxiaoming@dstcar.com>
Co-authored-by: Dr.Blank <64108942+Dr-Blank@users.noreply.github.com>
2024-04-19 12:00:24 -07:00
JonnyWong16
d9be0e6f06
Revert "addToWatchlist
raise NotFound
exception for invalid media ( #1401 )" ( #1402 )
...
This reverts commit bf925c60e1
.
2024-04-19 11:18:25 -07:00
Touchstone64
3e752d5f27
Fix: stop maxresults from overwriting previous results #1393 ( #1394 )
...
* Fix: stop maxresults from overwriting previous results
* Added test for use of maxresults in fetchItems #1393
* Removed the need for last_container_size #1393
* Renamed collections to better represen what is being tested
* Renamed collections to better represent what is being tested #1393
* Update tests/test_library.py with cleaner test
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
---------
Co-authored-by: Graham Thompson <graham.c.thompson@gmail.com>
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2024-04-19 10:57:54 -07:00
JonnyWong16
bf925c60e1
addToWatchlist
raise NotFound
exception for invalid media (#1401 )
2024-04-19 10:52:19 -07:00
JonnyWong16
f5126a7ff1
Fix library timeline test ( #1400 )
2024-04-19 10:38:26 -07:00
dependabot[bot]
24f07fd94a
Bump pillow from 10.2.0 to 10.3.0 ( #1391 )
...
Bumps [pillow](https://github.com/python-pillow/Pillow ) from 10.2.0 to 10.3.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/10.2.0...10.3.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>
2024-04-19 09:53:42 -07:00
JonnyWong16
991c5e303e
Release 4.15.11
2024-03-31 16:00:48 -07:00
Dr.Blank
b836d24226
MediaContainer
class is now a list (#1373 )
...
* MediaContainer class is now a list
- can now support totalSize as returned from server
* add tests for media container
* Update MediaContainer attributes if previously None when extending
2024-03-31 15:48:24 -07:00
blacktwin
5b5d4c66ab
Fix Library.add()
method to properly apply advanced settings ( #1384 )
...
* Fixing how advanced settings params are set and adding a prefix & when appending advanced settings. Update parts append to use f-string
* Adding basic test to include Advanced settings.
* lint fix
* fix failing test
* lint fix in test
* Update test_library.py
Add section deletion after testing
2024-03-31 15:40:17 -07:00
dependabot[bot]
d51022d683
Bump codecov/codecov-action from 3 to 4 ( #1351 )
...
* Bump codecov/codecov-action from 3 to 4
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4 )
---
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>
* Add CODECOV_TOKEN to CI workflow
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2024-03-31 09:31:10 -07:00
dependabot[bot]
0e9f87e311
Bump requests-mock from 1.11.0 to 1.12.1 ( #1390 )
...
Bumps [requests-mock](https://github.com/jamielennox/requests-mock ) from 1.11.0 to 1.12.1.
- [Release notes](https://github.com/jamielennox/requests-mock/releases )
- [Commits](https://github.com/jamielennox/requests-mock/compare/1.11.0...1.12.1 )
---
updated-dependencies:
- dependency-name: requests-mock
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>
2024-03-30 16:29:33 -07:00
dependabot[bot]
ddf19e004e
Bump pytest-cov from 4.1.0 to 5.0.0 ( #1387 )
...
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov ) from 4.1.0 to 5.0.0.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v4.1.0...v5.0.0 )
---
updated-dependencies:
- dependency-name: pytest-cov
dependency-type: direct:development
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>
2024-03-30 16:29:25 -07:00
dependabot[bot]
b482a5a1e3
Bump pytest-mock from 3.12.0 to 3.14.0 ( #1386 )
...
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock ) from 3.12.0 to 3.14.0.
- [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/v3.12.0...v3.14.0 )
---
updated-dependencies:
- dependency-name: pytest-mock
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>
2024-03-30 16:20:05 -07:00
dependabot[bot]
387d8c8e60
Bump pytest from 8.0.0 to 8.1.1 ( #1382 )
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 8.0.0 to 8.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/8.0.0...8.1.1 )
---
updated-dependencies:
- dependency-name: pytest
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>
2024-03-30 16:19:53 -07:00
Fletcher
b7f2913fbc
Fix typo in getGuid docstring cache example ( #1381 )
2024-03-16 15:18:25 -07:00
JonnyWong16
642ba8ba12
Allow exclude parameters in reload kwargs ( #1378 )
...
* Allow exclude parameters in reload
* Add test for reload kwargs
2024-03-16 15:18:14 -07:00
Elan Ruusamäe
b494e8e2f1
Fix: Raise an exception when trying to create a smart collection/playlist with items ( #1377 )
...
* Disallow using smart playlist with items
* Change exception message
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
* Also check for state when creating collections
---------
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2024-03-16 15:17:40 -07:00
JonnyWong16
97faf3ccce
Disable sonic analysis task on bootstrap test server ( #1371 )
2024-03-16 15:04:03 -07:00
JonnyWong16
f779ed76e8
Fix escape characters in fetchItems doc string ( #1370 )
2024-03-16 15:03:55 -07:00
JonnyWong16
0601aaa40e
Add helper object to retrieve PlexObject ( #1369 )
2024-03-16 15:03:44 -07:00
Dr.Blank
7802b79d30
feat: Add sonicAdventure method to MusicSection ( #1361 )
...
* Add sonicAdventure method to MusicSection
* satisfy flake8
* sonicAdventure accepts Track as param
* test with both types for sonicAdventure
* Add authentication to recently added music test
* Fix test_library.py to include missing newline character
* Add sonicAdventure method to Track class
* fix doc as suggested
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
* fix bound on sonicAdventure method
- add type to docstr
* Apply suggestions from code review
- pass in plexpass account to tests
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
* make tests pass on bootstrap
- still asserts it is an iterable
- still checks all elements are tracks
- in case no adventure found, does not fail
---------
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2024-03-16 15:03:36 -07:00
JonnyWong16
da033aa7d0
Update history tests ( #1374 )
...
* Update history tests
* Update episode directors attribute test
2024-03-15 20:21:23 -07:00
JonnyWong16
abcab4f78d
Release 4.15.10
2024-02-17 14:57:59 -08:00
dependabot[bot]
67e9d37f78
Bump tqdm from 4.66.1 to 4.66.2 ( #1364 )
...
Bumps [tqdm](https://github.com/tqdm/tqdm ) from 4.66.1 to 4.66.2.
- [Release notes](https://github.com/tqdm/tqdm/releases )
- [Commits](https://github.com/tqdm/tqdm/compare/v4.66.1...v4.66.2 )
---
updated-dependencies:
- dependency-name: tqdm
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>
2024-02-17 14:50:28 -08:00
Elan Ruusamäe
9a541771f5
Remove leftover "syntax: glob" from Mercurial migration ( #1363 )
...
See 35269614
commit
And stackoverflow post:
- https://stackoverflow.com/questions/56010229/what-does-syntax-glob-regexp-mean-in-a-gitignore-file/56010335#56010335
2024-02-17 14:42:29 -08:00
Dr.Blank
cfce82af34
Fix class reference in fetchItems method ( #1362 )
2024-02-17 14:41:53 -08:00
Elan Ruusamäe
4b67b4db5c
Lowercase input of istartswith/iendswith ( #1359 )
...
To be symmetric with other case insensitive methods
that lowercase both operands in comparison
2024-02-17 14:35:53 -08:00
Elan Ruusamäe
7c99d4af05
Breaking: Change regex/iregex to use re.search instead of re.match ( #1358 )
...
* Change regex/iregex to use re.search instead of re.match
This is BREAKING CHANGE
* Also cast to bool.
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
---------
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2024-02-17 14:35:25 -08:00
JonnyWong16
26447d1931
Add exception for two-factor required ( #1357 )
...
* Add exception for two-factor required
* Update tools/plex-gettoken.py with 2FA exception
2024-02-17 14:34:43 -08:00
Dr.Blank
41f6b9cf93
Refactor attribute filtering in PlexObject class ( #1341 )
...
* Refactor attribute filtering in PlexObject class
- minor performance imporvement
* Update plexapi/base.py
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
---------
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2024-02-17 14:16:21 -08:00
Elan Ruusamäe
9d9dca8f44
Feature: Add source property to playlist items to support remote playlist entries ( #1335 )
...
* Add source property to Video
A Playlist entry if added a remote server item has field "source" initialized with value like `server://<server_id>/com.plexapp.plugins.library`
* Add source to Episode
* Fix flake8 error
E261 at least two spaces before inline comment
* Add source to Track
* Add source to Photo
* Rename the field to sourceURI
* Update plexapi/audio.py
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
* Update plexapi/photo.py
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
* Update plexapi/video.py
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
* Update plexapi/video.py
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
* Fix flake line length issue
---------
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2024-02-17 14:16:10 -08:00
JonnyWong16
284a5773e3
Add genres attribute to Track ( #1318 )
...
* Add genres attribute to Track
* Test track genres
* Add GenreMixin to Tracks
* Add test for editing track genre
2024-02-17 14:11:07 -08:00
JonnyWong16
b831aaeb48
Add slug attributes to Movie, Show, Season, and Episode ( #1317 )
...
* Add slug attributes to videos
* Add tests for slug attributes
2024-02-17 14:10:45 -08:00