private void OnAutoSyncChanged(Root preference) { MaybeTriggerAutoSync (); }
private void OnEnabledChanged (Root pref) { if (WriteMetadataEnabled.Value || WriteRatingsAndPlayCountsEnabled.Value || RenameEnabled.Value) { Save (); } else { if (job != null) { ServiceManager.JobScheduler.Cancel (job); } } }