Commit graph

1382 commits

Author SHA1 Message Date
blacktwin
34f0125e12 docstring line 2022-01-05 22:54:57 -05:00
blacktwin
0882b8f9fc minor docstring update 2022-01-05 22:50:27 -05:00
blacktwin
624af2e4c5 remove use of Path objects for adding and removing locations 2022-01-05 09:06:35 -05:00
blacktwin
4f340d0ce4 var renaming for consistency 2022-01-03 16:57:29 -05:00
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
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
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
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
09730b5dc2
Release 4.7.2 2021-10-04 16:08:45 -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
blacktwin
222b8fe9ff Merge branch 'master' of https://github.com/pkkid/python-plexapi into libraryEditUpdates 2021-09-27 11:18:07 -04:00
blacktwin
7e04b9fc4e Library.edit method docstring update with example 2021-09-27 10:19:28 -04:00
blacktwin
25fbf6b220 adding convenience methods for adding and removing locations from a library 2021-09-27 10:18:59 -04:00
blacktwin
e8711e9b35 update to Library.edit method to allow editing locations 2021-09-27 10:17:48 -04:00
blacktwin
75c4886b01 update to Library.add method to allow for multiple locations 2021-09-27 10:16:53 -04:00
blacktwin
ccda840c35 adding pathExist to utils 2021-09-27 10:15:18 -04:00
JonnyWong16
105a156980
Add example to getGuid doc string 2021-09-26 19:04:26 -07:00
JonnyWong16
49ce2f9bb4
Refactor getWebURL 2021-09-26 15:23:35 -07:00