plugin.video.retrospect icon indicating copy to clipboard operation
plugin.video.retrospect copied to clipboard

NRK: unify artwork handling to remove redundant code and improve image quality

Open PatricLettau opened this issue 1 year ago • 1 comments

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.

PatricLettau avatar Apr 09 '24 21:04 PatricLettau