* add new columns * store local content ratings * display and search content ratings * add content_rating to search docs * sync content rating from jellyfin, emby, plex * force sync content rating for all libraries * code cleanup
43 lines
1020 B
C#
43 lines
1020 B
C#
using System.Collections.Generic;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace ErsatzTV.Core.Metadata.Nfo
|
|
{
|
|
[XmlRoot("tvshow")]
|
|
public class TvShowNfo
|
|
{
|
|
[XmlElement("title")]
|
|
public string Title { get; set; }
|
|
|
|
[XmlElement("year")]
|
|
public int Year { get; set; }
|
|
|
|
[XmlElement("plot")]
|
|
public string Plot { get; set; }
|
|
|
|
[XmlElement("outline")]
|
|
public string Outline { get; set; }
|
|
|
|
[XmlElement("tagline")]
|
|
public string Tagline { get; set; }
|
|
|
|
[XmlElement("mpaa")]
|
|
public string ContentRating { get; set; }
|
|
|
|
[XmlElement("premiered")]
|
|
public string Premiered { 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; }
|
|
}
|
|
}
|