From 70c1722ef29baa07257f51cb5de54903d2516913 Mon Sep 17 00:00:00 2001 From: ta264 Date: Mon, 14 Oct 2019 21:21:00 +0100 Subject: [PATCH] New: Upgrade Ical.Net to 4.1.11 --- src/NzbDrone.Api/Calendar/CalendarFeedModule.cs | 6 ++---- src/NzbDrone.Api/Radarr.Api.csproj | 2 +- src/Radarr.Api.V2/Calendar/CalendarFeedModule.cs | 6 ++---- src/Radarr.Api.V2/Radarr.Api.V2.csproj | 2 +- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/src/NzbDrone.Api/Calendar/CalendarFeedModule.cs b/src/NzbDrone.Api/Calendar/CalendarFeedModule.cs index 9a2bfec9b..e9b65a2be 100644 --- a/src/NzbDrone.Api/Calendar/CalendarFeedModule.cs +++ b/src/NzbDrone.Api/Calendar/CalendarFeedModule.cs @@ -3,11 +3,9 @@ using System.Collections.Generic; using System.Linq; using Ical.Net; +using Ical.Net.CalendarComponents; using Ical.Net.DataTypes; -using Ical.Net.General; -using Ical.Net.Interfaces.Serialization; using Ical.Net.Serialization; -using Ical.Net.Serialization.iCalendar.Factory; using NzbDrone.Core.Movies; using Nancy.Responses; using NzbDrone.Core.Tags; @@ -117,7 +115,7 @@ private void CreateEvent(Ical.Net.Calendar calendar, Movie movie, bool cinemasRe return; } - var occurrence = calendar.Create(); + var occurrence = calendar.Create(); occurrence.Uid = "NzbDrone_movie_" + movie.Id + (cinemasRelease ? "_cinemas" : "_physical"); occurrence.Status = movie.Status == MovieStatusType.Announced ? EventStatus.Tentative : EventStatus.Confirmed; diff --git a/src/NzbDrone.Api/Radarr.Api.csproj b/src/NzbDrone.Api/Radarr.Api.csproj index 2b54823ae..09fa5acad 100644 --- a/src/NzbDrone.Api/Radarr.Api.csproj +++ b/src/NzbDrone.Api/Radarr.Api.csproj @@ -4,7 +4,7 @@ - + diff --git a/src/Radarr.Api.V2/Calendar/CalendarFeedModule.cs b/src/Radarr.Api.V2/Calendar/CalendarFeedModule.cs index 30ac460cc..d3acabe31 100644 --- a/src/Radarr.Api.V2/Calendar/CalendarFeedModule.cs +++ b/src/Radarr.Api.V2/Calendar/CalendarFeedModule.cs @@ -3,11 +3,9 @@ using System.Collections.Generic; using System.Linq; using Ical.Net; +using Ical.Net.CalendarComponents; using Ical.Net.DataTypes; -using Ical.Net.General; -using Ical.Net.Interfaces.Serialization; using Ical.Net.Serialization; -using Ical.Net.Serialization.iCalendar.Factory; using NzbDrone.Core.Movies; using Nancy.Responses; using NzbDrone.Core.Tags; @@ -108,7 +106,7 @@ private void CreateEvent(Ical.Net.Calendar calendar, Movie movie, bool cinemasRe return; } - var occurrence = calendar.Create(); + var occurrence = calendar.Create(); occurrence.Uid = "Radarr_movie_" + movie.Id + (cinemasRelease ? "_cinemas" : "_physical"); occurrence.Status = movie.Status == MovieStatusType.Announced ? EventStatus.Tentative : EventStatus.Confirmed; diff --git a/src/Radarr.Api.V2/Radarr.Api.V2.csproj b/src/Radarr.Api.V2/Radarr.Api.V2.csproj index 6bb64a9d3..6d587e5ba 100644 --- a/src/Radarr.Api.V2/Radarr.Api.V2.csproj +++ b/src/Radarr.Api.V2/Radarr.Api.V2.csproj @@ -4,7 +4,7 @@ - +