mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
feat(macros): add TorrentID and GroupID (#819)
* add TorrentID to list of supported macros * added GroupID
This commit is contained in:
parent
e998f4e529
commit
2534186b5f
1 changed files with 4 additions and 0 deletions
|
@ -15,9 +15,11 @@ type Macro struct {
|
|||
TorrentName string
|
||||
TorrentPathName string
|
||||
TorrentHash string
|
||||
TorrentID string
|
||||
TorrentUrl string
|
||||
TorrentDataRawBytes []byte
|
||||
MagnetURI string
|
||||
GroupID string
|
||||
Indexer string
|
||||
Title string
|
||||
Resolution string
|
||||
|
@ -45,7 +47,9 @@ func NewMacro(release Release) Macro {
|
|||
TorrentPathName: release.TorrentTmpFile,
|
||||
TorrentDataRawBytes: release.TorrentDataRawBytes,
|
||||
TorrentHash: release.TorrentHash,
|
||||
TorrentID: release.TorrentID,
|
||||
MagnetURI: release.MagnetURI,
|
||||
GroupID: release.GroupID,
|
||||
Indexer: release.Indexer,
|
||||
Title: release.Title,
|
||||
Resolution: release.Resolution,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue