Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
This commit is contained in:
commit
dbcb62e462
|
@ -14,7 +14,7 @@ namespace MediaBrowser.Controller.Providers.Music
|
|||
{
|
||||
public class LastfmAlbumProvider : LastfmBaseProvider
|
||||
{
|
||||
private static readonly Task<string> BlankId = Task.FromResult("0000");
|
||||
private static readonly Task<string> BlankId = Task.FromResult("");
|
||||
|
||||
private readonly IProviderManager _providerManager;
|
||||
|
||||
|
|
|
@ -138,7 +138,7 @@ namespace MediaBrowser.Controller.Providers.Music
|
|||
protected virtual async Task FetchData(BaseItem item, CancellationToken cancellationToken)
|
||||
{
|
||||
var id = item.GetProviderId(MetadataProviders.Musicbrainz) ?? await FindId(item, cancellationToken).ConfigureAwait(false);
|
||||
if (id != null)
|
||||
if (!string.IsNullOrWhiteSpace(id))
|
||||
{
|
||||
Logger.Debug("LastfmProvider - getting info for {0}", item.Name);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user