Channel 4 Catchup - 'image16x9'
43qcc2cn opened this issue · 3 comments
Describe the bug
Unable to list anything for programs that have multiple seasons on Channel 4 Catchup.
To Reproduce
Select any program from the menus which has multiple seasons.
Expected behaviour
Seasons are listed.
Actual behaviour
Script errors.
Screenshots
N/A
Your environment
LibreELEC
- Operating system version/name: LibreELEC 11.0.6
- Kodi version: 20.3.0
- Catch-up TV & More version: v0.2.40~beta04
- Installation method: From repo
Additional context
Programs that only have a single season list the episodes correctly.
I'm no programmer but, having taken a look at the code and the website, I changed the following:
117c117
< item.art["thumb"] = item.art["landscape"] = datas['images']['image16x9']['src']
---
> item.art["thumb"] = item.art["landscape"] = datas['images']['hero']['landscape']['src']
and, while this prevents the script error, I'm not sure it is correct as the icon doesn't change for each season listed.
Debug log
As usual, please provide the full steps to reproduce the problem.
- Add beta repo.
- Install addon.
- Open addon.
- Select "Catch-up TV".
- Select "United Kingdom".
- Select "Channel 4".
- Select "comedy".
- Select, for example, "8 Out of Cats". Script errors rather than listing seasons.
- Select, for example, "8 Out of Cats Does Countdown". Episodes are listed successfully.
Should be fixed in git.