Guard Against Null AlbumTitle on Import

This commit is contained in:
Qstick 2017-10-15 15:30:36 -04:00
parent 2f74ad6540
commit 4016d359ac
1 changed files with 1 additions and 1 deletions

View File

@ -699,7 +699,7 @@ namespace NzbDrone.Core.Parser
parsedTrackInfo = Parser.ParseMusicPath(filename);
}
if (parsedTrackInfo == null)
if (parsedTrackInfo == null || parsedTrackInfo.AlbumTitle.IsNullOrWhiteSpace())
{
if (MediaFileExtensions.Extensions.Contains(Path.GetExtension(filename)))
{