diff --git a/MediaBrowser.Controller/Providers/MediaInfo/AudioImageProvider.cs b/MediaBrowser.Controller/Providers/MediaInfo/AudioImageProvider.cs
index a925ad11d..881065ea6 100644
--- a/MediaBrowser.Controller/Providers/MediaInfo/AudioImageProvider.cs
+++ b/MediaBrowser.Controller/Providers/MediaInfo/AudioImageProvider.cs
@@ -56,6 +56,30 @@ namespace MediaBrowser.Controller.Providers.MediaInfo
ImageCache = new FileSystemRepository(Kernel.Instance.FFMpegManager.AudioImagesDataPath);
}
+ ///
+ /// Gets a value indicating whether [refresh on version change].
+ ///
+ /// true if [refresh on version change]; otherwise, false.
+ protected override bool RefreshOnVersionChange
+ {
+ get
+ {
+ return true;
+ }
+ }
+
+ ///
+ /// Gets the provider version.
+ ///
+ /// The provider version.
+ protected override string ProviderVersion
+ {
+ get
+ {
+ return "1";
+ }
+ }
+
///
/// Supportses the specified item.
///
@@ -150,17 +174,17 @@ namespace MediaBrowser.Controller.Providers.MediaInfo
{
semaphore.Release();
}
-
- // Image is already in the cache
- item.PrimaryImagePath = path;
-
- await _libraryManager.UpdateItem(item, cancellationToken).ConfigureAwait(false);
}
else
{
semaphore.Release();
}
}
+
+ // Image is already in the cache
+ item.PrimaryImagePath = path;
+
+ await _libraryManager.UpdateItem(item, cancellationToken).ConfigureAwait(false);
}
///