2019-01-13 21:03:10 +01:00
|
|
|
using System.Collections.Generic;
|
2014-02-06 05:39:16 +01:00
|
|
|
|
2019-08-18 13:20:52 +02:00
|
|
|
namespace MediaBrowser.Providers.Tmdb.Movies
|
2014-02-06 05:39:16 +01:00
|
|
|
{
|
|
|
|
internal class TmdbImageSettings
|
|
|
|
{
|
|
|
|
public List<string> backdrop_sizes { get; set; }
|
2016-04-29 10:06:41 +02:00
|
|
|
public string secure_base_url { get; set; }
|
2014-02-06 05:39:16 +01:00
|
|
|
public List<string> poster_sizes { get; set; }
|
|
|
|
public List<string> profile_sizes { get; set; }
|
2018-09-12 19:26:21 +02:00
|
|
|
|
|
|
|
public string GetImageUrl(string image)
|
|
|
|
{
|
|
|
|
return secure_base_url + image;
|
|
|
|
}
|
2014-02-06 05:39:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
internal class TmdbSettingsResult
|
|
|
|
{
|
|
|
|
public TmdbImageSettings images { get; set; }
|
|
|
|
}
|
|
|
|
}
|