diff --git a/src/Jackett/Models/ReleaseInfo.cs b/src/Jackett/Models/ReleaseInfo.cs index 15e33803d..133fde719 100644 --- a/src/Jackett/Models/ReleaseInfo.cs +++ b/src/Jackett/Models/ReleaseInfo.cs @@ -81,7 +81,14 @@ namespace Jackett.Models return BytesFromMB(value); if (unit.Contains("gb")) return BytesFromGB(value); - return 0; + if (unit.Contains("tb")) + return BytesFromTB(value); + return (long)value; + } + + public static long BytesFromTB(float tb) + { + return BytesFromGB(tb * 1024f); } public static long BytesFromGB(float gb)