private static void ImportMovie (FileInfo file, IMLSection moviesSection, IEnumerable <string> videoexts, DirectoryInfo parent, string fileName, string parentName, IEnumerable <string> combinedSceneTags) { Debugger.LogMessageToFile ("[Media File Importers]" + " Movie File Importer is enabled."); if (!MediaSectionPopulatorHelpers .ProceedToImportMovie(file)) { return; } LocateTitle_AddToMoviesSection_ImportMediaInfo (file, moviesSection, videoexts, parent, fileName, parentName, combinedSceneTags); }
private static void ImportVideo (FileInfo file, IMLSection moviesSection, IEnumerable <string> videoexts, DirectoryInfo parent, bool isVideo, string fileName, string parentName, IEnumerable <string> combinedSceneTags) { if (!isVideo) { return; } Debugger.LogMessageToFile ("This file is a video file."); if (Helpers.UserCancels (MainImportingEngine.SpecialStatus)) { return; } if (MediaSectionPopulatorHelpers .SkipTrailer(file)) { return; } if (Helpers.UserCancels (MainImportingEngine .SpecialStatus)) { return; } if (AdhereToVideoFilesizeThreshold(file)) { return; } if (Helpers.UserCancels (MainImportingEngine .SpecialStatus)) { return; } ImportMovie (file, moviesSection, videoexts, parent, fileName, parentName, combinedSceneTags); }