add support for new attributes

This commit is contained in:
kaso17 2016-10-30 15:50:53 +01:00 committed by kaso17
parent 4737abcf58
commit e6bf8918a3
1 changed files with 12 additions and 0 deletions

View File

@ -603,6 +603,18 @@ namespace Jackett.Indexers
case "date":
release.PublishDate = DateTimeUtil.FromUnknown(value);
break;
case "files":
release.Files = ParseUtil.CoerceLong(value);
break;
case "grabs":
release.Grabs = ParseUtil.CoerceLong(value);
break;
case "downloadvolumefactor":
release.DownloadVolumeFactor = ParseUtil.CoerceDouble(value);
break;
case "uploadvolumefactor":
release.DownloadVolumeFactor = ParseUtil.CoerceDouble(value);
break;
default:
break;
}