diff --git a/MediaBrowser.Controller/Providers/Music/LastfmAlbumProvider.cs b/MediaBrowser.Controller/Providers/Music/LastfmAlbumProvider.cs index 7f2952c66..80eb20ccc 100644 --- a/MediaBrowser.Controller/Providers/Music/LastfmAlbumProvider.cs +++ b/MediaBrowser.Controller/Providers/Music/LastfmAlbumProvider.cs @@ -14,7 +14,7 @@ namespace MediaBrowser.Controller.Providers.Music { public class LastfmAlbumProvider : LastfmBaseProvider { - private static readonly Task BlankId = Task.FromResult("0000"); + private static readonly Task BlankId = Task.FromResult(""); private readonly IProviderManager _providerManager; diff --git a/MediaBrowser.Controller/Providers/Music/LastfmBaseProvider.cs b/MediaBrowser.Controller/Providers/Music/LastfmBaseProvider.cs index ff4e66da0..f58bd3bb7 100644 --- a/MediaBrowser.Controller/Providers/Music/LastfmBaseProvider.cs +++ b/MediaBrowser.Controller/Providers/Music/LastfmBaseProvider.cs @@ -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);