Skip to content

Commit

Permalink
fix: fix faulty movie path generation check
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed Oct 4, 2024
1 parent f57c547 commit 6220224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shokofin/Resolvers/VirtualFileSystemService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ await Task.WhenAll(allFiles.Select(async (tuple) => {
var filePartSuffix = (episodeXref.Percentage?.Group ?? 1) is not 1
? $".pt{episode.Shoko.CrossReferences.Where(xref => xref.ReleaseGroup == episodeXref.ReleaseGroup && xref.Percentage!.Group == episodeXref.Percentage!.Group).ToList().FindIndex(xref => xref.Percentage!.Start == episodeXref.Percentage!.Start && xref.Percentage!.End == episodeXref.Percentage!.End) + 1}"
: "";
if (collectionType is CollectionType.movies && !config.FilterMovieLibraries || isMovieSeason && collectionType is null) {
if (collectionType is CollectionType.movies || (collectionType is null && isMovieSeason)) {
if (extrasFolders != null) {
foreach (var extrasFolder in extrasFolders)
foreach (var episodeInfo in season.EpisodeList.Where(a => a.Shoko.Size > 0))
Expand Down

0 comments on commit 6220224

Please sign in to comment.