feat(clients): add Readarr support (#490)

* Add initial Readarr support

* Readarr working with MaM

* feat(clients): readarr add tests
This commit is contained in:
voltron4lyfe 2022-10-14 10:56:42 -07:00 committed by GitHub
parent b7d2161fdb
commit 71d0424b61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 626 additions and 6 deletions

View file

@ -66,6 +66,9 @@ func (s *service) RunAction(action *domain.Action, release domain.Release) ([]st
case domain.ActionTypeWhisparr:
rejections, err = s.whisparr(*action, release)
case domain.ActionTypeReadarr:
rejections, err = s.readarr(*action, release)
default:
s.log.Warn().Msgf("unsupported action type: %v", action.Type)
return rejections, err