mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +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
|
TorrentName string
|
||||||
TorrentPathName string
|
TorrentPathName string
|
||||||
TorrentHash string
|
TorrentHash string
|
||||||
|
TorrentID string
|
||||||
TorrentUrl string
|
TorrentUrl string
|
||||||
TorrentDataRawBytes []byte
|
TorrentDataRawBytes []byte
|
||||||
MagnetURI string
|
MagnetURI string
|
||||||
|
GroupID string
|
||||||
Indexer string
|
Indexer string
|
||||||
Title string
|
Title string
|
||||||
Resolution string
|
Resolution string
|
||||||
|
@ -45,7 +47,9 @@ func NewMacro(release Release) Macro {
|
||||||
TorrentPathName: release.TorrentTmpFile,
|
TorrentPathName: release.TorrentTmpFile,
|
||||||
TorrentDataRawBytes: release.TorrentDataRawBytes,
|
TorrentDataRawBytes: release.TorrentDataRawBytes,
|
||||||
TorrentHash: release.TorrentHash,
|
TorrentHash: release.TorrentHash,
|
||||||
|
TorrentID: release.TorrentID,
|
||||||
MagnetURI: release.MagnetURI,
|
MagnetURI: release.MagnetURI,
|
||||||
|
GroupID: release.GroupID,
|
||||||
Indexer: release.Indexer,
|
Indexer: release.Indexer,
|
||||||
Title: release.Title,
|
Title: release.Title,
|
||||||
Resolution: release.Resolution,
|
Resolution: release.Resolution,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue