From b9efcace7918d520576ad73e8aab4107091519b9 Mon Sep 17 00:00:00 2001 From: Claus Vium Date: Wed, 13 Feb 2019 11:21:56 +0100 Subject: Extract imagetype-to-keytype statements into a utility function and move tvdb specific utils to separate class --- MediaBrowser.Controller/Library/TVUtils.cs | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'MediaBrowser.Controller/Library') 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 @@ -7,26 +7,6 @@ namespace MediaBrowser.Controller.Library /// public static class TVUtils { - /// - /// The TVDB API key - /// - public static readonly string TvdbApiKey = "OG4V3YJ3FAP7FP2K"; - public static readonly string TvdbBaseUrl = "https://www.thetvdb.com/"; - /// - /// The banner URL - /// - 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(); - } /// /// Gets the air days. /// -- cgit v1.2.3