Fixed: Import failure when unable to parse folder name

pull/6/head
Qstick 7 years ago
parent b5a8c342e5
commit f32e8974af

@ -175,6 +175,10 @@ namespace NzbDrone.Core.MediaFiles
ReleaseHash = folderInfo.ReleaseHash,
};
}
else
{
trackInfo = null;
}
var audioFiles = _diskScanService.FilterFiles(directoryInfo.FullName, _diskScanService.GetAudioFiles(directoryInfo.FullName));

@ -38,9 +38,8 @@ namespace NzbDrone.Core.Parser.Model
{
trackString = string.Format("T{0}", string.Join("-", TrackNumbers.Select(c => c.ToString("00"))));
}
return string.Format("{0} - {1} {2}", ArtistTitle, trackString, Quality);
return string.Format("{0} - {1} - {2}: {3}", ArtistTitle, AlbumTitle, trackString, Quality);
}
}
}

Loading…
Cancel
Save