diff --git a/TVRename/Utility/Helper/FileHelper.cs b/TVRename/Utility/Helper/FileHelper.cs index 64a08d75..920741d0 100644 --- a/TVRename/Utility/Helper/FileHelper.cs +++ b/TVRename/Utility/Helper/FileHelper.cs @@ -426,6 +426,11 @@ public static string UrlPathFullName(this FileInfo baseFile) private static int GetMetaDetails(this FileInfo movieFile, Func extractMethod, Func parseMethod, string operation, Func meExtractMethod, Func meParseMethod) { + if (!movieFile.Exists) + { + Logger.Warn($"Unable to find file as part of {operation} for {movieFile.FullName}"); + return -1; + } try { string duration;