mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Fixed: Files with no tags cause qualityWeight error/ui freeze
Fixes #199
This commit is contained in:
@@ -107,6 +107,8 @@ namespace NzbDrone.Core.MediaFiles.TrackImport
|
|||||||
{
|
{
|
||||||
localTrack = new LocalTrack();
|
localTrack = new LocalTrack();
|
||||||
localTrack.Path = file;
|
localTrack.Path = file;
|
||||||
|
localTrack.Quality = new QualityModel(Quality.Unknown);
|
||||||
|
localTrack.Language = Language.Unknown;
|
||||||
|
|
||||||
decision = new ImportDecision(localTrack, new Rejection("Unable to parse file"));
|
decision = new ImportDecision(localTrack, new Rejection("Unable to parse file"));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user