|
|
|
@ -62,6 +62,8 @@ namespace NzbDrone.Core.DecisionEngine
|
|
|
|
|
{
|
|
|
|
|
var parsedAlbumInfo = Parser.Parser.ParseAlbumTitle(report.Title);
|
|
|
|
|
|
|
|
|
|
if (parsedAlbumInfo != null)
|
|
|
|
|
{
|
|
|
|
|
if (!report.Artist.IsNullOrWhiteSpace())
|
|
|
|
|
{
|
|
|
|
|
parsedAlbumInfo.ArtistName = report.Artist;
|
|
|
|
@ -72,7 +74,7 @@ namespace NzbDrone.Core.DecisionEngine
|
|
|
|
|
parsedAlbumInfo.AlbumTitle = report.Album;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (parsedAlbumInfo != null && !parsedAlbumInfo.ArtistName.IsNullOrWhiteSpace())
|
|
|
|
|
if (!parsedAlbumInfo.ArtistName.IsNullOrWhiteSpace())
|
|
|
|
|
{
|
|
|
|
|
var remoteAlbum = _parsingService.Map(parsedAlbumInfo, searchCriteria);
|
|
|
|
|
remoteAlbum.Release = report;
|
|
|
|
@ -92,6 +94,7 @@ namespace NzbDrone.Core.DecisionEngine
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
catch (Exception e)
|
|
|
|
|
{
|
|
|
|
|
_logger.Error(e, "Couldn't process release.");
|
|
|
|
|