Example #1
0
        /// <summary>
        /// Handle the iTunes DatabaseChangedEvent asynchronously.
        /// </summary>

        public void MaintainLibrary(MaintenanceAction action)
        {
            if (IsScannerAllowed(Resx.I_ScanMaintenance) &&
                !disabled.Contains(Resx.I_ScanMaintenance))
            {
                IScanner scanner = new MaintenanceScanner(controller, catalog, action);
                AddScanner(scanner, MaintenanceScannerPriority);
            }
        }
Example #2
0
 /// <summary>
 /// Handle the iTunes DatabaseChangedEvent asynchronously.
 /// </summary>
 public void MaintainLibrary(MaintenanceAction action)
 {
     if (IsScannerAllowed(Resx.I_ScanMaintenance) &&
         !disabled.Contains(Resx.I_ScanMaintenance))
     {
         IScanner scanner = new MaintenanceScanner(controller, catalog, action);
         AddScanner(scanner);
     }
 }