public void CheckFolders(CancellationToken token, BackgroundWorker bw, bool detailedLogging, bool showErrorMsgBox)
        {
            // Check the  folder list, and build up a new "AddItems" list.
            // guessing what the shows actually are isn't done here.  That is done by
            // calls to "GuessShowItem"
            Logger.Info("*********************************************************************");
            Logger.Info("*Starting to find folders that contain files, but are not in library*");

            AddItems = new PossibleNewMovies();

            CurrentPhaseTotal = 1;
            if (TVSettings.Instance.MovieLibraryFolders.Count > 0)
            {
                CurrentPhaseTotal = TVSettings.Instance.MovieLibraryFolders.Count;
            }

            CurrentPhase = 0;

            foreach (string folder in TVSettings.Instance.MovieLibraryFolders)
            {
                CurrentPhaseDirectory      = 0;
                CurrentPhaseTotalDirectory = 1;

                DirectoryInfo di = new DirectoryInfo(folder);
                if (TVSettings.Instance.LibraryFolders.Contains(folder))
                {
                    Logger.Warn($"Not loading {folder} as it is both a movie folder and a tv folder");
                    continue;
                }
                CheckFolderForShows(di, token, bw, detailedLogging, showErrorMsgBox);

                if (token.IsCancellationRequested)
                {
                    break;
                }
                Interlocked.Increment(ref CurrentPhase);
            }
        }
 public BulkAddMovieManager(TVDoc doc)
 {
     AddItems = new PossibleNewMovies();
     mDoc     = doc;
 }