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
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
JonnyWong16
ae4b4d7ce4
Fix typo in lyric streams doc string
2021-09-21 09:33:37 -07:00
JonnyWong16
607d4b0faf
Add album format and subformat tags
2021-09-16 15:03:46 -07:00
JonnyWong16
65d538c976
Update doc string for get and getGuid with raises exception
2021-09-15 15:47:21 -07:00
JonnyWong16
222fe04a08
Add method to get media item using a guid
2021-09-15 15:47:21 -07:00
JonnyWong16
842ec8ac42
Add includeGuids when parsing smart filters
2021-09-15 15:38:54 -07:00
JonnyWong16
bc6afebed9
Add includeGuids parameter when retrieving library results
2021-09-15 15:38:54 -07:00
Jason Lawrence
a50875afd6
Release 4.7.1
2021-09-12 20:55:59 -05:00
jjlawren
69739d6f2a
Fix PMS timeline reporting on clients when using playMedia ( #826 )
2021-09-12 20:51:18 -05:00
jjlawren
b8cef9dc12
Update version handling and add helper script ( #806 )
...
* Update version handling and add helper script
* Remove typing hints
* Address review, add tag argument
2021-09-12 19:59:23 -05:00
JonnyWong16
692a23586c
Add methods to lock and unlock artwork and posters ( #825 )
...
* Add private _edit method
* Add fields attribute to playlists
* Add lock and unlock methods to art, banner, and poster mixins
* Add tests for locking and unlocking art and posters
2021-09-12 19:56:21 -05:00
blacktwin
168f1d331c
Add attribute for Sonic Analysis ( #814 )
...
* adding new attribute found in Albums and Tracks when Sonically Analyzed
* update docstring and add property hasSonicAnalysis
2021-09-12 19:53:06 -05:00
JonnyWong16
e10f96a529
Add getPlaylistsWebURL for the server playlists page
2021-08-25 18:10:11 -07:00
JonnyWong16
17ab4ce252
Add getWebURL for LibrarySection and library hubs
2021-08-25 18:10:11 -07:00
JonnyWong16
9483e4d9c9
Add custom Plex Web URL override for track, photo, and playlist
2021-08-25 18:10:11 -07:00
JonnyWong16
0811e5334c
Add method to get the Plex Web URL for media items
2021-08-25 18:10:11 -07:00
Jason Lawrence
bd7de4281e
Release 4.7.0
2021-07-26 20:59:51 -05:00
JonnyWong16
42260aa1b6
Add libtype argument for creating smart playlists ( #799 )
...
* Add libtype keyword argument for smart playlists
* Update docs, remove libtype collection from smart playlists/collections
* Cannot create a smart playlist or collection from other collections
* Update smart playlist filter test for libtype
2021-07-26 20:46:30 -05:00
JonnyWong16
6cacc4a55a
Add playlist title search and sorting ( #782 )
...
* Add title and sort arguments to server playlists method
* Raise NotFound when retrieving a playlist or collection
* Update tests for collection/playlist NotFound
2021-07-26 20:45:58 -05:00
jjlawren
3b1dce7a8d
Decouple resource address sorting from connection attempts ( #800 )
...
* Decouple resource address sorting from connection attempts
* Fix lint
* Move defaults to class
2021-07-26 20:38:16 -05:00
JonnyWong16
2c540f69c8
Add producers, roles, and hasCommercialMarker to Episode objects ( #797 )
...
* Add producers and roles to Episode
* Add producers and roles to episode test
* Add hasCommercialMarker to Episode
2021-07-26 20:36:54 -05:00
JonnyWong16
753a67ffcd
Remove Content-type header from sync
2021-07-16 10:14:25 -07:00
JonnyWong16
88038a9b6c
Set default sync subtitleSize
2021-07-16 10:14:25 -07:00
JonnyWong16
456a8a53ab
Merge pull request #788 from JonnyWong16/feature/search_objects
...
Add ability to use FilterChoice and FilteringSort objects in library search
2021-07-16 09:21:55 -07:00
JonnyWong16
31de29d502
Merge pull request #783 from JonnyWong16/feature/custom_collection_order
...
Add ability to move items in a collection
2021-07-16 09:21:25 -07:00
JonnyWong16
82fa178952
Merge pull request #781 from JonnyWong16/feature/parse_smart_filter
...
Add ability to parse the smart filters from collections and playlists
2021-07-16 09:21:10 -07:00
JonnyWong16
cfbf6f596d
Merge pull request #780 from JonnyWong16/bugfix/new_filters
...
Remove manual sorts/fields added to PMS
2021-07-16 09:20:48 -07:00
JonnyWong16
be1b6eb646
Add ability to use FilteringSort objects for library search sort
2021-07-04 19:21:44 -07:00
JonnyWong16
293207e186
Add ability to use FilterChoice objects for library search tags
2021-07-04 18:58:35 -07:00
JonnyWong16
b7e8b37b3e
Add method to move items in a collection
2021-06-29 20:08:19 -07:00
JonnyWong16
91cb388dcb
Don't format sort direction if not present
2021-06-18 15:02:54 -07:00
JonnyWong16
dd0e3789f6
Add SmartFilterMixin to collections and playlists
2021-06-18 14:26:48 -07:00
JonnyWong16
0b81f0887b
Add SmartFilterMixin
2021-06-18 14:24:59 -07:00
JonnyWong16
2562334ad4
Add reverseSearchType util
2021-06-18 14:21:43 -07:00
JonnyWong16
a5dfbe6eb7
Add manual viewUpdatedAt sort field for photos
2021-06-18 14:04:14 -07:00
JonnyWong16
176aa36729
Allow blank sort direction
...
Some sort fields don't follow the `defaultDirection` if the sort direction is not specified (e.g. `year` returns `year:asc` instead of the default `year:desc`). Allow blank `sortDir` and let the server handle it.
2021-06-18 14:03:43 -07:00
JonnyWong16
4bd550c320
Bump to 4.6.1
2021-06-15 21:37:09 -07:00
JonnyWong16
624c3f8f47
Merge pull request #778 from pkkid/account_roles
...
Fix for accessing Account of non Plex Pass account
2021-06-15 21:14:40 -07:00
JonnyWong16
ca06ca6011
Merge pull request #775 from JonnyWong16/bugfix/playlists
...
Fix playlist copyToUser
2021-06-15 21:14:32 -07:00
JonnyWong16
a2bfc9e92f
Remove manual artist last played field
2021-06-14 08:38:09 -07:00
JonnyWong16
cfefbafc93
Remove manual random sort
2021-06-14 08:37:38 -07:00
blacktwin
54ce61b006
use rtag for roles and entitlements
2021-06-14 00:58:13 -04:00
blacktwin
7678e0cfef
add iter on a specific root tag in listAttrs
2021-06-14 00:57:07 -04:00
JonnyWong16
a353df1f56
Fix keyword arguments for playlist copyToUser
2021-06-07 12:00:49 -07:00
JonnyWong16
90a1cff01e
Fix return value when using USER_DONT_RELOAD_FOR_KEYS
2021-06-07 08:55:04 -07:00
JonnyWong16
754698b37b
Bump to 4.6.0
2021-06-06 20:31:13 -07:00
JonnyWong16
8ef3d0ac35
Merge branch 'master' into feature/auto_reload
2021-06-06 18:05:08 -07:00
JonnyWong16
67b3fc694a
Allow clips and extras to be streamed and downloaded
2021-06-06 17:50:35 -07:00
JonnyWong16
7ddf47c223
Add doc string for Review object
2021-06-06 17:27:02 -07:00
JonnyWong16
4d60101ab7
Remove Account settings
...
* Settings are only for Plex Web specific settings like remembering selected tab, poster size, etc.
2021-06-06 17:23:48 -07:00
JonnyWong16
f8c7fefd2f
Cleanup Account onlineMediaSources OptOut methods
2021-06-06 17:23:44 -07:00
JonnyWong16
1d031166fc
Cleanup movie reviews and extras
2021-06-06 17:23:34 -07:00
JonnyWong16
6f44933f5b
Clean up Extra object
2021-06-06 16:40:25 -07:00
JonnyWong16
8f2ad955ab
Merge branch 'master' into reviews_extras
2021-06-06 15:02:03 -07:00
JonnyWong16
6448837112
Fix return typo in doc strings
2021-06-06 14:54:15 -07:00
JonnyWong16
7e8c93dcc7
Merge remote-tracking branch 'upstream/master' into bugfix/cleanup_findItems
2021-06-06 14:50:39 -07:00
JonnyWong16
fab55e1227
Merge branch 'master' into reviews_extras
2021-06-06 14:42:16 -07:00
JonnyWong16
a88cedbce8
Merge remote-tracking branch 'upstream/master' into feature/auto_reload
2021-06-06 14:35:58 -07:00
JonnyWong16
13215152c9
Explicit check for parent is not None
...
* Checking if parent is truthy calls the __len__ method which does not work for some Plex objects until after it is initialized with _loadData.
2021-06-06 13:51:59 -07:00
JonnyWong16
e965ebbbe6
Merge remote-tracking branch 'upstream/master' into feature/rating_mixin
2021-06-06 12:54:09 -07:00
JonnyWong16
ab7ed6dee6
Merge pull request #763 from JonnyWong16/feature/smart_playlists_collections
...
Fix smart playlists and add support for smart collections
2021-06-06 12:15:12 -07:00
JonnyWong16
eafdccaddc
Merge pull request #758 from JonnyWong16/feature/claim_server
...
Add method to claim and unclaim server
2021-06-06 12:14:46 -07:00
JonnyWong16
38114b62ba
Check item exists in playlist before removing or moving
2021-06-02 09:23:39 -07:00
JonnyWong16
4d12cc9a49
Move reload to private method to hide the autoReload parameter
2021-06-02 08:59:52 -07:00
blacktwin
4a4a945653
Move section method from Clip to Extra
2021-05-31 09:50:21 -04:00
blacktwin
5013028344
SETTINGS url change and OPTOUT url creation
2021-05-31 09:46:46 -04:00
blacktwin
ca97c60dcb
replace eval with json.loads
2021-05-31 09:20:19 -04:00
JonnyWong16
70bbfa3c84
Allow overwriting attributes with None when manually reloading
2021-05-30 16:25:25 -07:00
JonnyWong16
6e58f7f70e
Refactor lastRatedAt userRating attributes
2021-05-30 15:49:45 -07:00
JonnyWong16
06ff7410a6
Add rating mixin
2021-05-30 15:49:45 -07:00
Steffen Fredriksen
6e92be6a7a
Merge pull request #745 from JonnyWong16/bugfix/to_datetime
...
Limit datetime attributes to max 32-bit integer timestamp
2021-05-30 11:49:06 +02:00
JonnyWong16
4458977988
Improve test coverage
2021-05-29 19:26:31 -07:00
JonnyWong16
b2ecd2b7f9
Add AdvancedSettingsMixin to Collection
2021-05-29 18:48:31 -07:00
JonnyWong16
c84215df7a
Move _uriRoot() to PlexServer
2021-05-29 18:22:27 -07:00
JonnyWong16
06da110203
Clean up doc strings
2021-05-29 17:58:55 -07:00
JonnyWong16
99ca6a5647
Add collection sync
2021-05-29 16:57:43 -07:00
JonnyWong16
ccc6091bb4
Fix collection length
2021-05-29 16:57:42 -07:00
JonnyWong16
04c25953fe
Fix collection and playlist edit for blank values
2021-05-29 16:57:42 -07:00
JonnyWong16
2cd29f435a
Add method to get a collection or playlist by title in a library
2021-05-29 16:57:41 -07:00
JonnyWong16
0512e9f38e
Add collection modification methods
2021-05-29 16:57:41 -07:00
JonnyWong16
95c1be28bc
Add PlexServer.createCollection() method
2021-05-29 16:57:41 -07:00
JonnyWong16
ef136a8c9c
Add create Collection class methods
2021-05-29 16:57:40 -07:00
JonnyWong16
94fb9783fe
Add limit to the playlist uri instead of query param
2021-05-29 16:57:40 -07:00
JonnyWong16
a435a5a9fa
Add limit to search filter
2021-05-29 16:57:40 -07:00
JonnyWong16
0ed9240909
Reorganize playlist dunder methods
2021-05-29 16:57:39 -07:00
JonnyWong16
7d90fd60e8
Add library alias to create playlist
2021-05-29 16:57:39 -07:00
JonnyWong16
a1861c5595
Add retrieving server playlists by type
2021-05-29 16:57:38 -07:00
JonnyWong16
00be05f17b
Add doc strings to playlist properties
2021-05-29 16:57:38 -07:00
JonnyWong16
2af15e2d73
Add method to update smart playlist filters
2021-05-29 16:57:38 -07:00
JonnyWong16
4c9964db1b
Add method to retrieve playlist section
2021-05-29 16:57:37 -07:00
JonnyWong16
3edec52e2e
Update playlist add, remove, move, and edit methods
2021-05-29 16:57:37 -07:00
JonnyWong16
be2293ad30
Update playlist attributes for smart playlists
2021-05-29 16:57:37 -07:00
JonnyWong16
a131482cdc
Update creating smart playlist using search filters
2021-05-29 16:57:36 -07:00
blacktwin
44b4066273
Clip.section docstring update
2021-05-28 11:59:07 -04:00
blacktwin
70ad8ba10c
updateOptOut docstring
2021-05-28 11:59:02 -04:00
blacktwin
9982b8e108
MediaContainer docstring
2021-05-28 11:58:55 -04:00
blacktwin
9f5f2b7b12
MediaContainer attribute ordering
2021-05-28 11:58:50 -04:00
blacktwin
49732cf92a
Extra.addedAt docstring update.
2021-05-28 11:57:57 -04:00
blacktwin
226b9834f7
MyPlex.settings slight clean up and property
2021-05-28 11:57:52 -04:00
blacktwin
277f2ea717
onlineMediaSources further clean up
2021-05-28 11:57:46 -04:00
blacktwin
76719d9c70
onlineMediaSources clean up
2021-05-28 11:57:40 -04:00
blacktwin
4f6634db38
Review attribute ordering
2021-05-28 11:56:47 -04:00
blacktwin
aa0596d2a1
SETTINGS url string substitution update %s instead of .format()
2021-05-28 11:56:22 -04:00
blacktwin
0c8e5f9b5b
Extra atrributes update cast int
2021-05-28 11:46:31 -04:00
JonnyWong16
0095e83f75
Cleanup utils imports
2021-05-26 19:45:12 -07:00
JonnyWong16
6726a64e64
Fix settings.Preferences doc string TAG
2021-05-24 19:36:26 -07:00
JonnyWong16
f81456d3b6
Refactor usage of listAttrs
2021-05-24 17:37:46 -07:00
JonnyWong16
3fc69a3709
Refactor usage of findItems
2021-05-24 17:28:11 -07:00
blacktwin
c0b6efc23c
Merge branch 'master' into reviews_extras
2021-05-24 07:21:34 -04:00
JonnyWong16
ada326bca1
Add recently added methods for each libtype
2021-05-23 21:15:18 -07:00
JonnyWong16
c76b2d4027
Merge remote-tracking branch 'upstream/master' into feature/multi_sort
2021-05-23 20:39:08 -07:00
JonnyWong16
a9597a9008
Merge remote-tracking branch 'upstream/master' into feature/plex_tv
2021-05-23 19:12:38 -07:00
JonnyWong16
0f680233ab
Merge pull request #749 from JonnyWong16/feature/switch_user
...
Add method to switch users for a PlexServer instance
2021-05-23 19:03:27 -07:00
JonnyWong16
c4522d9c6b
Merge pull request #746 from JonnyWong16/feature/properties
...
Add episodeNumber, trackNumber, and hasPreviewThumbnails helper properties
2021-05-23 19:02:20 -07:00
JonnyWong16
8c2b3ce063
Merge pull request #741 from JonnyWong16/feature/tag_items
...
Add ability to retrieve a list of items and collection object from media tags
2021-05-23 19:01:07 -07:00
JonnyWong16
893a992855
Merge pull request #739 from Alindil/patch-2
...
Add method to return a list of all optimized items
2021-05-23 19:00:25 -07:00
JonnyWong16
95877dd1ee
Add methods to claim and unclaim a server
2021-05-22 14:44:40 -07:00
JonnyWong16
b9a9abb129
Add manual collection sorts and fields
2021-05-20 20:12:57 -07:00
JonnyWong16
7b8757419b
Update search doc strings fro advanced filters
2021-05-16 13:26:41 -07:00
JonnyWong16
900dd3e7b9
Add support for advanced search filters
2021-05-16 13:26:21 -07:00
JonnyWong16
89e6d2d6f3
Fix matching sort key
2021-05-16 11:30:03 -07:00
JonnyWong16
814efb1def
Fix matching field when validating filter field
2021-05-15 23:12:19 -07:00
JonnyWong16
7146587b0d
Add additional filter fields per media type
2021-05-15 22:40:29 -07:00
JonnyWong16
28f0585a97
Update doc string for track originalTitle
2021-05-15 22:39:26 -07:00
JonnyWong16
d6cd71c971
Add lastRatedAt to Audio and Video
2021-05-15 22:38:35 -07:00
JonnyWong16
3d20f307f4
Add additional manual sorts and fields
2021-05-15 18:09:52 -07:00
JonnyWong16
0b45e88d41
Allow predefined Plex multi-sorts
2021-05-15 16:04:05 -07:00
JonnyWong16
4f29eca311
Fix default random sort direction
2021-05-15 11:34:33 -07:00
JonnyWong16
6d4e7bed95
Add random sorting option
2021-05-15 11:25:42 -07:00
JonnyWong16
2af4f6d3eb
Allow for multi-sort in library search
2021-05-15 11:09:32 -07:00
Alindil
17daa1be72
Revert "Update server.py"
...
This reverts commit 73deabd97f
.
2021-05-14 16:30:39 -07:00
JonnyWong16
3af971d1ae
Add Optimized.items() method
2021-05-14 16:29:12 -07:00
JonnyWong16
43822fd42c
Deprecate PlexServer.optimizedItem
2021-05-14 16:28:59 -07:00
JonnyWong16
1fcd7aa31a
Update Playlist.copyToUser with switchUser
2021-05-11 17:10:39 -07:00
JonnyWong16
35729a3a0a
Add optional session and timeout to switchUser
2021-05-11 17:03:16 -07:00
JonnyWong16
b0a9fb7ebe
Fix switchUser keyword arguments
2021-05-11 16:50:30 -07:00
JonnyWong16
a40063630d
Add method to switch users for a PlexServer
2021-05-11 16:38:50 -07:00
JonnyWong16
5e7a5e572c
Add hasPreviewThumbnails properties
2021-05-10 18:06:50 -07:00
JonnyWong16
12701ab997
Add trackNumber propery
2021-05-10 17:56:51 -07:00
JonnyWong16
b27e12c5d9
Add episodeNumber property
2021-05-10 17:56:06 -07:00
JonnyWong16
975a9eb3a2
Limit toDatetime to 32-bit integer
2021-05-10 16:11:16 -07:00
JonnyWong16
64f647e12b
Add addition season and episode attributes
...
* Season.parentStudio
* Season.year
* Episode.parentYear
2021-05-09 21:28:17 -07:00
JonnyWong16
006aee2483
Fix typo in library show agent doc string
2021-05-09 21:18:54 -07:00
JonnyWong16
75c8b9879b
Add ability to return the list of items from any tag filter
2021-05-09 20:03:12 -07:00
JonnyWong16
158c5f5633
Merge pull request #730 from JonnyWong16/bugfix/episode_tests
...
Fix retrieving Season.episode() by episode number
2021-05-09 19:44:52 -07:00
JonnyWong16
ecd9309383
Merge pull request #729 from JonnyWong16/feature/smart_collections
...
Add new collection attributes
2021-05-09 19:44:27 -07:00
JonnyWong16
0117a84086
Merge pull request #725 from meisnate12/bugfix/ShowSpecialsSeason
...
Fix retrieving specials (season 0) for tv shows
2021-05-09 19:43:12 -07:00
JonnyWong16
a82030aaa9
Merge pull request #722 from meisnate12/bugfix/library_advance_settings
...
Fix editing advanced settings without integer values
2021-05-09 19:42:12 -07:00
JonnyWong16
246ad82f86
Add CollectionMixin to Season, Episode, and Track
2021-05-09 12:24:55 -07:00
Alindil
73deabd97f
Update server.py
...
There can be several videos in an optimization. In the current code we only loop on one
2021-05-06 15:28:05 +02:00
JonnyWong16
c6c9d83bca
Fix getting Season.episode by episode number
2021-04-24 11:49:36 -07:00
JonnyWong16
276a4f3b59
Add new collection attributes
2021-04-23 13:45:24 -07:00
Elan Ruusamäe
aa8838ce7d
Fix spelling error for container_start value check ( #727 )
2021-04-18 22:05:19 -05:00
meisnate12
c957c4fc98
exclude leaves from show seasons
2021-04-14 11:43:21 -04:00
blacktwin
8aaa0c09a7
spelling & indent correction
2021-04-14 08:02:04 -04:00
blacktwin
0bacdbeabf
readding MediaContainer import
2021-04-12 13:16:33 -04:00
blacktwin
5d670364d6
fixing import
...
missed last import in copy/paste from master.
2021-04-12 13:12:46 -04:00
blacktwin
790d12504a
flake fix
...
remove trailing comma
2021-04-12 13:10:41 -04:00
blacktwin
f92878d75f
Merge branch 'master' into reviews_extras
2021-04-12 13:08:29 -04:00
blacktwin
227bb51717
remove Release
...
Release class was unintendedly added by a merge before it was properly located.
2021-04-12 13:07:10 -04:00
meisnate12
b9bf8eeabc
updated AdvancedSettingsMixin
2021-04-06 23:44:28 -04:00
meisnate12
a999778f52
removed redundant value
2021-04-06 23:43:42 -04:00
meisnate12
4307a99511
fix for advanced settings that dont use ints
2021-04-06 16:01:45 -04:00
Jason Lawrence
bea32faa8b
Bump to 4.5.2
2021-04-05 15:49:21 -05:00
JonnyWong16
19fa6c1e50
Allow relative dates for search filters ( #717 )
...
* Add validation for relative date search filter values
* Update search doc strings for searching using relative dates
* Update library search tests for relative dates
* Fix relative date search test
* Automatically format negative sign in relative dates
* Fix relative date search test
2021-04-05 15:46:26 -05:00
meisnate12
5584ef1d4f
Added AdvancedSettingsMixin ( #714 )
...
* Added AdvancedSettingsMixin
* forgot import
* shortened line
* remove whitespace
* removed unused import
* reordered mixins
* Add preference method to AdvancedSettingsMixin
* Add tests for AdvancedSettingsMixin
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2021-04-05 15:44:49 -05:00
JonnyWong16
2e7ae1f3ec
Fix LibrarySection totalViewSize for photo libraries ( #715 )
2021-04-05 14:36:19 -05:00
Jason Lawrence
2a810c63ae
Bump to 4.5.1
2021-03-24 20:58:55 -05:00
JonnyWong16
1c521308e2
Add totalViewSize method to LibrarySection and search bug fixes ( #712 )
...
* Fix more library section ID cast to int
* Add method to return library size for specific libtypes
* Add test for library totalViewSize
* Fix totalViewSize test episode count
* Don't need to use library _totalSize cache
* Validate title search arg as a filter kwarg
* Only validate search title if it is a list
* Update doc string for totalViewSize
2021-03-24 20:58:12 -05:00
Jason Lawrence
2bde234408
Bump to 4.5.0
2021-03-22 17:01:32 -05:00
Elan Ruusamäe
a3d43781fa
Add deviceID to Playable for history entries ( #704 )
...
* Add deviceID to Playable for history entries
* Add missing documentation for accountID/deviceID
2021-03-22 14:40:13 -05:00
jjlawren
f59f150bab
Improve PlexClient connections ( #701 )
...
* Improve PlexClient connections
* Add docstring
2021-03-22 14:37:52 -05:00
JonnyWong16
1d4e911ef5
Add clientIdentifier attribute to SystemDevice ( #703 )
...
* Add clientIdentifier attribute to SystemDevice
* Add test for SystemDevice clientIdentifier
* Add methods to return a specific SystemAccount or SystemDevice by ID
* Update tests for SystemAccounts and SystemDevices
2021-03-22 14:35:57 -05:00
JonnyWong16
ef18e2c256
Fix parsing episode parentRatingKey from parentThumb ( #699 )
2021-03-22 14:35:07 -05:00
JonnyWong16
f92d9d5e8c
Fix myplex share section ID cast to int ( #708 )
...
* Fix myplex share section ID cast to int
* Fix typo in search doc string
2021-03-22 14:31:54 -05:00
JonnyWong16
61d73be8a3
Don't use utils.cast for search values
2021-03-19 16:27:16 -07:00
JonnyWong16
3422bb7fb8
Separate search function for flake8 complexity
2021-03-15 10:06:54 -07:00
JonnyWong16
357818a857
Use separate totalViewSize cache for searching
...
Fixes #695
totalSize was getting overwritten when using search with a different libtype. This makes totalSize independant from search.
2021-03-15 10:03:01 -07:00
JonnyWong16
684bbde89b
Change search break condition
...
Fixes #694
When using a PlexAPI operator, fetchItems may return zero results in the first container causing the loop to break early. This changes the break condition to check if the container exceeds the total number of items therefore there will be no more items to fetch.
2021-03-15 09:33:46 -07:00
JonnyWong16
e1ab49f20e
Fix & search operator
2021-03-14 23:34:56 -07:00
JonnyWong16
ea187536c2
Print available libtypes and field types for exception
2021-03-14 15:14:24 -07:00
JonnyWong16
8cc90fc850
Fix libtype for listFilterChoices
2021-03-14 15:05:37 -07:00
JonnyWong16
5bff309a32
More search doc string updates
2021-03-13 11:07:27 -08:00
JonnyWong16
8adedd6b3b
Add deprecated functions filterFields and listChoices
2021-03-12 10:29:40 -08:00
JonnyWong16
4b25d4ab88
Print available filters when raising NotFound
2021-03-12 10:08:14 -08:00
JonnyWong16
b9840eee5c
Update search docs formatting
2021-03-12 09:18:51 -08:00
JonnyWong16
061ad9fefd
More PlexAPI filtering docs to fetchItems
2021-03-12 09:18:36 -08:00
JonnyWong16
ba98669610
Update search doc string
2021-03-12 00:03:17 -08:00
JonnyWong16
d752b351d5
Update fetchItem doc string
2021-03-11 23:23:03 -08:00
JonnyWong16
f90b5ac70a
Update search doc string with plexapi operator examples
2021-03-11 23:22:46 -08:00
JonnyWong16
618ed22676
Update search doc string with examples
2021-03-11 22:44:54 -08:00
JonnyWong16
93a5ab6d6d
Fix filter libtype fallback
2021-03-11 22:44:16 -08:00