refactor: pass watch order mode in playback service

This commit is contained in:
2026-06-12 13:40:06 +02:00
parent 1f2fd4f53d
commit ffe42a352b

View File

@@ -344,7 +344,7 @@ func resumeTimeForEpisode(currentEpisode sql.NullInt64, currentTimeSeconds float
}
func (s *playbackService) loadSeasons(ctx context.Context, animeID int) []domain.SeasonEntry {
relations, _ := s.jikan.GetFullRelations(ctx, animeID)
relations, _ := s.jikan.GetFullRelations(ctx, animeID, jikan.WatchOrderModeMain)
seasons := make([]domain.SeasonEntry, 0, len(relations))
tvCounter := 1