diff options
| author | Claus Vium <clausvium@gmail.com> | 2019-02-13 11:21:56 +0100 |
|---|---|---|
| committer | Claus Vium <clausvium@gmail.com> | 2019-02-15 19:33:10 +0100 |
| commit | b9efcace7918d520576ad73e8aab4107091519b9 (patch) | |
| tree | 7ea6ebb1c9ec7bbb7697025b609f48cbc3dc0043 /MediaBrowser.Controller/Library | |
| parent | 1aaa8de1f944817916847dbf8dc19a86cbd64cbd (diff) | |
Extract imagetype-to-keytype statements into a utility function and move tvdb specific utils to separate class
Diffstat (limited to 'MediaBrowser.Controller/Library')
| -rw-r--r-- | MediaBrowser.Controller/Library/TVUtils.cs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/MediaBrowser.Controller/Library/TVUtils.cs b/MediaBrowser.Controller/Library/TVUtils.cs index 355e97db1..fd5fb6748 100644 --- a/MediaBrowser.Controller/Library/TVUtils.cs +++ b/MediaBrowser.Controller/Library/TVUtils.cs @@ -8,26 +8,6 @@ namespace MediaBrowser.Controller.Library public static class TVUtils { /// <summary> - /// The TVDB API key - /// </summary> - public static readonly string TvdbApiKey = "OG4V3YJ3FAP7FP2K"; - public static readonly string TvdbBaseUrl = "https://www.thetvdb.com/"; - /// <summary> - /// The banner URL - /// </summary> - public static readonly string BannerUrl = TvdbBaseUrl + "banners/"; - - public static string NormalizeLanguage(string language) - { - if (string.IsNullOrWhiteSpace(language)) - { - return null; - } - - // pt-br is just pt to tvdb - return language.Split('-')[0].ToLowerInvariant(); - } - /// <summary> /// Gets the air days. /// </summary> /// <param name="day">The day.</param> |
