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