Skip to content

Commit

Permalink
Remove season and episode images
Browse files Browse the repository at this point in the history
Removing them forces Jellyfin to use the metadata provider to get correct season and episode images
  • Loading branch information
Kevinjil committed Jan 12, 2025
1 parent 73f48f3 commit 7c5a036
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Jellyfin.Xtream/SeriesChannel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ private ChannelItemInfo CreateChannelItemInfo(int seriesId, SeriesStreamInfo ser
FolderType = ChannelFolderType.Season,
Genres = GetGenres(serie.Genre),
Id = StreamService.ToGuid(StreamService.SeasonPrefix, serie.CategoryId, seriesId, seasonId).ToString(),
ImageUrl = cover,
IndexNumber = seasonId,
Name = name,
Overview = overview,
Expand Down Expand Up @@ -221,7 +220,6 @@ private ChannelItemInfo CreateChannelItemInfo(SeriesStreamInfo series, Season? s
DateCreated = DateTimeOffset.FromUnixTimeSeconds(episode.Added).DateTime,
Genres = GetGenres(serie.Genre),
Id = StreamService.ToGuid(StreamService.EpisodePrefix, 0, 0, episode.EpisodeId).ToString(),
ImageUrl = cover,
IndexNumber = episode.EpisodeNum,
IsLiveStream = false,
MediaSources = sources,
Expand Down

0 comments on commit 7c5a036

Please sign in to comment.