public override void ProcessCommand() { try { bool process = false; if (!process) { return; } Azure_AnimeIDTitle thisTitle = new Azure_AnimeIDTitle { AnimeIDTitleId = 0, MainTitle = MainTitle, AnimeID = AnimeID, Titles = Titles }; AzureWebAPI.Send_AnimeTitle(thisTitle); } catch (Exception ex) { logger.Error("Error processing CommandRequest_Azure_SendAnimeTitle: {0} - {1}", AnimeID, ex); } }
public override void ProcessCommand() { try { bool process = ServerSettings.AniDB_Username.Equals("jonbaby", StringComparison.InvariantCultureIgnoreCase) || ServerSettings.AniDB_Username.Equals("jmediamanager", StringComparison.InvariantCultureIgnoreCase); if (!process) { return; } AnimeIDTitle thisTitle = new AnimeIDTitle(); thisTitle.AnimeIDTitleId = 0; thisTitle.MainTitle = MainTitle; thisTitle.AnimeID = AnimeID; thisTitle.Titles = Titles; AzureWebAPI.Send_AnimeTitle(thisTitle); } catch (Exception ex) { logger.Error("Error processing CommandRequest_Azure_SendAnimeTitle: {0} - {1}", AnimeID, ex.ToString()); return; } }