mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
feat(indexers): definitions set forcesizeunit (#156)
* feat(indexers): support custom size handling * fix: change case for yaml key
This commit is contained in:
parent
1b0d52da85
commit
e0e4bf6202
5 changed files with 40 additions and 8 deletions
|
@ -217,7 +217,7 @@ func (a *announceProcessor) parseExtract(pattern string, vars []string, tmpVars
|
|||
func (a *announceProcessor) onLinesMatched(def domain.IndexerDefinition, vars map[string]string, release *domain.Release) error {
|
||||
var err error
|
||||
|
||||
err = release.MapVars(vars)
|
||||
err = release.MapVars(def, vars)
|
||||
if err != nil {
|
||||
log.Error().Stack().Err(err).Msg("announce: could not map vars for release")
|
||||
return err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue