plugin.video.retrospect
plugin.video.retrospect copied to clipboard
NRK: unify artwork handling to remove redundant code and improve image quality
Functional description
Refactor, so that all parsers use the same function to set artworks. Remove near duplicate code.
Reasoning
- Removal of limitation of artwork resolution for some of the parsers
- All parsers set all available artwork types (including seasons, which didn't have any artwork before)
- More readable code
- Bugfixing (setting artwork for live channels was broken)
Technical description
Use the same methods to set artwork. Removal of unused code. For the main series parser, parse a different section of the returned json file to get access to artwork links.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code