mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 06:45:19 -07:00
@cosmetic Simplify ical ProductId code since adding properties (#2164)
This commit is contained in:
parent
1d8eec42ef
commit
805927205c
1 changed files with 4 additions and 3 deletions
|
@ -82,9 +82,10 @@ namespace NzbDrone.Api.Calendar
|
|||
}
|
||||
|
||||
var movies = _movieService.GetMoviesBetweenDates(start, end, unmonitored);
|
||||
var calendar = new Ical.Net.Calendar();
|
||||
|
||||
calendar.ProductId = "-//radarr.video//Radarr//EN";
|
||||
var calendar = new Ical.Net.Calendar
|
||||
{
|
||||
ProductId = "-//radarr.video//Radarr//EN"
|
||||
};
|
||||
|
||||
var calendarName = "Radarr Movies Calendar";
|
||||
calendar.AddProperty(new CalendarProperty("NAME", calendarName));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue