add actors to movies and shows (#172)

* add actor metadata

* show actors in ui

* get full movie/show metadata from plex

* store actor thumbnail url

* rework movie detail page

* metadata fixes

* rework show detail page

* rework artist page

* code cleanup
This commit is contained in:
Jason Dove
2021-04-17 09:36:57 -05:00
committed by GitHub
parent e368d4a075
commit d8d21996b4
63 changed files with 8078 additions and 402 deletions
+19
View File
@@ -0,0 +1,19 @@
using System.Xml.Serialization;
namespace ErsatzTV.Core.Metadata.Nfo
{
public class ActorNfo
{
[XmlElement("name")]
public string Name { get; set; }
[XmlElement("role")]
public string Role { get; set; }
[XmlElement("order")]
public int? Order { get; set; }
[XmlElement("thumb")]
public string Thumb { get; set; }
}
}
+3
View File
@@ -36,5 +36,8 @@ namespace ErsatzTV.Core.Metadata.Nfo
[XmlElement("studio")]
public List<string> Studios { get; set; }
[XmlElement("actor")]
public List<ActorNfo> Actors { get; set; }
}
}
@@ -1,4 +1,5 @@
using System.Xml.Serialization;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace ErsatzTV.Core.Metadata.Nfo
{
@@ -25,5 +26,8 @@ namespace ErsatzTV.Core.Metadata.Nfo
[XmlElement("plot")]
public string Plot { get; set; }
[XmlElement("actor")]
public List<ActorNfo> Actors { get; set; }
}
}
+3
View File
@@ -32,5 +32,8 @@ namespace ErsatzTV.Core.Metadata.Nfo
[XmlElement("studio")]
public List<string> Studios { get; set; }
[XmlElement("actor")]
public List<ActorNfo> Actors { get; set; }
}
}