|
|
@ -41,7 +41,7 @@ namespace NzbDrone.Core.Repository.Quality
|
|
|
|
|
|
|
|
|
|
|
|
foreach (var q in Allowed)
|
|
|
|
foreach (var q in Allowed)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
result += (int) q + "|";
|
|
|
|
result += (int)q + "|";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return result.Trim('|');
|
|
|
|
return result.Trim('|');
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -51,12 +51,12 @@ namespace NzbDrone.Core.Repository.Quality
|
|
|
|
Allowed = new List<QualityTypes>(qualities.Length);
|
|
|
|
Allowed = new List<QualityTypes>(qualities.Length);
|
|
|
|
foreach (var quality in qualities)
|
|
|
|
foreach (var quality in qualities)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Allowed.Add((QualityTypes) Convert.ToInt32(quality));
|
|
|
|
Allowed.Add((QualityTypes)Convert.ToInt32(quality));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[SubSonicToManyRelation]
|
|
|
|
[SubSonicToManyRelation]
|
|
|
|
public virtual List<string> Series { get; private set; }
|
|
|
|
public virtual List<Series> Series { get; private set; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|