Commit graph

169 commits

Author SHA1 Message Date
JonnyWong16
b960e2f7a5
Remove unmatch from base PlexObject 2021-02-14 15:08:49 -08:00
JonnyWong16
84f787a2cc
Merge remote-tracking branch 'upstream/master' into feature/edit_tags 2021-02-14 14:38:21 -08:00
JonnyWong16
f66624f2bd
Merge pull request #656 from JonnyWong16/feature/object_parent
Fix checking object parent when the weakref is dead
2021-02-14 14:34:54 -08:00
JonnyWong16
caa7f10722
Merge remote-tracking branch 'upstream/master' into feature/object_parent 2021-02-14 14:22:53 -08:00
JonnyWong16
1f2c0e8103
Merge remote-tracking branch 'upstream/master' into feature/posters 2021-02-14 14:22:09 -08:00
JonnyWong16
28b1f9e9a6
Add ability to lock/unlock fields when adding/removing tags 2021-02-11 09:28:15 -08:00
JonnyWong16
46e902e125
Don't reload for Playable session keys 2021-02-07 15:31:45 -08:00
JonnyWong16
a221b226cd
Explicitly specify the Playable attrs that should not be overwritten 2021-02-07 14:50:28 -08:00
JonnyWong16
15e9ad9f00
Merge branch 'master' into feature/object_parent 2021-02-07 14:46:30 -08:00
JonnyWong16
02c56841f0
Merge remote-tracking branch 'upstream/master' into feature/posters 2021-02-07 10:46:20 -08:00
Steffen Fredriksen
3f7655e96e
Merge pull request #639 from pkkid/mixin
Move split/merge and unmatch/match to a mixin
2021-02-07 19:37:14 +01:00
Steffen Fredriksen
2be946c207
Merge pull request #657 from JonnyWong16/feature/hidden_season
Fix episode parentKey and parentRatingKey when seasons are hidden in Plex
2021-02-07 19:36:39 +01:00
JonnyWong16
ab13523b17
Don't refresh after editing a tag 2021-02-07 09:45:47 -08:00
JonnyWong16
a7e5763e78
Merge remote-tracking branch 'upstream/master' into feature/posters 2021-02-07 09:33:15 -08:00
JonnyWong16
76fa9a9bf6
Merge remote-tracking branch 'upstream/master' into mixin 2021-02-07 09:29:54 -08:00
JonnyWong16
04a07b3e7d
Check obj is not None for _isChildOf 2021-02-06 20:31:07 -08:00
JonnyWong16
e7772c6f6f
Fix episode's parentKey and parentRatingKey when season's are hidden 2021-02-04 18:56:21 -08:00
JonnyWong16
68045feba2
Fix _isChildOf when weakref is dead 2021-02-04 18:04:08 -08:00
JonnyWong16
22bc55a74e
Rename tag plural helper function 2021-01-24 19:44:36 -08:00
JonnyWong16
5a4d564fd3
Move poster and art to a mixin 2021-01-24 15:29:20 -08:00
JonnyWong16
25ab16502e
Move unmatch and match to mixins 2021-01-24 15:18:28 -08:00
JonnyWong16
3e1e2434a7
Clean up SplitMerge mixin 2021-01-24 15:13:22 -08:00
Hellowlol
f13d0bfe3b
Change class name of the mixin 2021-01-24 14:58:57 -08:00
JonnyWong16
1445be25eb
Merge branch 'master' into feature/posters 2021-01-24 14:51:11 -08:00
JonnyWong16
c1d294b39c
Remove old todo comment 2021-01-24 14:49:40 -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
13325a50ba
Remove poster and art methods from collections and playlists
* Methods are already defined in PlexPartialObject
2021-01-24 11:12:02 -08:00
JonnyWong16
bc153b8896
Update poster and art doc strings 2021-01-24 11:10:11 -08:00
JonnyWong16
48c41a1c68
Separate Poster and Art objects 2021-01-24 11:09:42 -08: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