File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Jellyfin.Plugin.Anime/Providers/KitsuIO Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public class Attributes
2727 public string Synopsis { get ; set ; }
2828 public Titles Titles { get ; set ; }
2929 public string AverageRating { get ; set ; }
30- public DateTimeOffset StartDate { get ; set ; }
30+ public DateTimeOffset ? StartDate { get ; set ; }
3131 public PosterImage PosterImage { get ; set ; }
3232
3333 // Episode specific
Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ public async Task<IEnumerable<RemoteSearchResult>> GetSearchResults(SeriesInfo s
4444 SearchProviderName = Name ,
4545 ImageUrl = series . Attributes . PosterImage . Medium . ToString ( ) ,
4646 Overview = series . Attributes . Synopsis ,
47- ProductionYear = series . Attributes . StartDate . Year ,
48- PremiereDate = series . Attributes . StartDate . DateTime ,
47+ ProductionYear = series . Attributes . StartDate ? . Year ,
48+ PremiereDate = series . Attributes . StartDate ? . DateTime ,
4949 } ;
5050 parsedSeries . SetProviderId ( ProviderNames . KitsuIo , series . Id . ToString ( ) ) ;
5151 results . Add ( parsedSeries ) ;
You can’t perform that action at this time.
0 commit comments