mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.0 KiB
43 lines
1.0 KiB
using System.Xml.Serialization; |
|
|
|
namespace ErsatzTV.Infrastructure.Epg.Models; |
|
|
|
[XmlRoot("programme")] |
|
public class EpgProgramme |
|
{ |
|
[XmlAttribute("start")] |
|
public string Start { get; set; } |
|
|
|
[XmlAttribute("stop")] |
|
public string Stop { get; set; } |
|
|
|
[XmlAttribute("channel")] |
|
public string Channel { get; set; } |
|
|
|
[XmlElement("title")] |
|
public EpgTitle Title { get; set; } |
|
|
|
[XmlElement("sub-title")] |
|
public EpgTitle SubTitle { get; set; } |
|
|
|
[XmlElement("desc")] |
|
public EpgDescription Description { get; set; } |
|
|
|
[XmlElement("category")] |
|
public List<EpgCategory> Categories { get; set; } |
|
|
|
[XmlElement("icon")] |
|
public EpgIcon Icon { get; set; } |
|
|
|
[XmlElement("episode-num")] |
|
public List<EpgEpisodeNum> EpisodeNums { get; set; } |
|
|
|
[XmlElement("rating")] |
|
public EpgRating Rating { get; set; } |
|
|
|
[XmlElement("previously-shown")] |
|
public object PreviouslyShown { get; set; } // Use object for presence check |
|
|
|
[XmlElement("date")] |
|
public EpgDate Date { get; set; } |
|
}
|
|
|