Fixed scene mapping deserialization

This commit is contained in:
Mark McDowall
2013-03-26 22:51:48 -07:00
parent ba4950ea8f
commit 22bbf83e42
2 changed files with 5 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
using System.Linq;
using Newtonsoft.Json;
using NzbDrone.Core.Datastore;
namespace NzbDrone.Core.ReferenceData
@@ -6,7 +7,11 @@ namespace NzbDrone.Core.ReferenceData
public class SceneMapping : ModelBase
{
public string CleanTitle { get; set; }
[JsonProperty("Title")]
public string SceneName { get; set; }
[JsonProperty("Id")]
public int TvdbId { get; set; }
public int SeasonNumber { get; set; }
}