mirror of https://github.com/lidarr/Lidarr
Guard Against Null AlbumTitle on Import
This commit is contained in:
parent
2f74ad6540
commit
4016d359ac
|
@ -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)))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue