mirror of
https://github.com/Radarr/Radarr
synced 2026-05-05 19:41:27 +02:00
Fixed: Files with no tags cause qualityWeight error/ui freeze
Fixes #199
This commit is contained in:
parent
c08c2eb2f8
commit
8a73b9df8a
1 changed files with 2 additions and 0 deletions
|
|
@ -107,6 +107,8 @@ private ImportDecision GetDecision(string file, Artist artist, ParsedTrackInfo f
|
||||||
{
|
{
|
||||||
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"));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue