Commit graph

1772 commits

Author SHA1 Message Date
JonnyWong16
ab13523b17
Don't refresh after editing a tag 2021-02-07 09:45:47 -08:00
JonnyWong16
a073f930dc
Fix capitalization on doc string 2021-02-07 09:45:39 -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
Steffen Fredriksen
aca85d150c
Merge pull request #649 from JonnyWong16/feature/edit_tags
Add more tag editing methods and move to a mixin
2021-02-07 16:58:56 +01:00
JonnyWong16
6842a8d1da
Fix mixin tag test 2021-02-06 20:35:47 -08:00
JonnyWong16
04a07b3e7d
Check obj is not None for _isChildOf 2021-02-06 20:31:07 -08:00
JonnyWong16
88e69d4664
Merge branch 'master' into feature/edit_tags 2021-02-06 20:27:34 -08:00
JonnyWong16
271f4840e6
Merge branch 'master' into feature/posters 2021-02-06 20:26:46 -08:00
JonnyWong16
21f29f4373
Rename mixins 2021-02-06 20:23:05 -08:00
JonnyWong16
9c1ac7981d
Rename mixins 2021-02-06 20:21:49 -08:00
JonnyWong16
68b77b67b8
Separate art and poster mixin 2021-02-06 20:19:11 -08:00
JonnyWong16
28a8436dc0
Add test for episode attributes with hidden seasons 2021-02-04 19:03:29 -08:00
JonnyWong16
e7772c6f6f
Fix episode's parentKey and parentRatingKey when season's are hidden 2021-02-04 18:56:21 -08:00
JonnyWong16
a7f5d16aee
Add test to check episode parent weakref 2021-02-04 18:16:53 -08:00
JonnyWong16
68045feba2
Fix _isChildOf when weakref is dead 2021-02-04 18:04:08 -08:00
Jason Lawrence
9c0bb00bdb Bump to 4.3.1 2021-02-02 15:49:09 -06:00
Steffen Fredriksen
3b62211268
Merge pull request #650 from JonnyWong16/bugfix/photoalbum_key
Fix photo album key
2021-02-02 08:13:25 +01:00
Steffen Fredriksen
77b1d0e9a3
Merge pull request #651 from JonnyWong16/feature/collection_thumb_art
Add thumbUrl and artUrl properties to Collections
2021-02-02 08:13:05 +01:00
JonnyWong16
a263f49b10
Fix sorting of resource connections (#653)
* Fix sorting of resource connections

* Update resource connect doc strings

* flake8 single variable name connection
2021-02-01 21:59:34 -05:00
jjlawren
66e47068d9
Fix session param in tests (#652)
* Fix session param in tests

* Remove get_account helper

* Remove 'account' from fixtures to avoid skipping tests
2021-02-01 21:59:11 -05:00
JonnyWong16
1bcd3549be
Fix library timeline test queue size 2021-01-30 16:25:08 -08:00
JonnyWong16
4a2086a798
Remove episode split test 2021-01-30 16:22:48 -08:00
Steffen Fredriksen
5b4add3cb7
increase the timeout. (#634)
* Lets try to increate the timeout.

* fix typo
2021-01-27 16:37:56 -05:00
JonnyWong16
688bca92ac
Add tests for collection thumbUrl and artUrl 2021-01-25 09:20:19 -08:00
JonnyWong16
5c41bf01ac
Add thumbUrl and artUrl properties to collections 2021-01-25 09:14:25 -08:00
JonnyWong16
43a54d556d
Fix photo album key 2021-01-24 21:28:27 -08:00
JonnyWong16
22bc55a74e
Rename tag plural helper function 2021-01-24 19:44:36 -08:00
Jason Lawrence
d3fbc4f25b Bump to 4.3.0 2021-01-24 21:05:16 -06:00
Jason Lawrence
f534444739 Update issue template, add Discord link 2021-01-24 21:03:28 -06:00
JonnyWong16
ee28bef80f
Add support for the new Plex Movie agent (#628)
* guids collection to movie and GuidTag PlexObject

* Fix flake8

* Clean up GuidTag and Guid

* Add Plex Movie agent to add library doc string

* Change test bootstrap server movie library to Plex Movie

* Update tests for Plex Movie agent

* Mix movie genre test

Co-authored-by: andyloree <andy@andyloree.com>
2021-01-24 21:03:58 -05:00
Davin Martin
fee5261aaf
Added missing support for /transcode/sessions (#629) 2021-01-24 20:33:07 -05: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
JonnyWong16
c23d9635f5
Rename to mixins 2021-01-24 15:03:23 -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
dd8373176e
Update test collection fixture 2021-01-24 14:40:39 -08:00
JonnyWong16
deda4e1b2b
Add mixin tag tests 2021-01-24 14:40:39 -08:00
JonnyWong16
1b378d3f1c
Add helper function to get the plural tag 2021-01-24 14:40:39 -08:00
JonnyWong16
cfc5bdae26
Photo plural tags attribute 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
jjlawren
db344e9e6b
Fix onDeck handling of TV Shows (#641)
* Fix onDeck handling of TV Shows

* Add onDeck for Season, update docstrings

* Clarify docstring wording
2021-01-24 15:49:32 -05: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
JonnyWong16
a9a44a6a41
Fix related hubs (#642)
* Fix related hubs

* Update hub doc strings

* Add reload method for hubs

* Rename movie hub variable to match XML tag

* Add movie hubs test

* Fix hub test
2021-01-24 15:29:44 -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
2263e94420
Add tests for posters and art 2021-01-24 11:47:15 -08: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