From 87c65932f05f95dee4eb9581d0efe6e4ebff5421 Mon Sep 17 00:00:00 2001 From: Qstick Date: Tue, 28 Dec 2021 19:51:43 -0600 Subject: [PATCH] Clean TraktService.cs --- src/NzbDrone.Core/Notifications/Trakt/TraktService.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/NzbDrone.Core/Notifications/Trakt/TraktService.cs b/src/NzbDrone.Core/Notifications/Trakt/TraktService.cs index 4a3a14190..e54c5aba4 100644 --- a/src/NzbDrone.Core/Notifications/Trakt/TraktService.cs +++ b/src/NzbDrone.Core/Notifications/Trakt/TraktService.cs @@ -110,7 +110,7 @@ namespace NzbDrone.Core.Notifications.Trakt Audio = audio, }); } - + var payloadSeasons = new List(); payloadSeasons.Add(new TraktSeasonResource { @@ -128,7 +128,7 @@ namespace NzbDrone.Core.Notifications.Trakt Imdb = series.ImdbId ?? "", }, Seasons = payloadSeasons, - }); ; + }); _proxy.AddToCollection(payload, settings.AccessToken); } @@ -167,7 +167,7 @@ namespace NzbDrone.Core.Notifications.Trakt Imdb = series.ImdbId ?? "", }, Seasons = payloadSeasons, - }); ; + }); _proxy.RemoveFromCollection(payload, settings.AccessToken); } @@ -188,7 +188,7 @@ namespace NzbDrone.Core.Notifications.Trakt Tvdb = series.TvdbId, Imdb = series.ImdbId ?? "", }, - }); ; + }); _proxy.RemoveFromCollection(payload, settings.AccessToken); } @@ -316,7 +316,7 @@ namespace NzbDrone.Core.Notifications.Trakt private string MapAudioChannels(EpisodeFile episodeFile, string audioFormat) { var audioChannels = episodeFile.MediaInfo != null ? MediaInfoFormatter.FormatAudioChannels(episodeFile.MediaInfo).ToString("0.0") : string.Empty; - + return audioChannels; } }