Commit Graph

7 Commits

Author SHA1 Message Date
Mark McDowall fd3dd1ab7d New: Genres and Images for Webhooks and Notifiarr
Closes #6822
2024-05-31 17:10:13 -07:00
Mark McDowall cc0a284660 New: Add series tags to Webhook and Notifiarr events 2024-05-08 18:45:19 -07:00
Mark McDowall 8d70def088 New: Include series year with custom scripts and webhooks
Closes #5439
2023-03-15 22:09:55 -07:00
Devin Buhl e5d6e569cf
New: Send additional information with Webhook and Custom Scripts
Closes #5059
2022-11-06 08:21:28 -08:00
Qstick 1c22a1ec0d StyleCop 2022-08-07 15:24:35 -07:00
Mark McDowall 50886ac928 More webook series properties
New: IMDB and TvMaze IDs in Webhooks
New: Series type in Webhooks
2020-03-10 23:58:34 -07:00
Gavin Mogan c5b25bcfee New: Add Webhook support to sonarr
Add Form type url (type=url input field)
Add isValidUrl input type validation

Only allow absolute urls when checking if a url is valid

String => string as per comments that sonarr is standarizing on the lowercase primative

Remove this before function calls

Refactored everything so OnGrab is supported

Don't double submit the webhook

Wrappers around Series, EpisodeFile, Episode so the entire data structure isn't exposed

Add Braces as per style guide

Series.ID and Series.TvdbId should be integers

Reorder webhook payload as per style guide

Upgrade to use ongrab as json instead of string

Add method selection to webhook settings

include episode directly in download event

QualityVersion should be an int and not a string (don't convert it int=>string)

Remove the list of episodes

Add season number to episode data structure

Code Review Fixes:

* Remove episodefile from payload, move everything to episode
* Change episode to a list

convert to var as per code review / style guide

Down with internals

Everything now uses webhookpayload. None of that payload.Message stuff

{"EventType":"Test","Series":{"Id":1,"Title":"Test Title","Path":"C:\\testpath","TvdbId":1234},"Episodes":[{"Id":123,"EpisodeNumber":1,"SeasonNumber":1,"Title":"Test title","AirDate":null,"AirDateUtc":null,"Quality":null,"QualityVersion":0,"ReleaseGroup":null,"SceneName":null}]}

Remove logger and processProvider

Remove unused constructor
2015-08-29 22:45:14 -07:00