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