Skip to content

Commit

Permalink
misc: add missing TODO and remove trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed Apr 12, 2024
1 parent e9c35d7 commit d235861
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Shokofin/Resolvers/ShokoResolveManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public async Task<MediaFolderConfiguration> GetOrCreateConfigurationForMediaFold
Logger.LogWarning(
"Failed to find a match for media folder at {Path} after {Amount} attempts in {TimeSpan}.",
mediaFolder.Path,
attempts,
attempts,
DateTime.UtcNow - start
);
}
Expand Down Expand Up @@ -443,6 +443,7 @@ await Task.WhenAll(files.Select(async (tuple) => {
}
}

// TODO: Remove these two hacks once we have proper support for adding multiple series at once.
foreach (var nfoFile in nfoFiles)
{
if (allNfoFiles.Contains(nfoFile))
Expand Down Expand Up @@ -636,7 +637,7 @@ private static void CleanupDirectoryStructure(string? path)
path = Path.GetDirectoryName(path);
}
}

private IReadOnlyList<string> FindSubtitlesForPath(string sourcePath)
{
var externalPaths = new List<string>();
Expand Down

0 comments on commit d235861

Please sign in to comment.