jjlawren
caf3910057
Ignore whitespace in library section lookup ( #888 )
2022-02-26 20:31:54 -08:00
JonnyWong16
c08e032ee3
Add librarySectionID when using fetchItem ( #885 )
2022-02-26 20:17:23 -08:00
ReenigneArcher
3917b335ca
Fix various typos ( #880 )
...
* Fix various typos
* Fix various typos in tests
* Fix typos in `tests`
* Fix more typos
* Fix hasScalingMatrix test
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2022-02-26 19:26:08 -08:00
ReenigneArcher
9a5170c2fb
Add Themes Support ( #879 )
...
* Fix typo in 'grandparentThumb'
* Add Themes support
* Fix Themes for Seasons and Episodes
Themes are not available for Seasons or Episodes according to this: https://web.archive.org/web/20150113085312/http://dev.plexapp.com/docs/agents/models.html
* Add Themes to Artists, Albums, and Tracks
Themes are available for Artists according to this: https://web.archive.org/web/20150113085312/http://dev.plexapp.com/docs/agents/models.html
* Update per PR review
* Update BaseResource and Theme classes
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2022-02-26 18:47:54 -08:00
meisnate12
2f101e3899
Add LabelMixin to Season, Episode, Artist, and Track objects ( #872 )
...
* Add LabelMixin to Episode class
* Add test_mixins.edit_label(episode) test
* Add Label Mixin to Season, Artist,and Track
* fix tests
* Load manual FilteringFields for labels
* Load manual FilteringFilters for labels
Co-authored-by: Elan Ruusamäe <glen@pld-linux.org>
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2022-02-26 17:32:18 -08:00
jasonl
e3aa111784
Release 4.9.2
2022-02-06 22:59:08 -06:00
jjlawren
8e30301296
Return all albums with Artist.albums() ( #884 )
2022-02-06 22:58:12 -06:00
jasonl
3b195ec6be
Release 4.9.1
2022-01-24 16:06:20 -06:00
jjlawren
1804fad046
Create PlayQueue from a radio station key ( #877 )
...
* Create PlayQueue from a station key
* Rework docstring
* Move example into proper code block
* Switch to camel case
2022-01-24 16:00:09 -06:00
JonnyWong16
ef5515852e
Release 4.9.0
2022-01-23 21:00:23 -08:00
jjlawren
9b3b65bcaf
Support global hubs ( #873 )
...
* Get global hubs
* Add hub filtering arguments
* Simplify
2022-01-23 20:40:35 -08:00
JonnyWong16
b89bd23652
Change MusicSection.stations()
to return Playlist
objects ( #871 )
...
* Fix library stations
* `LibrarySection.stations()` returns a list of `Playlist` station objects
* Add test for MusicSection stations
2022-01-23 20:40:04 -08:00
jjlawren
570742cff8
Support for Artist
radio stations ( #870 )
...
* Initial support of artist radio stations
* Fix docstring
* Change to a singular optional station
* Change to a property
* Revert property
* Explicitly set librarySectionID
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2022-01-23 20:39:35 -08:00
JonnyWong16
0620eb4bf0
Fix Agent object settings ( #864 )
...
* Fix mediaType argument for PlexServer.agents()
* Cleanup Agent and AgentMediaType attributes
* Add `DeprecationWarning` to `languageCode`
* Make Agent.settings() method public
* Add `DeprecationWarning` to `Agent._settings()`
* Fix parsing Setting.enumValues
* XML attribute for agent settings uses `values` instead of `enumValues`
* Add secure and option attributes to Setting
* Add test for server agents
2022-01-23 16:15:10 -08:00
JonnyWong16
d2c849fa5e
Improve getGuid method ( #862 )
...
* Improve getGuid method
* Update getGuid test
2022-01-23 16:13:30 -08:00
JonnyWong16
fcbea70549
Add methods to lock and unlock a field for all items in a library ( #861 )
...
* Add plex folder to .gitignore
* Add method to lock/unlock a field for all items in a library
* Add test to lock/unlock all posters in a library
2022-01-23 16:11:20 -08:00
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