Skip to content

Commit

Permalink
Fix MediaInfo Logging issue
Browse files Browse the repository at this point in the history
  • Loading branch information
SirSparkles committed Jul 8, 2023
1 parent e6c0cfd commit cd549a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions TVRename/Utility/Helper/FileHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,11 @@ public static string UrlPathFullName(this FileInfo baseFile)

private static int GetMetaDetails(this FileInfo movieFile, Func<ShellObject, IShellProperty> extractMethod, Func<string, FileInfo, int> parseMethod, string operation, Func<MediaInfoWrapper, int> meExtractMethod, Func<int, int> meParseMethod)
{
if (!movieFile.Exists)
{
Logger.Warn($"Unable to find file as part of {operation} for {movieFile.FullName}");
return -1;
}
try
{
string duration;
Expand Down

0 comments on commit cd549a7

Please sign in to comment.