Commit graph

2363 commits

Author SHA1 Message Date
blacktwin
54897d2e9e This reloading was removed in #855. 2022-01-03 16:56:38 -05:00
blacktwin
f8e2b06998 unexpected unindent 2021-12-20 00:44:45 -05:00
blacktwin
55279799da
docstring indention fixes 2021-12-20 00:33:21 -05:00
blacktwin
ebcadd2996 incorrect exception 2021-12-20 00:19:24 -05:00
blacktwin
5494c1e90d Change test to use Other Videos library type to prevent scanning
Tests:
 Create library with multiple paths with valid paths
 Create library with multiple paths with an invalid path
 Create library with no path
 Add path(s) to test library with an invalid path
 Remove path(s) to test library with an invalid path
 Remove path(s) to test library with valid paths
 Add path(s) to test library with valid paths
2021-12-20 00:12:51 -05:00
blacktwin
7390a9ba0c copy/paste oops 2021-12-19 23:09:06 -05:00
blacktwin
9586d8f09d fix up for addLocations, only check paths that are being added not existing paths. 2021-12-19 23:09:06 -05:00
blacktwin
4c519c62dc remove underscores 2021-12-19 23:09:06 -05:00
blacktwin
c2facf0144
Merge branch 'master' into libraryEditUpdates 2021-12-19 22:20:13 -05:00
blacktwin
5cf95e53d0 we are unable to remove all locations from a library
the result of posting this request is nothing
to reduce confusion add a check for locations size after removals
2021-12-19 22:05:58 -05:00
blacktwin
d1b190375a fix up removeLocation method 2021-12-19 22:04:05 -05:00
blacktwin
d04bf034f7 Use .get() for kwargs location for when not editing library locations
build location list inside path checking loop
2021-12-19 22:03:32 -05:00
blacktwin
1aa704324e add paths inside valid path check loop 2021-12-19 21:20:30 -05:00
blacktwin
824be407d0 remove path check on str in add() method 2021-12-19 21:11:56 -05:00
blacktwin
d3b0d7b09b remove list check in add() method 2021-12-19 21:09:49 -05:00
blacktwin
7e14d2d315 check for valid paths in addLocation and removeLocation methods 2021-12-18 23:48:53 -05:00
blacktwin
ba490c7f67 refactor edit method for correcting location param 2021-12-18 23:47:11 -05:00
JonnyWong16
a4976137d2
Release 4.8.0 2021-11-20 17:31:34 -08:00
JonnyWong16
a9ffd1e738
Fix image mixins tests (#856)
* Unlock images after edit image test

* Enable playlist art mixins tests

* Mark all image mixins tests as xfail

* Changing images can fail randomly
2021-11-20 17:14:34 -08:00
Elan Ruusamäe
15e011fd29
Add support for error callback for AlertListener (#850) 2021-11-20 16:46:28 -08:00
JonnyWong16
a8136d2776
Change LibrarySection.reload() to reload in-place (#855)
* Fix LibrarySection reload in-place to mimic PlexObject reload

* Don't reload LibrarySection after edit

* Also mimics PlexObject.edit()

* Update library section edit test
2021-11-20 16:35:37 -08:00
JonnyWong16
8815cda444
Add totalDuration and totalStorage properties to LibrarySection (#851)
* Add LibrarySection properties totalDuration and totalStorage

* Add tests for LibrarySection totalDuration and totalStorage
2021-11-20 16:29:08 -08:00
JonnyWong16
777ea754be
Add methods for accepting and cancelling friend invites (#849)
* Add accepting and cancelling friend invites

* Add mocked tests for acceptInvite and cancelInvite

* Rename methods to pendingInvite
2021-11-20 16:16:01 -08:00
JonnyWong16
4e8a6133eb
Fix media delete (#848)
* Fix media delete

* Update media delete test
2021-11-20 16:02:34 -08:00
JonnyWong16
01131c95cf
Cleanup download methods (#847)
* Add utils.cleanFilename

* Refactor download methods

* Add option to download episodes, tracks, photos into subfolders

* Update download tests

* Test download keep_original_filename
2021-11-20 14:16:58 -08:00
JonnyWong16
34a42185ac
Update server transcodeImage method (#845)
* Update server transcodeImage method

* Update server transcodeImage tests
2021-11-20 13:53:00 -08:00
dependabot[bot]
3e1ce1c968
Bump coveralls from 3.2.0 to 3.3.1 (#854)
Bumps [coveralls](https://github.com/TheKevJames/coveralls-python) from 3.2.0 to 3.3.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.2.0...3.3.1)

---
updated-dependencies:
- dependency-name: coveralls
  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>
2021-11-20 13:20:29 -08:00
dependabot[bot]
d40886bf67
Bump sphinx from 4.2.0 to 4.3.0 (#853)
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/4.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v4.2.0...v4.3.0)

---
updated-dependencies:
- dependency-name: sphinx
  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>
2021-11-20 13:18:05 -08:00
dependabot[bot]
d6ee141820
Bump pillow from 8.3.2 to 8.4.0 (#843)
Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.3.2 to 8.4.0.
- [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.3.2...8.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>
2021-11-20 13:12:06 -08:00
dependabot[bot]
1c2bc0af79
Bump flake8 from 3.9.2 to 4.0.1 (#842)
Bumps [flake8](https://github.com/pycqa/flake8) from 3.9.2 to 4.0.1.
- [Release notes](https://github.com/pycqa/flake8/releases)
- [Commits](https://github.com/pycqa/flake8/compare/3.9.2...4.0.1)

---
updated-dependencies:
- dependency-name: flake8
  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>
2021-11-20 12:53:22 -08:00
blacktwin
8cf4f013c4 refactor removing locations 2021-10-26 18:12:42 -04:00
blacktwin
617206e823 adding browsable checks for adding and removing paths 2021-10-26 18:02:10 -04:00
blacktwin
84bd5159d6 updating docstring for new acceptable class 2021-10-26 18:00:11 -04:00
blacktwin
cb1eebd37e change acceptable class for adding and removing locations 2021-10-26 17:59:42 -04:00
blacktwin
cd04cb48ef change edit method to use new method for checking path 2021-10-26 17:52:44 -04:00
blacktwin
fbd5d10e41 update doc to mention list support for paths 2021-10-26 17:50:34 -04:00
blacktwin
b14b48f9f8 check if path exists for list of paths 2021-10-26 17:50:07 -04:00
blacktwin
61d93e78ba refactor for new method to check if path exists 2021-10-26 17:49:40 -04:00
blacktwin
921356099e create isBrowseable method in server.PlexServer 2021-10-26 17:47:34 -04:00
blacktwin
e46fc1cdc4 remove pathExist method from utils 2021-10-26 17:46:57 -04:00
blacktwin
9764ad4038 removing example 2021-10-22 17:02:38 -04:00
JonnyWong16
d036c404ef
Update bug report template to issues form (#839) 2021-10-10 11:23:24 -07:00
JonnyWong16
09730b5dc2
Release 4.7.2 2021-10-04 16:08:45 -07:00
JonnyWong16
90bfaf12c2
Merge pull request #832 from JonnyWong16/feature/album_types
Add album formats and subformats
2021-10-04 14:18:16 -07:00
JonnyWong16
bf3f0c1392
Merge branch 'master' into feature/album_types 2021-10-04 14:13:39 -07:00
JonnyWong16
a3178f3ac3
Merge pull request #831 from JonnyWong16/feature/includeGuids
Automatically retrieve external guids from libraries using includeGuids
2021-10-04 13:56:11 -07:00
JonnyWong16
3fce24587d
Merge pull request #810 from JonnyWong16/feature/web_url
Add methods to retrieve the Plex Web URL
2021-10-04 12:38:24 -07:00
dependabot[bot]
26648f6860
Bump codecov/codecov-action from 2.0.3 to 2.1.0 (#830)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.0.3 to 2.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.0.3...v2.1.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>
2021-10-04 12:26:46 -07:00
dependabot[bot]
ed707040bc
Bump pytest-cov from 2.12.1 to 3.0.0 (#838)
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 2.12.1 to 3.0.0.
- [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.12.1...v3.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>
2021-10-04 12:05:34 -07:00
dependabot[bot]
f421544ce7
Bump tqdm from 4.62.2 to 4.62.3 (#833)
Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.62.2 to 4.62.3.
- [Release notes](https://github.com/tqdm/tqdm/releases)
- [Commits](https://github.com/tqdm/tqdm/compare/v4.62.2...v4.62.3)

---
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>
2021-10-04 11:31:23 -07:00