From feff0c711f5854cf9e7bdb3ed8bc760a44a2a173 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 29 Dec 2013 00:32:03 -0500 Subject: [PATCH] added new studio image provider --- MediaBrowser.Controller/LiveTv/ProgramInfo.cs | 6 - MediaBrowser.Model/LiveTv/ProgramInfoDto.cs | 6 - .../MediaBrowser.Providers.csproj | 4 + .../Movies/MovieProviderFromXml.cs | 5 +- .../Savers/MovieXmlSaver.cs | 6 +- .../Studios/StudioImageProvider.cs | 138 +++++ MediaBrowser.Providers/Studios/images.txt | 490 ++++++++++++++++++ .../Library/Resolvers/Movies/MovieResolver.cs | 5 + .../LiveTv/LiveTvDtoService.cs | 1 - 9 files changed, 643 insertions(+), 18 deletions(-) create mode 100644 MediaBrowser.Providers/Studios/StudioImageProvider.cs create mode 100644 MediaBrowser.Providers/Studios/images.txt diff --git a/MediaBrowser.Controller/LiveTv/ProgramInfo.cs b/MediaBrowser.Controller/LiveTv/ProgramInfo.cs index 2c7b40415..d672340e4 100644 --- a/MediaBrowser.Controller/LiveTv/ProgramInfo.cs +++ b/MediaBrowser.Controller/LiveTv/ProgramInfo.cs @@ -44,12 +44,6 @@ namespace MediaBrowser.Controller.LiveTv /// public DateTime EndDate { get; set; } - /// - /// Gets or sets the aspect ratio. - /// - /// The aspect ratio. - public string AspectRatio { get; set; } - /// /// Genre of the program. /// diff --git a/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs b/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs index 8b8b0cd07..0798a2294 100644 --- a/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs +++ b/MediaBrowser.Model/LiveTv/ProgramInfoDto.cs @@ -47,12 +47,6 @@ namespace MediaBrowser.Model.LiveTv /// /// The community rating. public float? CommunityRating { get; set; } - - /// - /// Gets or sets the aspect ratio. - /// - /// The aspect ratio. - public string AspectRatio { get; set; } /// /// Gets or sets the official rating. diff --git a/MediaBrowser.Providers/MediaBrowser.Providers.csproj b/MediaBrowser.Providers/MediaBrowser.Providers.csproj index 272274679..c757a89cb 100644 --- a/MediaBrowser.Providers/MediaBrowser.Providers.csproj +++ b/MediaBrowser.Providers/MediaBrowser.Providers.csproj @@ -120,6 +120,7 @@ + @@ -165,6 +166,9 @@ + + +