store dvd episode numbers as floats to match tvdb
This commit is contained in:
parent
3c9b0a1fb6
commit
3c53aca46b
|
@ -49,7 +49,7 @@ namespace MediaBrowser.Controller.Entities.TV
|
|||
/// Gets or sets the DVD episode number.
|
||||
/// </summary>
|
||||
/// <value>The DVD episode number.</value>
|
||||
public int? DvdEpisodeNumber { get; set; }
|
||||
public float? DvdEpisodeNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// We want to group into series not show individually in an index
|
||||
|
|
|
@ -43,7 +43,7 @@ namespace MediaBrowser.Model.Dto
|
|||
/// Gets or sets the DVD episode number.
|
||||
/// </summary>
|
||||
/// <value>The DVD episode number.</value>
|
||||
public int? DvdEpisodeNumber { get; set; }
|
||||
public float? DvdEpisodeNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the sort.
|
||||
|
|
|
@ -153,7 +153,7 @@ namespace MediaBrowser.Providers.TV
|
|||
|
||||
if (float.TryParse(number, NumberStyles.Any, UsCulture, out num))
|
||||
{
|
||||
item.DvdEpisodeNumber = Convert.ToInt32(num);
|
||||
item.DvdEpisodeNumber = num;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -414,7 +414,7 @@ namespace MediaBrowser.Providers.TV
|
|||
|
||||
if (float.TryParse(val, NumberStyles.Any, _usCulture, out num))
|
||||
{
|
||||
item.DvdEpisodeNumber = Convert.ToInt32(num);
|
||||
item.DvdEpisodeNumber = num;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user