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