mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
feat(macros): add Artists (#1493)
This commit is contained in:
parent
f1b42146c1
commit
b181231b12
2 changed files with 11 additions and 0 deletions
|
@ -49,6 +49,7 @@ type Macro struct {
|
|||
CurrentMinute int
|
||||
CurrentSecond int
|
||||
Tags string
|
||||
Artists string
|
||||
}
|
||||
|
||||
func NewMacro(release Release) Macro {
|
||||
|
@ -88,6 +89,7 @@ func NewMacro(release Release) Macro {
|
|||
CurrentMinute: currentTime.Minute(),
|
||||
CurrentSecond: currentTime.Second(),
|
||||
Tags: strings.Join(release.Tags, ", "),
|
||||
Artists: release.Artists,
|
||||
}
|
||||
|
||||
return ma
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue