mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-03-21 21:05:38 +00:00
New: Skyhook! fixing your calendars!
This commit is contained in:
@@ -105,8 +105,8 @@ namespace TVDBSharp.Models
|
||||
_show.Network = doc.GetSeriesData("Network");
|
||||
_show.Description = doc.GetSeriesData("Overview");
|
||||
_show.Rating = string.IsNullOrWhiteSpace(doc.GetSeriesData("Rating"))
|
||||
? (double?) null
|
||||
: Convert.ToDouble(doc.GetSeriesData("Rating"),
|
||||
? (decimal?) null
|
||||
: Convert.ToDecimal(doc.GetSeriesData("Rating"),
|
||||
System.Globalization.CultureInfo.InvariantCulture);
|
||||
_show.RatingCount = string.IsNullOrWhiteSpace(doc.GetSeriesData("RatingCount"))
|
||||
? 0
|
||||
@@ -182,8 +182,8 @@ namespace TVDBSharp.Models
|
||||
: Convert.ToInt64(episodeNode.GetXmlData("lastupdated")),
|
||||
Rating =
|
||||
string.IsNullOrWhiteSpace(episodeNode.GetXmlData("Rating"))
|
||||
? (double?) null
|
||||
: Convert.ToDouble(episodeNode.GetXmlData("Rating"),
|
||||
? (Decimal?) null
|
||||
: Convert.ToDecimal(episodeNode.GetXmlData("Rating"),
|
||||
System.Globalization.CultureInfo.InvariantCulture),
|
||||
RatingCount =
|
||||
string.IsNullOrWhiteSpace(episodeNode.GetXmlData("RatingCount"))
|
||||
|
||||
@@ -66,7 +66,7 @@ namespace TVDBSharp.Models
|
||||
/// <summary>
|
||||
/// Average rating as shown on IMDb.
|
||||
/// </summary>
|
||||
public double? Rating { get; set; }
|
||||
public decimal? Rating { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Amount of votes cast.
|
||||
|
||||
@@ -67,7 +67,7 @@ namespace TVDBSharp.Models
|
||||
/// <summary>
|
||||
/// Average rating as shown on IMDb.
|
||||
/// </summary>
|
||||
public double? Rating { get; set; }
|
||||
public decimal? Rating { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Amount of votes cast.
|
||||
|
||||
Reference in New Issue
Block a user