mirror of
https://github.com/jellyfin/jellyfin
synced 2024-09-16 06:20:38 +00:00
Added AirDay and AirTime to Series
This commit is contained in:
parent
80b3ad7bd2
commit
2b74cb5619
|
@ -1,4 +1,5 @@
|
||||||
using MediaBrowser.Model.Entities;
|
using MediaBrowser.Model.Entities;
|
||||||
|
using System;
|
||||||
|
|
||||||
namespace MediaBrowser.TV.Entities
|
namespace MediaBrowser.TV.Entities
|
||||||
{
|
{
|
||||||
|
@ -6,5 +7,7 @@ namespace MediaBrowser.TV.Entities
|
||||||
{
|
{
|
||||||
public string TvdbId { get; set; }
|
public string TvdbId { get; set; }
|
||||||
public string Status { get; set; }
|
public string Status { get; set; }
|
||||||
|
public string AirDay { get; set; }
|
||||||
|
public string AirTime { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,14 @@ namespace MediaBrowser.TV.Metadata
|
||||||
item.TvdbId = reader.ReadElementContentAsString() ?? string.Empty;
|
item.TvdbId = reader.ReadElementContentAsString() ?? string.Empty;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case "Airs_DayOfWeek":
|
||||||
|
item.AirDay = reader.ReadElementContentAsString() ?? string.Empty;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case "Airs_Time":
|
||||||
|
item.AirTime = reader.ReadElementContentAsString() ?? string.Empty;
|
||||||
|
break;
|
||||||
|
|
||||||
case "SeriesName":
|
case "SeriesName":
|
||||||
item.Name = reader.ReadElementContentAsString() ?? string.Empty;
|
item.Name = reader.ReadElementContentAsString() ?? string.Empty;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue