diff --git a/MediaBrowser.Controller/Providers/Music/LastfmBaseProvider.cs b/MediaBrowser.Controller/Providers/Music/LastfmBaseProvider.cs index 4654a37674..c3ff411ef9 100644 --- a/MediaBrowser.Controller/Providers/Music/LastfmBaseProvider.cs +++ b/MediaBrowser.Controller/Providers/Music/LastfmBaseProvider.cs @@ -54,7 +54,7 @@ namespace MediaBrowser.Controller.Providers.Music { get { - return "3-12-13"; + return "3-12-13.2"; } } diff --git a/MediaBrowser.Controller/Providers/Music/LastfmHelper.cs b/MediaBrowser.Controller/Providers/Music/LastfmHelper.cs index 13adfcb17c..8c80b4ef15 100644 --- a/MediaBrowser.Controller/Providers/Music/LastfmHelper.cs +++ b/MediaBrowser.Controller/Providers/Music/LastfmHelper.cs @@ -39,7 +39,8 @@ namespace MediaBrowser.Controller.Providers.Music catch (OverflowException) { } - artist.PremiereDate = new DateTime(yearFormed, 1,1); + artist.PremiereDate = yearFormed > 0 ? new DateTime(yearFormed, 1,1) : DateTime.MinValue; + artist.ProductionYear = yearFormed; if (data.tags != null) { AddGenres(artist, data.tags); @@ -62,6 +63,7 @@ namespace MediaBrowser.Controller.Providers.Music var release = DateTime.MinValue; DateTime.TryParse(data.releasedate, out release); item.PremiereDate = release; + item.ProductionYear = release.Year; if (data.toptags != null) { AddGenres(item, data.toptags);