1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Smart PVR for newsgroup and bittorrent users.
Go to file
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
.idea Cleaned up project root. 2015-08-02 22:22:22 -07:00
debian Update control 2014-11-30 13:53:20 -08:00
gulp Phantom: screen less files are defined in sonarr.less 2015-08-29 15:19:45 -07:00
Logo Added SVG logo 2015-02-24 18:41:03 -08:00
osx Allow startup on case sensitive file systems 2015-03-18 21:03:19 +00:00
schemas New: Added Torznab as generic indexer. 2015-03-16 23:42:22 +01:00
setup spelling 2015-01-29 14:15:48 -08:00
src New: Add Webhook support to sonarr 2015-08-29 22:45:14 -07:00
tools/pdb2mdb Create .mdb files for mono releases 2013-12-26 14:14:11 -08:00
.gitattributes Added git attributes file to force LF endings 2013-10-11 15:53:27 -07:00
.gitignore Cleaned up project root. 2015-08-02 22:22:22 -07:00
.gitmodules New: Fallback to libcurl/libssl on mono for https connections. 2015-06-27 01:44:23 +02:00
build.ps1 New: Fallback to libcurl/libssl on mono for https connections. 2015-06-27 01:44:23 +02:00
build.sh Fix build on linux and add build.sh 2015-08-24 09:57:15 -07:00
CLA.md Cleaned up project root. 2015-08-02 22:22:22 -07:00
CONTRIBUTING.md Cleaned up project root. 2015-08-02 22:22:22 -07:00
gulpFile.js Compilation: Fix case inconsistencies 2015-05-12 23:17:51 +02:00
integration_mono.sh Integration tests as well 2015-02-04 07:54:25 -08:00
package.json upgraded postcss, webpack 2015-08-26 23:33:08 -07:00
readme.md Cleaned up project root. 2015-08-02 22:22:22 -07:00
rename.ps1 <default> not <default branch> 2013-02-15 18:05:07 -06:00
tests_mono.sh Run nunit console on *nix with runtime 4.0 (for proper stacktraces) 2015-02-04 07:50:29 -08:00
webpack.config.js switched web pack watch to poll mode 2015-08-26 23:32:38 -07:00

Sonarr

Sonarr is a PVR for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new episodes of your favorite shows and will grab, sort and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available.

Major Features Include:

  • Support for major platforms: Windows, Linux, OSX, Raspberry Pi, etc.
  • Automatically detects new episodes
  • Can scan your existing library and download any missing episodes
  • Can watch for better quality of the episodes you already have and do an automatic upgrade. eg. from DVD to Blu-Ray
  • Automatic failed download handling will try another release if one fails
  • Manual search so you can pick any release or to see why a release was not downloaded automatically
  • Fully configurable episode renaming
  • Full integration with SABNzbd and NzbGet
  • Full integration with XBMC, Plex (notification, library update, metadata)
  • Full support for specials and multi-episode releases
  • And a beautiful UI

Configuring Development Environment:

Requirements

Setup

  • Make sure all the required software mentioned above are installed.
  • Clone the repository into your development machine. info
  • Grab the submodules git submodule init && git submodule update
  • install the required Node Packages npm install
  • install gulp npm install gulp -g
  • start gulp to monitor your dev environment for any changes that need post processing using gulp watch command.

Please note gulp must be running at all times while you are working with Sonarr client source files.

Development

  • Open NzbDrone.sln in Visual Studio
  • Make sure NzbDrone.Console is set as the startup project

License

Sponsors