Commit graph

2527 commits

Author SHA1 Message Date
JonnyWong16
99205d3b86
Set correct server instance for playlist items (#1463) 2024-11-16 13:58:16 -08:00
JonnyWong16
4a8f7483c2
Fix editing single objects when batchMultiEdit() is enabled (#1479)
Fixes #1475
2024-11-16 13:54:27 -08:00
dependabot[bot]
aba6b9862f
Bump pytest from 8.3.2 to 8.3.3 (#1465)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.2 to 8.3.3.
- [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.3.2...8.3.3)

---
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>
2024-09-22 11:52:08 -07:00
JonnyWong16
19582eb649
Add voice activity analysis (#1466)
* Add hasVoiceActivity attribute to Media

* Update tests for voice activity analysis

* Fix movie year test

* Add canAutoSync attribute to SubtitleStream
2024-09-22 11:51:57 -07:00
JonnyWong16
23ffc01756
Include hidden files to upload coverage artifact (#1464) 2024-09-08 17:07:32 -07:00
JonnyWong16
2125b64b40
Release 4.15.16 2024-08-18 13:14:18 -07:00
dependabot[bot]
6752a8412f
Bump tqdm from 4.66.4 to 4.66.5 (#1456)
Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.66.4 to 4.66.5.
- [Release notes](https://github.com/tqdm/tqdm/releases)
- [Commits](https://github.com/tqdm/tqdm/compare/v4.66.4...v4.66.5)

---
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-08-18 13:01:08 -07:00
dependabot[bot]
6ba0d6635a
Bump flake8 from 7.1.0 to 7.1.1 (#1455)
Bumps [flake8](https://github.com/pycqa/flake8) from 7.1.0 to 7.1.1.
- [Commits](https://github.com/pycqa/flake8/compare/7.1.0...7.1.1)

---
updated-dependencies:
- dependency-name: flake8
  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-08-18 13:00:59 -07:00
JonnyWong16
add406bcd4
Fix artist ultraBlurColors test (#1458) 2024-08-18 13:00:48 -07:00
dependabot[bot]
0fc9273a4d
Bump pytest from 8.2.2 to 8.3.2 (#1446)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.2 to 8.3.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/8.2.2...8.3.2)

---
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-08-18 12:27:08 -07:00
JonnyWong16
1a0eb3cb9a
Add UltraBlurColors objects (#1454)
* Add UltraBlurColors

* Test UltraBlurColors

* Test UltraBlurColors attributes

* Fix tests
2024-08-18 12:25:18 -07:00
JonnyWong16
075e7d7e12
Add support for artist popular tracks (#1453)
* Add artist popular tracks

* Test artist popular tracks
2024-08-17 14:26:11 -07:00
JonnyWong16
e23cd8d158
Sanitize XML strings before parsing (#1452) 2024-08-17 14:07:12 -07:00
JonnyWong16
bbe3e8e49f
Improve reload performance (#1451)
* Change default includes to false

* Update isFullObject() check

* Fix checkFiles in tests
2024-08-17 14:00:22 -07:00
ReenigneArcher
d5604670d5
ci(coverge): upload coverage if tests fail (#1442) 2024-08-05 17:05:40 -07:00
ReenigneArcher
c28c7bf384
ci(pytest): add colored output (#1441) 2024-08-05 17:05:26 -07:00
JonnyWong16
d88f14e271
Release 4.15.15 2024-07-06 10:51:16 -07:00
dependabot[bot]
9ae34c6fef
Bump pillow from 10.3.0 to 10.4.0 (#1436)
Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.3.0 to 10.4.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.3.0...10.4.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-07-06 10:00:54 -07:00
Mike Di Nicola
c7f4388137
add searchProviders parameter to searchDiscover method (#1437)
* add searchProviders parameter to searchDiscover method

* fix trailing whitespace

* rename parameter
2024-07-06 10:00:38 -07:00
JonnyWong16
ec969a177c
Release 4.15.14 2024-06-22 14:43:10 -07:00
dependabot[bot]
f5e760e4f2
Bump flake8 from 7.0.0 to 7.1.0 (#1431)
Bumps [flake8](https://github.com/pycqa/flake8) from 7.0.0 to 7.1.0.
- [Commits](https://github.com/pycqa/flake8/compare/7.0.0...7.1.0)

---
updated-dependencies:
- dependency-name: flake8
  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-06-22 11:45:44 -07:00
dependabot[bot]
ec1ec97929
Bump pytest from 8.2.0 to 8.2.2 (#1424)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.0 to 8.2.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/8.2.0...8.2.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>
2024-06-22 11:45:35 -07:00
dependabot[bot]
cf9b0bb7e9
Bump requests from 2.31.0 to 2.32.3 (#1423)
Bumps [requests](https://github.com/psf/requests) from 2.31.0 to 2.32.3.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.31.0...v2.32.3)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
  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-06-22 11:45:25 -07:00
JonnyWong16
ffbbf59757
Add script to create dummy media files (#1432) 2024-06-22 11:29:14 -07:00
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