Commit graph

34 commits

Author SHA1 Message Date
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
clinton-hall
77773c38d6 added support to handle archives in SickRage. #889
thanks @JoopNL
2016-02-02 20:47:45 +10:30
Jeffrey Kriegsman
198796e8b4 Update SickRage dir. Fixex clinton-hall/nzbToMedia#895 2015-12-04 08:09:17 +01:00
clinton-hall
651650f83b don't update plex on failed. Fixes #846 2015-10-11 09:53:03 +10:30
Clinton Hall
0865a5cf5f Merge pull request #844 from gibxxi/master
SSL Code changes...
2015-10-01 06:21:49 +09:30
gibxxi
e9a347346a SSL Warnings workaround - autoProcessComics.py
Add code to disable warnings in NZBGet about 'unverified SSL Requests'
being made between apps.
2015-09-29 14:12:28 +01:00
clinton-hall
d94d9f50de add processed name to final SABnzbd print out. Fixes #836 2015-09-29 22:03:10 +09:30
clinton-hall
22bb2b64b1 add "delete_on" parameter for SickRage. Fixes #814 2015-08-23 08:17:09 +09:30
clinton-hall
c5da33a17d mark as bad if no media files found. Fixes #748
also improved the flow somewhat.
2015-04-26 21:16:06 +09:30
clinton-hall
c80a678ded rename nzbtomedia to core. Fixes #744 #746 2015-04-26 16:41:39 +09:30
Renamed from nzbtomedia/autoProcess/autoProcessTV.py (Browse further)