Merge pull request #1684 from nfnty/api

Use HTTPS for API requests: Fix missed URLs
This commit is contained in:
Luke 2016-04-26 12:18:12 -04:00
commit 8449ded793
3 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ namespace MediaBrowser.Controller.Library
/// <summary>
/// The banner URL
/// </summary>
public static readonly string BannerUrl = "http://www.thetvdb.com/banners/";
public static readonly string BannerUrl = "https://www.thetvdb.com/banners/";
/// <summary>
/// Gets the air days.

View File

@ -662,7 +662,7 @@ namespace MediaBrowser.XbmcMetadata.Parsers
{
if (!string.IsNullOrWhiteSpace(val))
{
val = val.Replace("plugin://plugin.video.youtube/?action=play_video&videoid=", "http://www.youtube.com/watch?v=", StringComparison.OrdinalIgnoreCase);
val = val.Replace("plugin://plugin.video.youtube/?action=play_video&videoid=", "https://www.youtube.com/watch?v=", StringComparison.OrdinalIgnoreCase);
hasTrailer.AddTrailerUrl(val, false);
}

View File

@ -889,7 +889,7 @@ namespace MediaBrowser.XbmcMetadata.Savers
{
// This is what xbmc expects
return url.Replace("http://www.youtube.com/watch?v=",
return url.Replace("https://www.youtube.com/watch?v=",
"plugin://plugin.video.youtube/?action=play_video&videoid=",
StringComparison.OrdinalIgnoreCase);
}