Commit graph

144 commits

Author SHA1 Message Date
JonnyWong16
28b1f9e9a6
Add ability to lock/unlock fields when adding/removing tags 2021-02-11 09:28:15 -08:00
JonnyWong16
ab13523b17
Don't refresh after editing a tag 2021-02-07 09:45:47 -08:00
JonnyWong16
22bc55a74e
Rename tag plural helper function 2021-01-24 19:44:36 -08:00
JonnyWong16
1b378d3f1c
Add helper function to get the plural tag 2021-01-24 14:40:39 -08:00
JonnyWong16
7aaf56a62d
Move all tag editing to a mixin 2021-01-24 14:40:39 -08:00
JonnyWong16
dfc5aa1eef
Fix server hub searches (#643)
* Add hub search media tag objects

* Fix server search

* Fix hub media tag thumb

* Update server search test with tags
2021-01-24 15:48:38 -05:00
blacktwin
4f0910ab79
Update to MediaPartStream and inheriting classes (#590)
* moving common child (VideoStream, AudioStream, SubtitleStream) attributes to the parent (MediaPartStream)

* removal of no longer present attribs in video, audio, subtitle streams

* additional attribs to video and mediapart streams

* removal of previously unique subtitleStream attribs. attribs are now common or no longer present.

* docstring cleanup of video, audio, and subtitle stream; pass 1

* remove codecID checks as this attribute is now longer used.

* adding key attrib to parent MediaPartStream.

* add transient to SubtitleStream, found in uploaded subtitles

* removing dialogNorm related assertion as this attrib has been removed.

* update Media class based on PR comments
optimizedVersion to be added, need SEARCHTYPES

* update MediaPartStream class based on PR comments

* update VideoStream class based on PR comments

* update AudioStream class based on PR comments

* update SubtitleStream class based on PR comments

* add LyricStream class based on PR comments

* add streamType int and LyricStream to MediaPartStream.parse method

* add MediaPart.lyricStreams method

* spelling correction

* more movement based on PR comments

* alpha ordering MediaPart

* alpha sort VideoStream

* docstring corrections

* remove assert stream.dialogNorm from audio test as dialogNorm has been removed.

* adding LyricStream to _buildStreams function

* adding changes from @johnnywong16
e346f0b4dc

* moving unused imports down and together

* Address docstring review comments

* Change isChildOf for any kwargs

* Add Media.isOptimizedVersion property

* Add photo and track specific attributes

* Remove dead MediaPartStream.parse method

* Update media doc strings

* Add optimized version doc string

* Cast video stream codedHeight and codedWidth to int

* Add required bandwidths to streams

* Update video tests

* Update audio tests

* Fix video tests

* Fix video tests

* Fix video tests

Co-authored-by: Jason Lawrence <jjlawren@users.noreply.github.com>
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2021-01-24 15:21:56 -05:00
JonnyWong16
59e79242a7
Replace devices in SystemDevice repr 2021-01-02 18:04:46 -08:00
JonnyWong16
f8c325ce2f
Add server dashboard bandwidth and resources 2021-01-02 16:44:02 -08:00
JonnyWong16
949d37bc2f
Update listAttrs doc string 2020-12-23 22:29:26 -08:00
Steffen Fredriksen
dcd2663645
Merge pull request #616 from JonnyWong16/bugfix/collection_children
Fix collection children
2020-12-14 00:45:30 +01:00
JonnyWong16
edd5b514ed
Rename _isChildOf method 2020-12-13 12:41:53 -08:00
JonnyWong16
6cb2168ef0
Update PlexObject doc string 2020-12-13 12:41:43 -08:00
JonnyWong16
0d6c43558a
Add method to keep track of the parent PlexObject 2020-12-13 12:41:43 -08:00
JonnyWong16
aa9b530b2e
Fix doc building with DeprecationWarning 2020-12-13 12:36:43 -08:00
JonnyWong16
2cf0d7edab
Fix rare case where details_key is None 2020-12-06 19:04:18 -08:00
JonnyWong16
b451b22bb8
Fix doc building 2020-11-23 12:20:56 -08:00
Steffen Fredriksen
b623b43a58
Merge pull request #606 from JonnyWong16/bugfix/full_object
Fix Collections stuck as partial object after reloading
2020-11-23 07:47:10 +01:00
JonnyWong16
274b05e913
Fix raise exception docs 2020-11-22 20:43:59 -08:00
JonnyWong16
7f7d03236b
Fix docstrings 2020-11-22 19:06:30 -08:00
JonnyWong16
9fb3eaf41c
Add thumbBlurHash and artBlurHash attributes with includeFields 2020-11-21 20:02:31 -08:00
JonnyWong16
178217a981
Improve docstring for reload 2020-11-21 19:52:33 -08:00
JonnyWong16
a5690579d5
Refactor includes to PlexPartialObject
* Allows includes to be used by Audio, Video, Photoalbum, Photo, Collections, and Playlist
2020-11-21 19:52:01 -08:00
JonnyWong16
a12f8b09e5
Ensure sorted parameters in details key 2020-11-21 13:20:53 -08:00
JonnyWong16
d59d199ee7
Always build default details key 2020-11-21 12:08:27 -08:00
JonnyWong16
b60e541b00
Fix Collections stuck as partial object after reloading 2020-11-20 20:54:43 -08:00
JonnyWong16
0d27aa3f8e
Replace uses of details key in Show and Collection 2020-11-20 20:46:35 -08:00
JonnyWong16
c171aa2745
Allow customizing XML includes when reloading
pkkid/python-plexapi#603
2020-11-20 19:54:07 -08:00
jjlawren
83947b0e29
Don't overwrite existing attributes with an empty list (#594)
* Don't overwrite existing attributes with an empty list

* Also check for empty lists in __eq__
2020-10-31 00:13:19 -05:00
jjlawren
fb82bc402b
Playqueue improvements (#563)
* Allow creating PlayQueues with multiple items, appending items

* Fix single-item playqueues, fix 'next', fix docstrings, run black

* Docstring updates

* More documentation fixes

* Allow removing items from a PlayQueue

* Use f-strings for readability

* Add ability to move items within the PlayQueue

* Cast attributes to proper types, update docs

* Format with black

* flake8 and sphinx fixes

* Reformat with black

* Update __contains__ to accept media objects

* Operate using media items, use methods similar to playlists

* Rename parameter to better match behavior

* Help users by automatically finding appropriate playQueueItemID values

* Add refresh method, auto-refresh before modifying playqueues

* Reformat with black

* Add TAG and TYPE to PlayQueue objects

* Review comments, add playQueueSelectedMetadataItemKey for Chromecast convenience

* Allow setting the playback start point in the PlayQueue

* Add tests, simplify size check

* Use camel case for helper function

* Add a helper to provide the selected item media object
2020-09-11 16:23:27 -05:00
blacktwin
1d8d76ef56
Merge branch 'master' into intro_marker 2020-05-27 21:48:41 -04:00
blacktwin
5e3dff4e32 update analyze docstring to include new intro video marker 2020-05-24 22:55:52 -04:00
Hellowlol
940efc0013 first pass on compat. 2020-05-12 23:15:16 +02:00
Steffen Fredriksen
226737807e
Merge pull request #472 from pkkid/matching_fix
matching_fix
2020-05-10 14:30:59 +02:00
blacktwin
430113d2b9 add key to initpath 2020-05-03 21:42:08 -04:00
blacktwin
2af1452fed if agent is the only keyword then only add language and agent to params
fix for #140
2020-05-02 00:01:34 -04:00
blacktwin
608433bce2 making sure ?manual=1 is included in key 2020-05-01 22:53:28 -04:00
blacktwin
95e52b5cad error catch for zero results when using fixMatch(auto=True) 2020-05-01 22:51:28 -04:00
Hellowlol
c466b096ef Allow int to pass aswell
Supports int, strings, list off ids.¨
This bugs like this happens when your watcking tv at the same time ¯\_(ツ)_/¯
2020-05-02 00:41:56 +03:00
Hellowlol
201466a52f Allow failure 2020-05-02 00:32:46 +03:00
Hellowlol
6a3e7a0273 fix bug 2020-05-02 00:22:11 +03:00
Hellowlol
e3dc61d399 add merge method 2020-05-02 00:02:45 +03:00
blacktwin
25ae83c7bd add agent to fixMatch docstring 2020-04-29 21:10:48 -04:00
blacktwin
911fb7e680 add agent keyword to fixMatch method
allows for auto matching with a different agent than library set agent
2020-04-29 21:10:28 -04:00
blacktwin
517c9fb670 change if statement to caught any not None keywords
allowing for `title="",year=""` to work correctly
2020-04-29 21:09:16 -04:00
Hellowlol
5a2f14e645 Update based on comments. 2020-04-27 19:22:10 +03:00
Steffen Fredriksen
6eea7cce0f
Allow pagination (#464)
Allow pagination on fetchItems
2020-04-26 21:18:52 +02:00
Jason Lawrence
a1332434f1 Fix docstrings for tests, remove unused param 2020-04-15 22:49:18 -05:00
blacktwin
319fe52d0a
Merge branch 'master' into poster_change 2020-04-12 23:04:19 -04:00
blacktwin
2235cafaf1
Merge branch 'master' into poster_change 2020-04-12 22:45:31 -04:00