mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-19 20:54:20 +01:00
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
This commit is contained in:
@@ -275,7 +275,10 @@ namespace MediaBrowser.Model.Configuration
|
||||
MetadataCountryCode = "US";
|
||||
DownloadMovieImages = new ImageDownloadOptions();
|
||||
DownloadSeriesImages = new ImageDownloadOptions();
|
||||
DownloadSeasonImages = new ImageDownloadOptions();
|
||||
DownloadSeasonImages = new ImageDownloadOptions
|
||||
{
|
||||
Backdrops = false
|
||||
};
|
||||
DownloadMusicArtistImages = new ImageDownloadOptions();
|
||||
DownloadMusicAlbumImages = new ImageDownloadOptions();
|
||||
MaxBackdrops = 3;
|
||||
|
||||
@@ -18,4 +18,10 @@ namespace MediaBrowser.Model.Dto
|
||||
/// <value>The original primary image aspect ratio.</value>
|
||||
double? OriginalPrimaryImageAspectRatio { get; set; }
|
||||
}
|
||||
|
||||
public enum RatingType
|
||||
{
|
||||
Score,
|
||||
Likes
|
||||
}
|
||||
}
|
||||
|
||||
@@ -85,6 +85,7 @@
|
||||
<Compile Include="Notifications\NotificationQuery.cs" />
|
||||
<Compile Include="Notifications\NotificationResult.cs" />
|
||||
<Compile Include="Notifications\NotificationsSummary.cs" />
|
||||
<Compile Include="Providers\RemoteImageResult.cs" />
|
||||
<Compile Include="Querying\ArtistsQuery.cs" />
|
||||
<Compile Include="Querying\ItemCountsQuery.cs" />
|
||||
<Compile Include="Querying\ItemReviewsResult.cs" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
|
||||
using MediaBrowser.Model.Dto;
|
||||
using MediaBrowser.Model.Entities;
|
||||
|
||||
namespace MediaBrowser.Model.Providers
|
||||
@@ -55,5 +55,12 @@ namespace MediaBrowser.Model.Providers
|
||||
/// </summary>
|
||||
/// <value>The type.</value>
|
||||
public ImageType Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the type of the rating.
|
||||
/// </summary>
|
||||
/// <value>The type of the rating.</value>
|
||||
public RatingType RatingType { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
28
MediaBrowser.Model/Providers/RemoteImageResult.cs
Normal file
28
MediaBrowser.Model/Providers/RemoteImageResult.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.Providers
|
||||
{
|
||||
/// <summary>
|
||||
/// Class RemoteImageResult.
|
||||
/// </summary>
|
||||
public class RemoteImageResult
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the images.
|
||||
/// </summary>
|
||||
/// <value>The images.</value>
|
||||
public List<RemoteImageInfo> Images { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the total record count.
|
||||
/// </summary>
|
||||
/// <value>The total record count.</value>
|
||||
public int TotalRecordCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the providers.
|
||||
/// </summary>
|
||||
/// <value>The providers.</value>
|
||||
public List<string> Providers { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user