Commit graph

59 commits

Author SHA1 Message Date
Labrys of Knossos
97e1ed71b3 PEP8 Variable in function should be lowercase 2018-12-16 21:59:24 -05:00
Labrys of Knossos
f5f6562fe9 Fix strings for Python 3
`basestring` not available in Python 3
`unicode` not available in Python 3
`str` expected instead of `bytes`
2018-12-15 22:04:26 -05:00
Labrys of Knossos
5bc789bca3 Optimize imports 2018-12-15 15:01:06 -05:00
clinton-hall
713e237893 fix symlink call to SickChill. Fixes #1375 2018-11-04 10:12:31 +13:00
clinton-hall
9004ef5cc1 set Torrent move-sym option to force SickRage process_method. Fixes #1375 2018-09-27 22:37:11 +12:00
hmphargh
94ba0b3354 updates to incorporate importMode for NzbDrone/Sonarr and Radarr 2018-07-12 08:33:44 -06:00
Clinton Hall
9ac74615af
Merge branch 'nightly' into dev 2018-06-22 16:24:13 +12:00
echel0n
9306230f7e Fixed some issues with login/pass posting 2018-06-21 20:17:23 -07:00
echel0n
5f2a5499b8 Added SiCKRAGE API support for post-processing 2018-06-21 19:53:48 -07:00
clinton-hall
189dde26c8 fix typo. 2018-05-23 20:13:13 +12:00
clinton-hall
edd31b3eee fixed tab v space formatting. Fixes #1346 2018-05-23 11:14:38 +12:00
clinton-hall
bd962d0e38 added _xsrf login params for SickGear support. Fixes #1346 2018-05-23 11:10:31 +12:00
clinton-hall
376dd0f2cc force sonarr processing to "move". Fixes #1276 2017-07-20 22:48:31 +09:30
clinton-hall
bd4a448d26 fix no api bypass to apply to Sonarr only. 2017-04-26 16:27:49 +09:30
clinton-hall
cd2e466b30 remove no user bypass for SickBeard. Fixes #1244 2017-04-25 19:36:41 +09:30
clinton-hall
fb786c44f5 don't try and process when no api/user. Fixes #1240 2017-04-24 11:24:37 +09:30
clinton-hall
7dff735fa8 attempt autofork even if no username set. Fixes #1191 2017-02-13 21:12:44 +10:30
clinton-hall
e0594a6e51 fix list indices errors when no fork set. Fixes #1191 2017-02-12 12:01:48 +10:30
clinton-hall
ad1017712d perform extraction, corruption checks, and transcoding when no server set. Fixes #1183 2017-02-10 23:12:04 +10:30
clinton-hall
05b3ce9906 add new param to autofork. #1166 2017-01-11 09:25:29 +10:30
clinton-hall
785d11fbd7 add param force_next to return log from sickrage. Fixes #1158 2017-01-10 20:05:06 +10:30
clinton-hall
f6bf26c91c added delay when SickRage queues PP. Temp fix #1158 2017-01-10 10:15:36 +10:30
clinton-hall
c9c5fd5045 fix failure condition from SABnzbd. Fixes #1131 2016-11-15 18:40:32 +10:30
clinton-hall
c94731bcbb added option no_extract_failed. Fixes #1129 2016-11-08 20:14:25 +10:30
clinton-hall
dcd99da19e removed proc_type when failed. Fixes #1127 2016-11-03 13:14:03 +10:30
clinton-hall
92c356a6b0 fix int conversion base 8 from string or int. 2016-10-15 13:34:10 +10:30
clinton-hall
26d938eba0 removed extra default that casued int() to fail. Fixes #1109 2016-10-15 08:35:55 +10:30
Marvin Pinto
cb0de3ca98 Add the ability to set octal permissions on the processed files prior to handing it off to Sickrage/Couchpotato
If set, the `chmodDirectory` option instructs the nzbToMedia
post-processing script to set the recursive directory permissions to the
octal value specified.
2016-10-03 16:00:33 -04:00
Clinton Hall
c9d71945c4 Merge pull request #1100 from fernandog/add_medusa
Add Medusa fork and new param "ignore_subs"
2016-09-21 22:12:25 +09:30
Billie Thompson
adcc061a67 Update autoProcessTV.py
There is a minor typo in the user messages. This will resolve it.
2016-09-18 11:50:19 +01:00
Fernando
613ddb129a Add Medusa fork and new param "ignore_subs" 2016-09-05 15:58:12 -03:00
Labrys
a4fd80e695 Fix TypeError for missing keys by type-casting config to dict 2016-06-05 01:45:04 -04:00
Labrys
b4541d3236 Fix config option extract never being used 2016-06-05 01:40:13 -04:00
Labrys
51d2c73054 Use format() instead of % for string formatting 2016-05-31 12:02:40 -04:00
labrys
0c45961382 Streamline variable assignment 2016-05-31 12:00:45 -04:00
labrys
88c9d74206 Fix log message:
* Renamed url1 to url
* Added `section` argument to CDH
* Removed undefined variable `good_files`
2016-05-31 12:00:42 -04:00
labrys
8880d11e8a Too broad exceptions.
* Use .get() with default value instead.
* Use ValueError to catch JSONDecodeError from simplejson and ValueError from json standard lib
* Use request.RequestException instead.
2016-05-31 12:00:41 -04:00
labrys
4a4087180b Python 3: Convert 'except exceptClass, Target' to 'except exceptClass as Target' 2016-05-31 12:00:36 -04:00
labrys
03fa8bc973 Replace assignment with augmented assignment 2016-05-31 12:00:34 -04:00
labrys
c5c5279a8b PEP8: .has_key() is deprecated, use 'in' 2016-05-31 12:00:30 -04:00
labrys
061a167b56 PEP8: Test for membership should be 'not in' 2016-05-31 12:00:25 -04:00
Labrys
38ed3350ac PEP8: Fix formatting
* Remove redundant backslash between brackets
* Fix multiple statements on one line
* Fix missing/excess whitespace
* Fix comments not starting with a single `#` and a space
* Convert tabs to spaces
2016-05-31 11:59:25 -04:00
labrys
0a1fe84306 Convert to new-style class by inheriting from object 2016-05-31 11:56:33 -04:00
labrys
d15fa76fc9 Remove unused imports, unused variables, and redundant parentheses 2016-05-31 11:55:50 -04:00
Labrys
0e1437eb7e Add encoding declaaration 2016-05-31 11:52:43 -04:00
clinton-hall
3f0bf71d71 remove sickrage failed and torrent. Just check for params. Fixes #971 2016-03-22 07:18:07 +10:30
Amelandbor
a2fc2f95c9 Check failed download handling in fork parameters
Fixes https://github.com/clinton-hall/nzbToMedia/issues/971
2016-03-21 13:40:38 +01:00
clinton-hall
ceee795b09 force failed to int before testing. #958 2016-02-13 08:15:40 +10:30
JoopNL
04de8aa251 Update autoProcessTV.py 2016-02-11 23:53:11 +01:00
JoopNL
686761a7e4 Report Downloader failures to SickRage
When extraction is done by SickRage, report failures from Downloader to SickRage.
For example, when download fails in SAB because out of retention SAB reports failed status -1. Or when verification fails SAB reports failed status 1. In such cases also report failure to SickRage. Without this fix, this results in "Returned log from SickBeard was not as expected.!"
2016-02-11 23:18:27 +01:00