This commit is contained in:
Luke Pulverenti 2013-04-05 11:22:10 -04:00
commit dbcb62e462
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);