Commit graph

614 commits

Author SHA1 Message Date
labrys
948ead5408 PEP8: comparison to None should be 'if cond is not None:' 2016-05-31 12:00:28 -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
c7defa37da Fix faulty logic in conditional 2016-05-31 11:56:29 -04:00
labrys
230cc794d0 Fix spelling 2016-05-31 11:56:03 -04:00
labrys
d15fa76fc9 Remove unused imports, unused variables, and redundant parentheses 2016-05-31 11:55:50 -04:00
Labrys
b7c7ec000b Add missing os import 2016-05-31 11:55:36 -04:00
Labrys
0e1437eb7e Add encoding declaaration 2016-05-31 11:52:43 -04:00
clinton-hall
2d770510a2 V10.15 ready for merge. 2016-05-29 18:41:44 +09:30
clinton-hall
c1b73be96a fix string and integer concat error. Fixes #1036 2016-05-19 13:27:39 +09:30
clinton-hall
417b79db12 don't add imdb id when torrent move-sym in use. Fixes #1030 2016-05-19 12:45:40 +09:30
miigotu
1af2178f08 Adjust params for SickRage
31aad15d12 (diff-28ff6581a210bae54e9ae080d11e7a3dL22)
2016-04-11 00:50:13 -07:00
clinton-hall
ada354886e Sort listMediaFiles results by path length #998
Thanks @RyanMelena
2016-04-06 19:29:09 +09:30
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
c50957d0b4 V10.14 ready for merge 2016-03-13 08:08:49 +10:30
clinton-hall
222c445460 escape encoding error. Fixes #977 2016-03-02 21:24:18 +10:30
Clinton Hall
3c7416ca03 Merge pull request #978 from NigelRook/master
Also check sabnzbd history for nzoid
2016-03-02 20:13:44 +10:30
Nigel Rook
3155f9493a Also check sabnzbd history for nzoid 2016-02-28 23:54:34 +00:00
Rato
6610ed3c81 Strip trailing and leading whitespaces from mount_points 2016-02-22 12:53:49 +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
clinton-hall
8e90e84c28 add -strict -2 to dts codec. Fixes #949 2016-01-29 22:31:05 +10:30
clinton-hall
bda80c656a create unique directory inoutput incase of rename error in sick/couch 2016-01-27 23:05:30 +10:30
wichall
a942c586a1 Update nzbToMediaUtil.py
Seems to be a fix for:

Traceback (most recent call last):
  File "/opt/sickrage/contrib/nzbToMedia/nzbToSickBeard.py", line 252, in <module>
    result = nzbToMedia.main(sys.argv, section)
  File "/opt/sickrage/contrib/nzbToMedia/nzbToMedia.py", line 712, in main
    download_id='')
  File "/opt/sickrage/contrib/nzbToMedia/nzbToMedia.py", line 611, in process
    plex_update(inputCategory)
  File "/opt/sickrage/contrib/nzbToMedia/core/nzbToMediaUtil.py", line 1063, in plex_update
    url = url + core.PLEXHOST + ':' + core.PLEXPORT + '/library/sections/'
UnboundLocalError: local variable 'url' referenced before assignment
Exception TypeError: "'NoneType' object is not callable" in <bound method PosixProcess.__del__ of <core.nzbToMediaUtil.PosixProcess instance at 0x7f3d911098c0>> ignored

Also fixing remnants of this issue:

https://github.com/clinton-hall/nzbToMedia/issues/804
2016-01-13 19:34:37 +00:00
Clinton Hall
6552007fc9 prevent int errors in chmod 2015-12-26 21:26:21 +10:30
clinton-hall
a1129a2d1e fix typo. Fixes #919 #920 2015-12-22 21:40:32 +10:30
clinton-hall
52cc753881 add jaraco to test sym links on Windows. Fixes #894 2015-12-19 11:29:22 +10:30
clinton-hall
fd5ee775e0 add debugging to track down #894 2015-12-18 23:57:07 +10:30
clinton-hall
316cc64075 add option move-sym to create symlink to renamed files. Fixes #894 2015-12-15 22:52:01 +10:30
clinton-hall
3e4861e87c V10.13 for merge 2015-12-11 21:56:34 +10:30
clinton-hall
362cfa4bec a symlink forward to preserve seeding files. Fixes #894 2015-12-06 09:39:08 +10:30
clinton-hall
45d95d11e8 use output location for extraction first. Fixes #900 2015-12-05 20:18:59 +10:30
clinton-hall
c77ce99ed7 add an option to disable resuming of torrents. #892
Thanks @VinceVal
2015-12-05 10:05:08 +10:30
Jeffrey Kriegsman
c896c39dae Fork sickrage and sickragetv 2015-12-04 22:18:49 +01:00
Jeffrey Kriegsman
198796e8b4 Update SickRage dir. Fixex clinton-hall/nzbToMedia#895 2015-12-04 08:09:17 +01:00
Clinton Hall
db1c3d8f64 Merge pull request #853 from fativi/master
Added an option to preserve archives after extraction
2015-10-14 22:31:39 +10:30
fativi
3377cb338e Merge pull request #1 from fativi/nightly
Nightly
2015-10-13 14:17:17 -04:00
clinton-hall
a83311e909 force clean does't overide delete_failed. Fixes #842 2015-10-13 20:25:58 +10:30
Brian
b2ac5bbaf8 Added option to presrve archive files following extraction. 2015-10-11 15:52:43 -04: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
90acaa4935 Merge pull request #837 from DxCx/master
Couple of enhancements for Torrents usage
2015-09-29 21:37:27 +09:30
Hagai Cohen
0d1e27c093 Add the ability to not resume torrent on failure 2015-09-25 09:26:53 +03:00
Hagai Cohen
ab4d02a240 Added the ability to chmod Torrent diretory before processing 2015-09-25 09:26:30 +03:00