Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
     }
 }