jellyfin / jellyfin-kodi

Jellyfin Plugin for Kodi
https://jellyfin.org
GNU General Public License v3.0
785 stars 105 forks source link

Gracefully handle missing VideoRangeType in stream tracks #853

Closed oddstr13 closed 2 months ago

oddstr13 commented 2 months ago

Fixes #849

hdrtype is defaulted to empty string just below, but do tell if you think it should be handled explicitly.

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
2.0% Duplication on New Code

See analysis details on SonarCloud

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 21.50%. Comparing base (309e108) to head (bc8cae9). Report is 7 commits behind head on master.

Files Patch % Lines
jellyfin_kodi/helper/api.py 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #853 +/- ## ======================================= Coverage 21.49% 21.50% ======================================= Files 63 63 Lines 8625 8623 -2 Branches 1588 1587 -1 ======================================= Hits 1854 1854 + Misses 6747 6745 -2 Partials 24 24 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.