mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-22 09:29:59 +00:00
Fixed: Import failure when unable to parse folder name
This commit is contained in:
@@ -175,6 +175,10 @@ namespace NzbDrone.Core.MediaFiles
|
|||||||
ReleaseHash = folderInfo.ReleaseHash,
|
ReleaseHash = folderInfo.ReleaseHash,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
trackInfo = null;
|
||||||
|
}
|
||||||
|
|
||||||
var audioFiles = _diskScanService.FilterFiles(directoryInfo.FullName, _diskScanService.GetAudioFiles(directoryInfo.FullName));
|
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"))));
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user