Size is now parsed for each item in the feed.

QualityType added to database to allow saving of size limits.
Fluent now uses longs for multiplication, to ensure it doesn't overflow.
This commit is contained in:
Mark McDowall 2011-09-13 19:25:33 -07:00
commit e4f01ae0d4
21 changed files with 524 additions and 6 deletions

View file

@ -21,12 +21,12 @@ namespace NzbDrone.Core
public static Int64 Megabytes(this int megabytes)
{
return megabytes * 1048576;
return megabytes * 1048576L;
}
public static Int64 Gigabytes(this int gigabytes)
{
return gigabytes * 1073741824;
return gigabytes * 1073741824L;
}
}
}