From 0f44bdd68b3d8f465b333dda9d2597a58925d5f7 Mon Sep 17 00:00:00 2001 From: reven Date: Sat, 25 Mar 2023 15:12:18 +1300 Subject: [PATCH] added OriginalLanguage to VideoMetadata --- MetaNodes/TheMovieDb/MovieLookup.cs | 1 + MetaNodes/VideoMetadata.cs | 34 +++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/MetaNodes/TheMovieDb/MovieLookup.cs b/MetaNodes/TheMovieDb/MovieLookup.cs index 532bf7ca..ed5bc06a 100644 --- a/MetaNodes/TheMovieDb/MovieLookup.cs +++ b/MetaNodes/TheMovieDb/MovieLookup.cs @@ -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 diff --git a/MetaNodes/VideoMetadata.cs b/MetaNodes/VideoMetadata.cs index 0ba92074..8d54a8a6 100644 --- a/MetaNodes/VideoMetadata.cs +++ b/MetaNodes/VideoMetadata.cs @@ -2,14 +2,48 @@ internal class VideoMetadata { + /// + /// Gets or sets the title of the item + /// public string Title { get; set; } + /// + /// Gets or sets the subtitle of the item + /// public string Subtitle { get; set; } + + /// + /// Gets or sets the description of the item + /// public string Description { get; set; } + + /// + /// Gets or sets the year hte item was released + /// public int Year { get; set; } + + /// + /// Gets or sets the date the item was released + /// public DateTime ReleaseDate { get; set; } + + /// + /// Gets or sets the original language + /// + public string OriginalLanguage { get; set; } + + /// + /// Gets or sets a filename where a saved copy of the art JPEG is located + /// public string ArtJpeg { get; set; } + + /// + /// Gets or sets the season number of the show, if a show + /// public int? Season { get; set; } + /// + /// Gets or sets the episode number of the show, if a show + /// public int? Episode { get; set; } private List _Actors = new ();