mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-30 19:50:15 -07:00
Fixed: Import failure when unable to parse folder name
This commit is contained in:
parent
b5a8c342e5
commit
f32e8974af
2 changed files with 5 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue