Commit Graph

347 Commits

Author SHA1 Message Date
Mark McDowall eea3419849 New: Download client and ID for custom scripts 2017-06-18 21:17:33 -07:00
Mark McDowall 416e9abca5
Fixed: Error message when adding a Plex server without a TV library 2017-06-04 21:10:56 -07:00
Mark McDowall b485bdaeec Fixed: Unable to execute custom scripts if IMDB ID is null
Fixes #1825
2017-04-08 08:20:57 -07:00
Mark McDowall e48600da42 New: TvMaze and IMDB IDs added to custom script environment variables 2017-03-29 18:22:14 -07:00
Mark McDowall 5d9d2e684e New: Paths for deleted files when upgrading an existing file 2017-03-29 13:22:37 -07:00
Mark McDowall 2e392e0f5e New: Additional variables for custom script on grab events 2017-03-29 13:12:37 -07:00
Mark McDowall 7a58082cd7 smallicon for Join notifications
New: White icon with transparent background for Join notifications notification bar icon
Closes #1458
2017-03-19 23:31:50 -07:00
Mark McDowall 878e973081 Fixed: Join grab messages
Fixes #1751
2017-03-13 19:43:07 -07:00
Mark McDowall ef03e9e9a7 Fixed: Proper port validation for download clients and connections
Closes #1642
2017-01-26 22:35:16 -08:00
Keivan Beigi fbd2f8dea4
Fixed: Growl download notification title 2017-01-22 13:07:21 -08:00
vertigo235 f56076a135 Fixed: Pushover silent priority 2017-01-19 23:51:58 -08:00
Keivan Beigi 73840dcacc The great logger.Error cleanup! 2017-01-05 17:43:24 -08:00
Keivan Beigi a34e69b35b Notification API Cleanup 2016-12-27 23:52:20 -08:00
Keivan Beigi 0214c8e0f0 Removed unused using statements 2016-12-23 13:45:24 -08:00
Keivan Beigi aba613acd1 Because it's 2016! 2016-12-21 20:38:37 -08:00
Keivan Beigi da52e60f36 Upgraded Nlog/RestSharp/Selenium 2016-12-12 11:17:15 -08:00
Mark McDowall c99e92e6af New: Validate PMS version before performing a library update 2016-12-08 10:23:53 -08:00
Mark McDowall 3f64c01d5b Fixed: Partial library updates for Plex Media Server 1.3 2016-12-07 12:58:23 -08:00
Mark McDowall f022dae1fa Fixed: Partial library updates for Plex Media Server 1.3 2016-12-06 17:05:00 -08:00
Mark McDowall 52ad8cf37f Fixed: Error handling of valid, empty responses from Plex Media Server 2016-12-06 09:11:50 -08:00
Mark McDowall 3d20fd8f96 Fixed: Error handling of valid, empty responses from Plex Media Server 2016-12-05 09:34:17 -08:00
Mark McDowall 43d85bf59d Fixed: Parsing of some Plex server responses before 1.3 2016-12-02 10:39:12 -08:00
ARTbird309 4a149c356b New: Telegram notifications
Closes #1355
2016-11-30 19:08:29 -08:00
Mark McDowall 0a657302f7 New: Support for Plex Media Server 1.3.0's new JSON responses 2016-11-23 16:38:57 -08:00
Mark McDowall 2ece05cd1e Fixed: Email connection test reporting success incorrectly
Fixes #1524
2016-10-28 11:02:36 -07:00
karaambaa eeff79b288 Added Sonarr-icon to Boxcar notification
Now there is a small Sonarr icon next to the Boxcar message.
2016-10-20 09:36:00 -07:00
Chris Heath c0b0567c23 Join: Device ID entry and better error handling
New: Optionally limit Join notifications to specific devices
Fixes #1455
2016-09-23 16:13:46 -07:00
Taloth Saldono 73fb216e6f New: Added CAPTCHA support to Rarbg. 2016-08-13 22:10:42 +02:00
Christopher Heath 626d94d435 New: Join notifications
Closes #1197
2016-08-13 11:37:55 -07:00
Mark McDowall 5bf9b069fc Fixed: Slack Icon is optional 2016-07-27 11:31:51 -07:00
Taloth Saldono a2536deef0 Fixed: Significantly improved api performance. 2016-07-24 01:00:41 +02:00
Mark McDowall c8474701a0 Fixed: Parsing Plex Media Server version 1.0 2016-07-02 00:19:31 -07:00
Mark McDowall f1c007c5fe Include full grab/import message for Slack notifications 2016-06-18 10:57:18 -07:00
Martin Hartvig 6c287f118f New: Slack notifications
Closes #1002
2016-06-13 23:35:25 -07:00
Peter Tutervai fea5db3e4b Re-enabled calling synoindex after renaming
Fixed: On Rename connections to synoindex
2016-06-13 22:07:47 -07:00
Mark McDowall 7476d692aa New: EpisodeTitles for Custom Scripts
Closes #1263
2016-06-02 19:16:35 -07:00
Mark McDowall 2e90ea9c19 Fixed: Prefix Twitter notifications (Grabbed/Imported) 2016-05-19 18:54:49 -07:00
Mark McDowall 54fda3d648 Fixed: Updating Emby Library
Closes #1267
2016-04-28 23:42:53 -07:00
Mark McDowall 8773d38ddd Fixed: Plex Meda Server authentication 2016-04-23 13:28:07 -07:00
Mark McDowall ab7b427241 Fixed: Default display time for Kodi notifications 2016-04-07 15:52:12 -07:00
Mark McDowall 59e71a4cd9 Include series type for CustomScript 2016-03-19 19:35:02 -07:00
Mark McDowall 1072c5247c On grab for custom scripts
New: On Grab handling for Custom Scripts
2016-03-17 18:40:58 -07:00
Taloth Saldono 2ffbbb0e71 Refactored HttpRequest and HttpRequestBuilder, moving most of the logic to the HttpRequestBuilder.
Added ContentSummary to be able to describe the ContentData in a human readable form. (Useful for JsonRpc and FormData).
2016-03-11 20:35:58 +01:00
Mark McDowall e8d1623e96 Default Plex Media Server "Update Library" to true 2016-02-25 19:19:31 -08:00
Taloth Saldono 6a90035a4c Updated NLog to v4.2.3. 2016-02-11 22:15:12 +01:00
Taloth Saldono e01b2ef25c Fixed some compile warnings. 2016-02-11 22:11:53 +01:00
Mark McDowall 2396af4589 New: Pushover Silent and Emergency priorities
Closes #878
2016-02-10 23:43:40 -08:00
Ivan Brazza 9b0654c7f2 New: Setting Pushbullet source device 2016-01-28 21:33:11 +00:00
Mark McDowall 56da824e98 AutoComplete and file browser will show files when appropriate
Fixed: File browser for Custom Script shows files
Closes #1084
2016-01-27 19:24:41 -08:00
Mark McDowall a96718f7b3 Fixed Twitter notifications
New: Twitter notifications now require a Twitter (see settings for details)

Closes #1049
2016-01-06 22:32:12 -08:00
Mark McDowall ea6ae85f7a Fixed: Logging invalid version when failing to connect to Kodi
Closes #927
2015-11-14 22:35:45 -08:00
Mark McDowall 68cd9ab8c8 Don't error out if PMS returns no ID for a specific series
Closes #813
2015-10-04 12:12:07 -07:00
Taloth Saldono ccfa13e383 Replaced built-in valuetypes with language keywords. 2015-10-03 21:14:06 +02:00
Mark McDowall fa527d7820 New: Custom Script Download contains SourcePath and SourceFolder
Closes #793
2015-09-10 21:12:48 -07:00
Mark McDowall 81778cb0b0 New: Custom Script environment variables use underscores instead of periods 2015-09-10 20:11:16 -07:00
Mark McDowall 19f09fdb86 Path and Arguments were set to the same number for CustomScript 2015-09-03 14:57:38 -07:00
Mark McDowall 741dc8f50b Fixed: Only run a complete section update in Plex if all partial updates fail
Closes #773
2015-09-01 23:46:26 -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
Gavin Mogan d3b9ebf86c Convert onGrab from passing a string to passing an object with series and episode information
Use object initalizer instead of creation of OnGrab/grabmessage
2015-08-25 21:13:08 -07:00
Mark McDowall 86b748b9eb New: Sonarr logo is optional for Pushalot notifications 2015-08-01 00:51:57 -07:00
Mark McDowall b82e830e86 Cleanup and refactoring of Twitter notifications
Closes #301
New: Twitter Notifications
2015-07-31 22:25:05 -07:00
Gavin Mogan 2fbf7a4114 Inital work on Twitter notifications 2015-07-31 22:25:01 -07:00
Rodolphe Stoclin 9b1915a187 New: Boxcar 2 notifications 2015-07-31 20:30:37 +02:00
Mark McDowall 0f2bba0615 Custom scripts
New: Run custom scripts (Connection)

Closes #439
2015-07-20 10:49:54 -07:00
Mark McDowall 61de750e05 Update plex token cache when password is changed
Fixed: New plex.tv password not taking effect immediately
Fixed: Prevent an incorrect plex.tv password from locking out account
2015-07-08 23:40:54 -07:00
Mark McDowall 14b9a031bb Show warning message for rTorrent that it doesn't support torrent removal 2015-06-28 14:06:03 -07:00
Mark McDowall 370406c3de Use a list for ChannelTags and DeviceIds in Pushbullet settings 2015-06-28 12:45:15 -07:00
Mark McDowall 77e9493ccf Improved PushBullet implementation (v2 API, multiple devices, channels)
New: PushBullet supports multiple devices
New: PushBullet channels

Closes #641
2015-06-28 01:50:19 -07:00
Mark McDowall bd222dbd95 Fixed: Updating empty Kodi library 2015-06-24 20:58:56 -07:00
Mark McDowall a9ada8fcf1 Cleanup tabs 2015-06-21 22:56:00 -07:00
Mark McDowall 860d7ed079 New: Support for SSL connections to Plex Media Server 2015-06-04 14:10:38 -07:00
Mark McDowall 587ad5beb5 New: Support for updating single series in Plex Library 2015-05-31 22:29:37 -07:00
Mark McDowall 4010a5336c Version and product for MyPlex Authentication 2015-05-25 22:08:35 -07:00
Mark McDowall c4e1a732dd Remove Kodi specific settings from PHT Settings 2015-05-13 08:01:39 -07:00
Taloth Saldono 2a83088045 Changed the way the Database is registered with TinyIoC to make Logdb and future cachedb more accessible. 2015-05-04 00:50:10 +02:00
Mark McDowall 9a629c2fc6 Display names for Notifications 2015-04-25 09:02:17 -07:00
Roy Handelsman 1fc99fd24e Fixed: Pushbullet settings typo 2015-04-22 00:03:42 -04:00
Taloth Saldono b92cc6fb15 Fixed: No longer possible to add protocol to a Host field (that's what Url fields are for) 2015-04-02 19:52:37 +02:00
Taloth Saldono f2ec02876b Fixed notification enable logic and test when On Upgrade is disabled. 2015-04-02 19:52:37 +02:00
Taloth Saldono 15eeb19cd5 New: Synology Media Indexer support in Connect. 2015-03-24 20:09:12 +01:00
Mark McDowall 99d9303394 Fixed: Download Client with config Warnings won't be excluded 2015-03-16 21:33:34 -07:00
Mark McDowall f021f9b146 Fixed: Updating Kodi won't fail if a series has an IMDB ID instead of a TVDB ID 2015-03-05 00:22:46 -08:00
Mark McDowall 774eb5256d Fixed: XBMC notifications have a minimum display time of 2 seconds 2015-01-15 23:12:49 -08:00
Keivan Beigi 434099ea2b removed [TV] from Kodi notifications 2015-01-14 23:06:19 -08:00
Mark McDowall daafb67fa7 New: MediaBrowser notifications 2015-01-08 22:47:59 -08:00
Mark McDowall c5d4948d2a Fixed: Show better error message when TV library isn't added to Plex server 2015-01-03 23:25:11 -08:00
Mark McDowall ec774ccdb5 Log Plex sections response before checking for error 2014-12-22 20:10:54 -08:00
Keivan Beigi 0be8f55a2f Cleaned up using directive 2014-12-06 21:55:17 -08:00
Mark McDowall 6467167046 Moved Extension methods in common to subfolder 2014-12-01 22:26:25 -08:00
Mark McDowall 86a12f95d2 Updated NzbDrone to Sonarr in notifications 2014-11-25 07:25:38 -08:00
Sander Spies 59c28a3fc6 Set X-Plex-Device-Name
This sets a title and will make it a bit more clear that Sonarr has registered as a client on myPlex.
2014-11-24 14:17:06 -08:00
Mark McDowall 6ffeba37cb Fixed: Don't report log exceptions when connection to XBMC fails 2014-11-20 17:15:56 -08:00
Keivan Beigi c0a46e04b8 Updated notification titles to sonarr 2014-11-15 20:12:03 -08:00
Mark McDowall e82b29e346 Tags
New: Ability to tag series
New: Use tags to control which series use which notification channels
2014-10-27 22:04:09 -07:00
Keivan Beigi 6a743a8792 removed dead code 2014-10-03 16:29:52 -07:00
Mark McDowall 89aa25e016 Fixed: XBMC will update the series path only when possible 2014-09-23 18:18:02 -07:00
Mark McDowall d5917f34ad Actually fixed what I said I fixed last time 2014-09-23 18:11:30 -07:00
Mark McDowall adf0fc8990 Fixed: Notifications won't show version unless its anime, will show proper 2014-09-23 10:56:15 -07:00
Mark McDowall 8281063698 Fixed: Don't try to test notifications when only on upgrade is enabled 2014-09-12 17:12:33 -07:00
Taloth Saldono d1a8cd2a84 Readded Growl logo via embedded binary blob. 2014-08-10 14:55:41 -07:00
Mark McDowall cd5f404cea Removing logo from growl temporarily 2014-08-09 02:12:56 -07:00
Mark McDowall dd15442dcd Copy logo into output folder on build, fix broken tests 2014-08-09 01:51:19 -07:00
Mark McDowall ca09588390 Fixed: Remove GDI+ dependency with embedded resource 2014-08-09 01:27:53 -07:00
Frank Riley e752e7f35d Fixed several issues in GrowlService:
1) Calls to the growl SDK were not made in a thread safe manner

2) Loading the icon from a URL did not work in mono, and it made
   the GrowlService calls take exceptionally long

3) The result of the growl SDK calls was not checked

4) A bug in the growl for windows SDK caused the mono version
   on unix platforms to not work. A fixed version of the SDK is
   now included in the build (do not use the NuGet version, it's
   broken on unix). The bug was reported to growl for windows here:
   https://code.google.com/p/growl-for-windows/issues/detail?id=48

use var for locals

made requested changes from code review

Gave state class a better name
2014-08-08 17:56:54 -07:00
Mark McDowall 15f9c3a95d Removed some extra using statements 2014-08-05 23:17:44 -07:00
Mark McDowall 4ad28bb6f6 Pushover default to Normal 2014-08-05 13:53:37 -07:00
Mark McDowall ff99c383da XBMC version is cached by host & port
Cache is cleared on test
Version is cached for 12 hours
2014-07-31 23:53:38 -07:00
Mark McDowall fc46018c9a Fixed: Connecting to XBMC when user name and password are configured 2014-07-31 23:30:30 -07:00
Mark McDowall 41583a8c67 New: Pushalot notification support 2014-07-24 23:08:32 -07:00
Mark McDowall 39ef6123b8 New: PushBullet messages start with NzbDrone to match other applications 2014-07-22 06:33:35 -07:00
Taloth Saldono 9a649cf58e Added UserAgent to RestClient. 2014-07-21 08:18:22 -07:00
Mark McDowall 7af782d353 Provider testing improvements
New: Test button for indexers in UI

Fixed: Testing download clients shows error messages in UI
Fixed: Testing notifications shows error messages in UI
2014-07-06 20:12:42 -07:00
Mark McDowall 61ec9aff27 Use sane IDs for XBMC JSON RPC calls 2014-06-08 23:03:23 -07:00
Mark McDowall 6ce45b8c09 Plex proxy logging 2014-06-05 07:09:29 -07:00
Mark McDowall 0b3e4c48f7 Added some logging to PlexServerProxy 2014-06-04 21:20:58 -07:00
Mark McDowall b4012e0752 Fixed: Quality in notifications when file name doesn't contain the quality 2014-06-02 23:31:41 -07:00
Mark McDowall b3fb807f41 HttpProvider.PostCommand will no longer keep the connection alive 2014-05-10 21:37:07 -07:00
Mark McDowall 3c47df8691 XBMC API improvements 2014-05-10 19:52:19 -07:00
Mark McDowall 9c0fb34864 Print version response from XBMC in logs 2014-04-27 15:09:37 -07:00
Mark McDowall 8414890017 Fixed: Updating Plex 2014-04-18 20:22:35 -07:00
Mark McDowall 40c2c0b533 Fixed updating for plex server 2014-04-16 10:09:57 -07:00
Mark McDowall 5bc820efed Fixed: Plex server authentication 2014-04-14 22:07:43 -07:00
Mark McDowall 6a26204d8e Allow episode zero in tests, but fail in season and episode are both zero 2014-04-08 10:22:36 -07:00
Mark McDowall e58faf8621 Plex server testing will use username and password if configured 2014-04-06 19:46:41 -07:00
Mark McDowall 2cc0dc3aab New: Username and Password for Plex Server (optional) 2014-04-06 19:44:04 -07:00
Mark McDowall 037127163f New: Choose notification sound for PushOver 2014-04-03 07:05:38 -07:00
Mark McDowall 48a92696e9 New: PushBullet to all devices (leave device id blank) 2014-04-02 17:17:38 -07:00
Mark McDowall 2f3430387e Major logging overhaul 2014-03-13 13:13:02 -07:00
Mark McDowall 7ebe4018d2 Added info to device id for push over 2014-03-11 14:34:05 -07:00
Mark McDowall c8ae9f40fb New: App health displayed in UI 2014-02-25 21:40:47 -08:00
Mark McDowall c5a3b714e6 Fixed XBMC notification logo 2014-02-18 22:25:44 -08:00
Mark McDowall 3d3390187e New: Optionally disable notifications for upgraded episode files 2014-02-10 17:09:31 -08:00
Taloth Saldono c90791b266 Quality Order can now be change on per Quality Profile. Quality Title used in Renaming can now be changed by the user. Both options require Advanced Settings to be enabled. 2014-01-27 19:21:29 +01:00
Mark McDowall 5ada7efefc Fixed: New device_iden from PushBullet can be used 2014-01-09 09:04:43 -08:00
Mark McDowall c42777086b New: PushOver will now require an application per user to avoid API limiting issues 2013-12-30 20:48:14 -08:00
Mark McDowall 182743e653 Support for Int64 in SchemaBuilder 2013-12-11 16:41:58 -08:00
Mark McDowall d5bad8c6ef long not int 2013-12-08 20:59:46 -08:00
Mark McDowall a7e210bfb3 Use Int64 for PushBullet device ID
Fixed: Support for large Push Bullet device IDs
2013-12-08 20:57:45 -08:00
kayone 3311357df0 rjs optimize the app. 2013-11-20 22:06:55 -08:00
kayone 6b418276b6 removed ServerStatus.js 2013-11-20 22:06:55 -08:00
Mark McDowall fb4e9fed85 Changed pushbullet url to api.pushbullet.com
Fixed: PushBullet URL
2013-11-19 17:47:16 -08:00
kayone ec63053fe7 cleaned up using directives. 2013-11-19 16:42:17 -08:00
Mark McDowall 07386f12e6 New: Only clean XBMC Library when a file is being upgraded 2013-11-17 22:28:49 -08:00
kayone af3ffa1c48 more reliable apikey for integration tests. 2013-11-10 23:26:13 -08:00
Mark McDowall 25c5401a9d More Connects cleanup/fixing 2013-10-12 19:46:36 -07:00
Mark McDowall 27da44ba45 Converted notifications to thingi provider
Fixed: Issues creating and saving Connects
2013-10-12 12:05:37 -07:00
Mark McDowall 5bf0e197ec Moved source code under src folder - massive change 2013-10-02 18:01:32 -07:00