diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs
index 3c30dfb260..81ab7c4ebb 100644
--- a/MediaBrowser.Api/Playback/BaseStreamingService.cs
+++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs
@@ -638,7 +638,7 @@ namespace MediaBrowser.Api.Playback
ApiEntryPoint.Instance.OnTranscodingFinished(outputFilePath, TranscodingJobType);
- if (!exitCode.HasValue || exitCode.Value != 0 || state.Item is Video)
+ if (!exitCode.HasValue || exitCode.Value != 0)
{
Logger.Info("Deleting partial stream file(s) {0}", outputFilePath);
diff --git a/MediaBrowser.Controller/Providers/Music/FanArtAlbumProvider.cs b/MediaBrowser.Controller/Providers/Music/FanArtAlbumProvider.cs
index c814c6bbfd..33ea8b9a9a 100644
--- a/MediaBrowser.Controller/Providers/Music/FanArtAlbumProvider.cs
+++ b/MediaBrowser.Controller/Providers/Music/FanArtAlbumProvider.cs
@@ -31,6 +31,22 @@ namespace MediaBrowser.Controller.Providers.Music
return item is MusicAlbum;
}
+ protected override bool RefreshOnVersionChange
+ {
+ get
+ {
+ return true;
+ }
+ }
+
+ protected override string ProviderVersion
+ {
+ get
+ {
+ return "20130501.5";
+ }
+ }
+
///
/// Needses the refresh internal.
///
@@ -55,8 +71,6 @@ namespace MediaBrowser.Controller.Providers.Music
public override async Task FetchAsync(BaseItem item, bool force, CancellationToken cancellationToken)
{
- var mbid = item.GetProviderId(MetadataProviders.Musicbrainz);
-
cancellationToken.ThrowIfCancellationRequested();
var url = string.Format("http://api.fanart.tv/webservice/album/{0}/{1}/xml/all/1/1", APIKey, item.GetProviderId(MetadataProviders.Musicbrainz));
@@ -80,7 +94,7 @@ namespace MediaBrowser.Controller.Providers.Music
{
if (ConfigurationManager.Configuration.DownloadMusicAlbumImages.Disc && !item.ResolveArgs.ContainsMetaFileByName(DISC_FILE))
{
- var node = doc.SelectSingleNode("//fanart/music/albums/album//cdart/@url");
+ var node = doc.SelectSingleNode("//fanart/music/albums/album/cdart/@url");
var path = node != null ? node.Value : null;
@@ -103,7 +117,7 @@ namespace MediaBrowser.Controller.Providers.Music
if (ConfigurationManager.Configuration.DownloadMusicAlbumImages.Primary && !item.ResolveArgs.ContainsMetaFileByName(PRIMARY_FILE))
{
- var node = doc.SelectSingleNode("//fanart/music/albums/album//albumcover/@url");
+ var node = doc.SelectSingleNode("//fanart/music/albums/album/albumcover/@url");
var path = node != null ? node.Value : null;