mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-27 03:04:49 +03:00
Add image scaling options for tmdb
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using MediaBrowser.Model.Plugins;
|
||||
|
||||
namespace MediaBrowser.Providers.Plugins.Tmdb
|
||||
@@ -26,5 +27,45 @@ namespace MediaBrowser.Providers.Plugins.Tmdb
|
||||
/// Gets or sets a value indicating the maximum number of cast members to fetch for an item.
|
||||
/// </summary>
|
||||
public int MaxCastMembers { get; set; } = 15;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating the poster image size to fetch.
|
||||
/// </summary>
|
||||
public string? PosterSize { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the available options for poster size.
|
||||
/// </summary>
|
||||
public List<string> PosterSizeOptions { get; set; } = new List<string>();
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating the backdrop image size to fetch.
|
||||
/// </summary>
|
||||
public string? BackdropSize { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the available options for backdrop size.
|
||||
/// </summary>
|
||||
public List<string> BackdropSizeOptions { get; set; } = new List<string>();
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating the profile image size to fetch.
|
||||
/// </summary>
|
||||
public string? ProfileSize { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the available options for profile size.
|
||||
/// </summary>
|
||||
public List<string> ProfileSizeOptions { get; set; } = new List<string>();
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating the still image size to fetch.
|
||||
/// </summary>
|
||||
public string? StillSize { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the available options for still size.
|
||||
/// </summary>
|
||||
public List<string> StillSizeOptions { get; set; } = new List<string>();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user