Added AirDay and AirTime to Series

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti 2012-07-20 10:47:39 -04:00
parent 80b3ad7bd2
commit 2b74cb5619
2 changed files with 11 additions and 0 deletions

View File

@ -1,4 +1,5 @@
using MediaBrowser.Model.Entities;
using System;
namespace MediaBrowser.TV.Entities
{
@ -6,5 +7,7 @@ namespace MediaBrowser.TV.Entities
{
public string TvdbId { get; set; }
public string Status { get; set; }
public string AirDay { get; set; }
public string AirTime { get; set; }
}
}

View File

@ -15,6 +15,14 @@ namespace MediaBrowser.TV.Metadata
item.TvdbId = reader.ReadElementContentAsString() ?? string.Empty;
break;
case "Airs_DayOfWeek":
item.AirDay = reader.ReadElementContentAsString() ?? string.Empty;
break;
case "Airs_Time":
item.AirTime = reader.ReadElementContentAsString() ?? string.Empty;
break;
case "SeriesName":
item.Name = reader.ReadElementContentAsString() ?? string.Empty;
break;