-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(sonarr): add notification #64
Conversation
Fuochi
commented
Sep 22, 2022
- add notification
Implementation string `json:"implementation"` | ||
ConfigContract string `json:"configContract"` | ||
Tags []int `json:"tags"` | ||
Fields []*starr.FieldInput `json:"fields"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sure glad this works.
Godsend if you add this to the others and close #62. 💚 |
5e8dd06
to
5bad26b
Compare
I've few more branches locally that I have to push before starting working on something else, maybe around end of october? |
sonarr/notification_test.go
Outdated
`"onSeriesDelete":false,"onEpisodeFileDelete":true,"onEpisodeFileDeleteForUpgrade":false,` + | ||
`"onHealthIssue":false,"onApplicationUpdate":false,"includeHealthWarnings":false,"id":3,"name":"Test",` + | ||
`"implementation":"CustomScript","configContract":"CustomScriptSettings","tags":null,` + | ||
`"fields":[{"name":"path","value":"/scripts/sonarr.sh"},{"name":"apiPath","value":"/api"}]}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a lot of damn work.
5bad26b
to
d213040
Compare
so... I changed back the This should work. Unfortunately I won't have much time in the next weeks to help you with this project. If you're ok, we can start by merging this, then we'll see for the other *arrs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm good with this. We can iron out problems later. I'll be using this code soon enough to update naming profiles in the wild.