* add custom movie metadata parsing * refactor episode nfo reader * fix emby and jellyfin bugs
53 lines
1.2 KiB
C#
53 lines
1.2 KiB
C#
using System.Xml.Serialization;
|
|
|
|
namespace ErsatzTV.Core.Metadata.Nfo;
|
|
|
|
[XmlRoot("movie")]
|
|
public class MovieNfo
|
|
{
|
|
[XmlElement("title")]
|
|
public string Title { get; set; }
|
|
|
|
[XmlElement("sorttitle")]
|
|
public string SortTitle { get; set; }
|
|
|
|
[XmlElement("outline")]
|
|
public string Outline { get; set; }
|
|
|
|
[XmlElement("year")]
|
|
public int Year { get; set; }
|
|
|
|
[XmlElement("mpaa")]
|
|
public string ContentRating { get; set; }
|
|
|
|
[XmlElement("premiered")]
|
|
public DateTime Premiered { get; set; }
|
|
|
|
[XmlElement("plot")]
|
|
public string Plot { get; set; }
|
|
|
|
[XmlElement("tagline")]
|
|
public string Tagline { get; set; }
|
|
|
|
[XmlElement("genre")]
|
|
public List<string> Genres { get; set; }
|
|
|
|
[XmlElement("tag")]
|
|
public List<string> Tags { get; set; }
|
|
|
|
[XmlElement("studio")]
|
|
public List<string> Studios { get; set; }
|
|
|
|
[XmlElement("actor")]
|
|
public List<ActorNfo> Actors { get; set; }
|
|
|
|
[XmlElement("credits")]
|
|
public List<string> Writers { get; set; }
|
|
|
|
[XmlElement("director")]
|
|
public List<string> Directors { get; set; }
|
|
|
|
[XmlElement("uniqueid")]
|
|
public List<UniqueIdNfo> UniqueIds { get; set; }
|
|
}
|