/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void LibraryManagerItemRemoved(object sender, ItemChangeEventArgs e) { if (!(e.Item is Movie) && !(e.Item is Episode) && !(e.Item is Series)) { return; } _logger.Info("Trakt: '" + e.Item.Name + "' reports removed from local library"); _libraryManagerEventsHelper.QueueItem(e.Item, EventType.Remove); }
/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void LibraryManagerItemRemoved(object sender, ItemChangeEventArgs e) { if (!(e.Item is Movie) && !(e.Item is Episode) && !(e.Item is Series)) { return; } if (e.Item.LocationType == LocationType.Virtual) { return; } _libraryManagerEventsHelper.QueueItem(e.Item, EventType.Remove); }