Commit graph

63 commits

Author SHA1 Message Date
Labrys of Knossos
345ff1de93 Fix pywin32 imports 2018-12-15 14:17:10 -05:00
clinton-hall
326479ed1b fix qbittorrent to delete permanently. Fixes #1386 2018-10-15 21:29:20 +13:00
clinton-hall
e5066cba0d improve logging for imdb id lookup. #1341 2018-08-30 20:42:20 +12:00
clinton-hall
4fa0dc4572 fix tuple index error preventing qbittorrent login. Fixes #1300 2018-01-23 06:59:45 +13:00
clinton-hall
d67ed51104 fix hash lookup in qbittorrent. Fixes #1300 2018-01-22 23:07:48 +13:00
clinton-hall
12a7e3c5ce add qbittorrent client. Fixes #1300 2018-01-22 08:41:44 +13:00
clinton-hall
e34ba9af89 add qBittorrent parsing. Fixes #1300 2018-01-21 22:37:10 +13:00
hjbotha
bb6eff806e improve user script media extension handling 2017-12-05 14:51:57 +00:00
Clinton Hall
9bd61af1bf
Merge pull request #1314 from bradmann/dev
Increase shutil copy buffer length to improve network performance
2017-12-02 07:23:57 +13:00
Brad Mann
f35efe725f Increase shutil copy buffer length from 4KB to 512KB to improve network transfer performance. 2017-11-13 19:05:51 -05:00
clinton-hall
8b6a885e87 change subtitle logging level. Fixes #1296 2017-09-12 21:59:50 +09:30
clinton-hall
0d6ea131a7 fix text for keep_archive. Fixes #1290 2017-08-27 21:20:59 +09:30
clinton-hall
2779cb6961 already extracted archive not skipped. Fixes #1279 2017-07-20 23:32:31 +09:30
Clinton Hall
f467213284 Merge branch 'nightly' into dev 2017-06-13 22:36:42 +09:30
gunmantheh
39c5cbe1a1 Don't call omdbapi without api key 2017-05-30 22:04:32 +02:00
gunmantheh
3766fa3b84 Added omdbapikey functionality 2017-05-30 21:50:57 +02:00
clinton-hall
6dc289909d allow long paths in Cleandir. Fixes #1189 2017-02-14 20:32:49 +10:30
clinton-hall
a7fcb7be9e convert all listdir functions to unicode. Fixes #1189 2017-02-10 22:12:51 +10:30
clinton-hall
868c8c36bf add catch for OMDB api errors. Fixes #182, #184, #185 2017-02-06 17:02:14 +10:30
clinton-hall
030b334851 fix typo 2016-10-21 21:25:11 +10:30
clinton-hall
6bfb0f4a53 add more logging to server tests. #1113 2016-10-21 20:56:49 +10:30
clinton-hall
14be873c7c fix another int(Section) error. 2016-09-29 07:02:28 +09:30
clinton-hall
879584c107 allow guessit to work of full file path 2016-09-22 09:28:27 +09:30
clinton-hall
d692acb061 fix guessit call. Fixes #1105 2016-09-22 07:11:58 +09:30
clinton-hall
0625f7f3c0 updated libs to fix guessit and subliminal. Fixes #1080 2016-09-21 13:31:41 +09:30
labrys
2ad9f2e35f Standardize string formatting to use .format instead of concat 2016-06-06 09:08:24 -04:00
Labrys
df8c6bc20f Too broad exceptions.
* Use .get() with default value instead.
2016-06-05 13:35:46 -04:00
Labrys
1cd073cd52 Use format() instead of % for string formatting 2016-06-05 12:54:24 -04:00
Labrys
94e8a45c62 Code cleanup
* Streamline variable assignment
* Replace assignment with augmented assignment
* Remove unused variables and redundant parentheses
2016-06-05 12:54:23 -04:00
Labrys
47c585d81c Rewrite dictionary creation as a dictionary literal 2016-06-05 12:54:22 -04:00
Labrys
eb1ee8b5f5 Set expected, but passing list 2016-06-05 12:54:05 -04:00
Labrys
22daf02167 Python 3: Raise with no arguments can only be used in an except block 2016-06-05 12:54:05 -04:00
Labrys
76a00b2493 Convert to new-style class by inheriting from object 2016-06-05 12:54:04 -04:00
Labrys
ec71e7806d Python 3: Convert except ExceptClass, Target: to except ExceptClass as Target: 2016-06-05 12:54:02 -04:00
Labrys
ec2fc8d538 Use six.text_type
* Standarizes unicode function between Python 2 and Python 3
2016-06-05 12:15:05 -04:00
Labrys
d4e5809a29 Use print_function to standardize printing between Python 2 and Python 3 2016-06-05 12:09:39 -04:00
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