mirror of https://github.com/Jackett/Jackett
add support for new attributes
This commit is contained in:
parent
4737abcf58
commit
e6bf8918a3
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue