added OriginalLanguage to VideoMetadata

This commit is contained in:
reven
2023-03-25 15:12:18 +13:00
parent 76d5c8917b
commit 0f44bdd68b
2 changed files with 35 additions and 0 deletions
+1
View File
@@ -138,6 +138,7 @@
md.Year = movie.ReleaseDate.Year;
md.Subtitle = movie.Tagline;
md.ReleaseDate = movie.ReleaseDate;
md.OriginalLanguage = movie.OriginalLanguage;
if (string.IsNullOrWhiteSpace(movie.PosterPath) == false)
{
try
+34
View File
@@ -2,14 +2,48 @@
internal class VideoMetadata
{
/// <summary>
/// Gets or sets the title of the item
/// </summary>
public string Title { get; set; }
/// <summary>
/// Gets or sets the subtitle of the item
/// </summary>
public string Subtitle { get; set; }
/// <summary>
/// Gets or sets the description of the item
/// </summary>
public string Description { get; set; }
/// <summary>
/// Gets or sets the year hte item was released
/// </summary>
public int Year { get; set; }
/// <summary>
/// Gets or sets the date the item was released
/// </summary>
public DateTime ReleaseDate { get; set; }
/// <summary>
/// Gets or sets the original language
/// </summary>
public string OriginalLanguage { get; set; }
/// <summary>
/// Gets or sets a filename where a saved copy of the art JPEG is located
/// </summary>
public string ArtJpeg { get; set; }
/// <summary>
/// Gets or sets the season number of the show, if a show
/// </summary>
public int? Season { get; set; }
/// <summary>
/// Gets or sets the episode number of the show, if a show
/// </summary>
public int? Episode { get; set; }
private List<string> _Actors = new ();