Commit graph

27 commits

Author SHA1 Message Date
Labrys
1fd904eb5b PEP8: Tests for membership should use in/not in
* .has_key() is deprecated, use `in`
2016-06-05 12:00:20 -04:00
Labrys
92ae852513 PEP8: comparison to None, True, or False should use is/is not 2016-06-05 12:00:20 -04:00
Labrys
8cd0e76ef8 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
* Use triple-quoted docstring
2016-06-05 11:59:58 -04:00
Labrys
81ffe0456d Add encoding declaration 2016-06-05 02:01:03 -04:00
clinton-hall
ada354886e Sort listMediaFiles results by path length #998
Thanks @RyanMelena
2016-04-06 19:29:09 +09: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
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
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
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
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
76115ce735 fix typo. Fixes #822 2015-09-14 19:48:48 +09:30
clinton-hall
6ab821c5ea add https for SABnzbd. Fixes #823 2015-09-14 19:43:14 +09:30
clinton-hall
6000a879ea fix nonetype error in plexupdate. #566 2015-05-29 07:14:31 +09:30
clinton-hall
2ad1d0ba1c don't iterate None type. Fixes #763 2015-05-28 21:22:57 +09:30
clinton-hall
042fcce6b7 add plex library update. Fixes #566 2015-05-27 22:03:13 +09:30
clinton-hall
c289c8aab0 increase server responding timeout. Fixes #747 2015-04-26 21:21:48 +09:30
clinton-hall
c80a678ded rename nzbtomedia to core. Fixes #744 #746 2015-04-26 16:41:39 +09:30
Renamed from nzbtomedia/nzbToMediaUtil.py (Browse further)