feat(macros): add FilterID (#1416)

This commit is contained in:
Brandon Beck 2024-02-20 09:35:00 -06:00 committed by GitHub
parent c97becb4e3
commit 3c40c7bba8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 0 deletions

View file

@ -35,6 +35,7 @@ type Macro struct {
Resolution string
Source string
HDR string
FilterID int
FilterName string
Size uint64
SizeString string
@ -72,6 +73,7 @@ func NewMacro(release Release) Macro {
Resolution: release.Resolution,
Source: release.Source,
HDR: strings.Join(release.HDR, ", "),
FilterID: release.FilterID,
FilterName: release.FilterName,
Size: release.Size,
SizeString: humanize.Bytes(release.Size),