bottom line style update
This commit is contained in:
parent
72414c0410
commit
d80c414c2a
|
@ -119,11 +119,14 @@ namespace MediaBrowser.Controller.Providers
|
|||
|
||||
BaseProviderInfo data;
|
||||
|
||||
if (item.ProviderData.TryGetValue(Id, out data))
|
||||
if (!item.ProviderData.TryGetValue(Id, out data))
|
||||
{
|
||||
data.Data = ConfigurationManager.ApplicationPaths.ItemsByNamePath.GetMD5();
|
||||
data = new BaseProviderInfo();
|
||||
item.ProviderData[Id] = data;
|
||||
}
|
||||
|
||||
data.Data = ConfigurationManager.ApplicationPaths.ItemsByNamePath.GetMD5();
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
@ -73,11 +73,13 @@ namespace MediaBrowser.Controller.Providers.Music
|
|||
}
|
||||
|
||||
BaseProviderInfo data;
|
||||
|
||||
if (item.ProviderData.TryGetValue(Id, out data))
|
||||
if (!item.ProviderData.TryGetValue(Id, out data))
|
||||
{
|
||||
data.Data = GetComparisonData(item as MusicAlbum);
|
||||
data = new BaseProviderInfo();
|
||||
item.ProviderData[Id] = data;
|
||||
}
|
||||
|
||||
data.Data = GetComparisonData(item as MusicAlbum);
|
||||
}
|
||||
|
||||
private async Task<LastfmGetAlbumResult> GetAlbumResult(BaseItem item, CancellationToken cancellationToken)
|
||||
|
|
Loading…
Reference in New Issue
Block a user