JonnyWong16
b14a653a3b
Fix PlexServer.isBrowsable(path)
when running Plex API on a different OS ( #933 )
2022-05-16 19:58:52 -07:00
JonnyWong16
6fc7d95266
Add support for Plex guid in LibrarySection.getGuid()
( #926 )
...
* Add support for Plex guid in `LibrarySection.getGuid()`
* Update getGuid test with Plex guid
2022-05-16 19:54:51 -07:00
JonnyWong16
2683655dcf
Get album track by track number without keyword argument ( #918 )
...
* Get album track by track number
* Update tests for `Album.track()`
* Also updates test for `Season.episode()`
2022-05-16 19:52:16 -07:00
JonnyWong16
153ef66df0
Add method to manually run butler tasks ( #916 )
...
* Add butler tasks
* Add tests for butler tasks
2022-05-16 19:51:39 -07:00
Karthikeyan Singaravelan
e0eb619561
Set daemon attribute instead of using setDaemon method that was deprecated in Python 3.10. ( #913 )
2022-05-16 19:46:21 -07:00
JonnyWong16
82aede202d
Use breadth-first search when using rtag
( #912 )
2022-05-16 19:46:10 -07:00
Kian-Meng Ang
398c058f18
Fix typos ( #939 )
2022-05-16 15:39:42 -05:00
jjlawren
8429cfd94d
Release 4.10.1
2022-03-17 16:54:51 -05:00
jjlawren
d03a27450d
Allow exclusion keys in sharing settings ( #908 )
2022-03-17 16:54:27 -05:00
jjlawren
549e76b25a
Fix playMedia and goToMedia when using a different PMS ( #907 )
2022-03-17 15:49:33 -05:00
Zac West
ae30818ba5
Enable external media in responses, e.g. Tidal ( #905 )
2022-03-17 15:46:05 -05:00
JonnyWong16
bb4d0dbf1d
Release 4.10.0
2022-02-26 23:42:22 -08:00
JonnyWong16
49388558c3
Fix Artist.album()
to return special albums ( #896 )
2022-02-26 23:16:48 -08:00
JonnyWong16
372e620d60
Add support for collection "filtering based on user" advanced setting ( #894 )
...
* Add collectionFilterBasedOnUser attribute
* Add filterUserUpdate method
* Check for smart collection for updateSort
* Update test collection filterUserUpdate
2022-02-26 22:50:04 -08:00
JonnyWong16
0cb8712896
Add missing Track.skipCount
attribute ( #893 )
...
* Add track skipCount attribute
* Add track.skipCount to tests
2022-02-26 22:31:21 -08:00
JonnyWong16
87a7ec6ddf
Add Video.audioStreams()
convenience method ( #891 )
...
* Add Video.audioStreams() convenience method
* Add test for Video.audioStreams()
2022-02-26 22:24:43 -08:00
JonnyWong16
3e57c9b262
Add extras and hubs mixins ( #890 )
2022-02-26 22:04:18 -08:00
JonnyWong16
870ba6664f
Refactor and cleanup tag methods ( #875 )
...
* Refactor tag functions into EditTagsMixin
* Fix test mixins tag use of _tagSingular
* Add kwargs to editTags
* Fix _tagSingular and _tagPlural if tag is already singular or plural
* Make editing tags chainable
* Add chaining example to doc string
* Update editTags doc string for batch editing
2022-02-26 21:50:48 -08:00
JonnyWong16
59638dc714
Add new methods to edit object fields ( #876 )
...
* Update Collection.edit() method
* Add new EditFieldMixin and subclasses
* Add EditFieldMixin to Plex objects
* Update PlexPartialObject.edit() doc string
* Cast Track parentIndex to int
* Add base _searchTypes property
* Add kwargs to editField
* Editing album title also requires the artist ratingKey
* Add tests for editing fields
* Deprecate Collection.edit()
* Make editing fields chainable
* Add chaining example to doc string
* Add batch editing mode
* Add test for batchEdits
* Clean up mixins imports
* Reorder mixins
* Fix tests for batch edit
2022-02-26 21:40:51 -08:00
JonnyWong16
a568819e1e
Add tests for theme mixin ( #897 )
...
* Add lockTheme and unlockTheme methods
* Change setTheme to raise NotImplementedError
* Add tests for theme mixins
2022-02-26 21:05:43 -08:00
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