Commit bcc36b8
authored
fix(home): resolve missing thumbnails for music videos and videos (#490)
Recently downloaded music videos and videos do not extract Thumb artwork
on the Jellyfin server by default anymore. On home screen rows using
ImageType.thumb (such as Continue Watching or plugin-generated sections),
they would fall back to parent artist/folder backdrop or thumbnail, or
render completely blank cards if those were missing.
This commit updates _resolveRowImageUrl and _resolveLandscapeImageUrl
in home_screen.dart to:
1. Fall back to the item's own Primary image for MusicVideo and Video
types when Thumb artwork is missing, instead of falling back to
parent backdrop/thumbnail.
2. Skip the parent backdrop image fallback logic for MusicVideo and Video
types, ensuring their own Primary image takes precedence.
This aligns home screen resolving logic with the library browse screen.
Closes #271
Co-authored-by: mattsigal <mattsigal@users.noreply.github.com>1 parent 3bca7d8 commit bcc36b8
1 file changed
Lines changed: 15 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3618 | 3618 | | |
3619 | 3619 | | |
3620 | 3620 | | |
3621 | | - | |
3622 | | - | |
3623 | | - | |
3624 | | - | |
3625 | | - | |
3626 | | - | |
3627 | | - | |
3628 | | - | |
| 3621 | + | |
| 3622 | + | |
| 3623 | + | |
| 3624 | + | |
| 3625 | + | |
| 3626 | + | |
| 3627 | + | |
| 3628 | + | |
| 3629 | + | |
| 3630 | + | |
3629 | 3631 | | |
3630 | 3632 | | |
3631 | 3633 | | |
| |||
3845 | 3847 | | |
3846 | 3848 | | |
3847 | 3849 | | |
3848 | | - | |
3849 | | - | |
3850 | | - | |
| 3850 | + | |
| 3851 | + | |
| 3852 | + | |
3851 | 3853 | | |
3852 | 3854 | | |
3853 | 3855 | | |
3854 | 3856 | | |
3855 | 3857 | | |
3856 | | - | |
3857 | | - | |
| 3858 | + | |
| 3859 | + | |
3858 | 3860 | | |
3859 | 3861 | | |
3860 | 3862 | | |
| |||
0 commit comments