Commit Graph

67 Commits

Author SHA1 Message Date
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
Mark McDowall 4c1e211675 Fixed: Speed up disk rescaning during series refresh 2015-06-13 00:42:16 -07:00
Mark McDowall 0c6ca6971d Fixed: Do not replace a file unless it contains the same episodes 2015-05-05 07:29:38 -07:00
Mark McDowall 20782bbbc1 Episode import improvements
Fixed: Use folder name when file name is not parsable on import
2015-02-08 00:07:08 -08:00
Taloth Saldono 35ab3a28fd New: MediaCover api now includes several resized variants to save bandwidth for mobile apps.
banner-35.jpg (height)
banner-70.jpg
fanart-180.jpg (height)
fanart-360.jpg
poster-170.jpg (width)
poster-340.jpg
2015-01-29 19:27:09 +01:00
Taloth Saldono d931626aee Size formatted culture invariant. 2014-12-21 20:08:59 +01:00
Mark McDowall c10f02e0b1 More test cases for human readable bytes 2014-12-15 13:08:22 -08:00
Mark McDowall 6d31b14d96 Fixed: Humanized size show same values as size settings 2014-12-15 12:16:01 -08:00
Keivan Beigi f4c202441c Cleaned up environment detection 2014-12-07 12:56:47 -08:00
Keivan Beigi cf77104a02 removed redundant else 2014-12-06 23:23:11 -08:00
Mark McDowall 935b9e5f4e New: Use the ID returned from SABnzbd (0.7.20) during retry 2014-12-01 22:39:27 -08:00
Mark McDowall 6467167046 Moved Extension methods in common to subfolder 2014-12-01 22:26:25 -08:00
Mark McDowall 3f8366a190 New: Search for previously aired episodes that were just added to the database 2014-11-26 23:08:17 -08:00
Keivan Beigi 23524c238f Fixed: EzRSS Size Parsing 2014-11-24 15:16:29 -08:00
Mark McDowall 95d67ef9f4 Download decision rejection reasons are no longer static messages
New: Better messaging on manual search when release is rejected
2014-10-27 22:25:06 -07:00
kayone dbcabd6df6 updates to static pipeline 2014-08-30 13:40:21 -07:00
Mark McDowall bac75ac6d9 New: Failed download handling for Nzbget 2014-03-20 00:08:15 -07:00