python-plexapi/tests
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
..
data fix audio test 2020-04-30 00:49:11 +03:00
__init__.py Move pytests up to main tests folder; Move old tests to archived folder 2017-02-01 23:10:12 -05:00
conftest.py Add bandwidth and resource tests 2021-01-03 11:33:15 -08:00
payloads.py Fix server dashboard tests 2021-01-03 13:52:00 -08:00
test__prepare.py Set CI branch/PR triggers, revert testing tweaks 2020-11-17 20:48:31 -06:00
test_actions.py zomg 2019-09-21 23:17:35 +02:00
test_audio.py Update to MediaPartStream and inheriting classes (#590) 2021-01-24 15:21:56 -05:00
test_client.py fix audio test 2020-04-30 00:49:11 +03:00
test_gdm.py Allow failure 2020-05-02 00:32:46 +03:00
test_history.py misc fixes 2020-04-16 00:30:00 +02:00
test_library.py Merge branch 'master' into feature/media_attributes 2020-12-30 12:53:17 -08:00
test_misc.py fix audio test 2020-04-30 00:49:11 +03:00
test_myplex.py Fix a test in navigation 2020-12-30 23:58:01 +01:00
test_navigation.py Fix a test in navigation 2020-12-30 23:58:01 +01:00
test_photo.py fix audio test 2020-04-30 00:49:11 +03:00
test_playlist.py Fix playlist tests 2020-12-24 09:21:29 -08:00
test_playqueue.py Add test 2020-11-30 16:04:51 -06:00
test_search.py Clean formatting 2017-02-01 23:47:22 -05:00
test_server.py Fix server dashboard tests 2021-01-03 13:52:00 -08:00
test_settings.py cleaning up test_settings.test_settings_get test 2020-09-28 13:58:31 -04:00
test_sonos.py Improve Sonos ID lookup (#496) 2020-05-26 15:09:39 -05:00
test_sync.py Update sync tests 2020-12-06 17:43:11 -08:00
test_utils.py Fix timestamp assertion in tests (#547) 2020-08-07 15:47:46 -05:00
test_video.py Update to MediaPartStream and inheriting classes (#590) 2021-01-24 15:21:56 -05:00