Skip to content

Commit

Permalink
change audiodb urls to https
Browse files Browse the repository at this point in the history
  • Loading branch information
LukePulverenti committed Jul 31, 2018
1 parent 6961006 commit bcc167b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions MediaBrowser.Providers/Music/AudioDbArtistProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class AudioDbArtistProvider : IRemoteMetadataProvider<MusicArtist, Artist
public static AudioDbArtistProvider Current;

private const string ApiKey = "49jhsf8248yfahka89724011";
public const string BaseUrl = "http://www.theaudiodb.com/api/v1/json/" + ApiKey;
public const string BaseUrl = "https://www.theaudiodb.com/api/v1/json/" + ApiKey;

public AudioDbArtistProvider(IServerConfigurationManager config, IFileSystem fileSystem, IHttpClient httpClient, IJsonSerializer json)
{
Expand Down Expand Up @@ -75,7 +75,7 @@ private void ProcessResult(MusicArtist item, Artist result, string preferredLang

if (!string.IsNullOrEmpty(result.strGenre))
{
item.Genres = new [] { result.strGenre };
item.Genres = new[] { result.strGenre };
}

item.SetProviderId(MetadataProviders.AudioDbArtist, result.idArtist);
Expand Down
8 changes: 4 additions & 4 deletions MediaBrowser.Providers/Music/AudioDbExternalIds.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public string Key

public string UrlFormatString
{
get { return "http://www.theaudiodb.com/album/{0}"; }
get { return "https://www.theaudiodb.com/album/{0}"; }
}

public bool Supports(IHasProviderIds item)
Expand All @@ -41,7 +41,7 @@ public string Key

public string UrlFormatString
{
get { return "http://www.theaudiodb.com/album/{0}"; }
get { return "https://www.theaudiodb.com/album/{0}"; }
}

public bool Supports(IHasProviderIds item)
Expand All @@ -64,7 +64,7 @@ public string Key

public string UrlFormatString
{
get { return "http://www.theaudiodb.com/artist/{0}"; }
get { return "https://www.theaudiodb.com/artist/{0}"; }
}

public bool Supports(IHasProviderIds item)
Expand All @@ -87,7 +87,7 @@ public string Key

public string UrlFormatString
{
get { return "http://www.theaudiodb.com/artist/{0}"; }
get { return "https://www.theaudiodb.com/artist/{0}"; }
}

public bool Supports(IHasProviderIds item)
Expand Down

0 comments on commit bcc167b

Please sign in to comment.