From 0675b06bea62ba9d79601598ce346d97e519f9a4 Mon Sep 17 00:00:00 2001 From: nielsvanvelzen Date: Mon, 5 Aug 2024 10:58:23 -0400 Subject: [PATCH] Backport pull request #12356 from jellyfin/release-10.9.z Fix creating virtual seasons (again) Original-merge: 900acc03aa9f238abf7cf3411c14cf56a8fe5a3f Merged-by: crobibero Backported-by: Bond_009 --- MediaBrowser.Providers/TV/SeriesMetadataService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Providers/TV/SeriesMetadataService.cs b/MediaBrowser.Providers/TV/SeriesMetadataService.cs index b03d6ffb5..5ede023f1 100644 --- a/MediaBrowser.Providers/TV/SeriesMetadataService.cs +++ b/MediaBrowser.Providers/TV/SeriesMetadataService.cs @@ -61,8 +61,8 @@ namespace MediaBrowser.Providers.TV await base.AfterMetadataRefresh(item, refreshOptions, cancellationToken).ConfigureAwait(false); RemoveObsoleteEpisodes(item); - await CreateSeasonsAsync(item, cancellationToken).ConfigureAwait(false); RemoveObsoleteSeasons(item); + await CreateSeasonsAsync(item, cancellationToken).ConfigureAwait(false); } ///