mirror of
https://github.com/Readarr/Readarr
synced 2025-12-21 07:45:52 +01: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 @@ private List<ImportResult> ProcessFolder(DirectoryInfo directoryInfo, ImportMode
|
|||
ReleaseHash = folderInfo.ReleaseHash,
|
||||
};
|
||||
}
|
||||
else
|
||||
{
|
||||
trackInfo = null;
|
||||
}
|
||||
|
||||
var audioFiles = _diskScanService.FilterFiles(directoryInfo.FullName, _diskScanService.GetAudioFiles(directoryInfo.FullName));
|
||||
|
||||
|
|
|
|||
|
|
@ -38,9 +38,8 @@ public override string ToString()
|
|||
{
|
||||
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…
Reference in a new issue