Commit graph

253 commits

Author SHA1 Message Date
Smenus
18aec92888 SB category for NZBGet got mangled. 2014-04-05 23:33:14 +01:00
echel0n
b7fc74b3fd Switched our config class to configObj.
nzbToMedia now fully performs manual runs for all autoProcessing scripts.

autoProcessing categories are now sub-sections in the autoProcessingMedia.cfg file which allows you to have a unlimited amount of categories for your liking.

nzbToMedia supports categories for all autoProcessing scripts now.

Minor bug fixes and code cleanup performed during the re-code.

Auto-migration code will convert old-style cfg files to new-style cfg format.
2014-04-04 15:18:40 -07:00
echel0n
8c430908b4 Fixed missing imports 2014-04-03 23:14:35 -07:00
echel0n
2c4b260440 Added lib.requests and code to import our custom lib folder 2014-04-03 23:05:47 -07:00
clinton-hall
da09af8de7 Merge branch 'dev' of http://github.com/clinton-hall/nzbToMedia into dev
Conflicts:
	TorrentToMedia.py
	autoProcess/autoProcessTV.py
	autoProcess/migratecfg.py
	nzbToMedia.py
	nzbToSickBeard.py
	nzbtomedia/nzbToMediaAutoFork.py
2014-04-04 15:43:00 +10:30
echel0n
52e7aa2320 Added error message for missing config files 2014-04-03 20:08:08 -07:00
echel0n
85d8739512 Major overhaul of nzbToMedia code base plus a whole restrucure 2014-04-03 19:58:01 -07:00
clinton-hall
9cff2032b0 another manual run fix 2014-04-04 09:58:24 +10:30
clinton-hall
5165ee31ba log warning, prevent crash, and exit gracefully if no manual directories defined. 2014-04-04 09:39:26 +10:30
echel0n
e7751b96c5 Added code for Headphones manual run 2014-04-02 20:29:35 -07:00
clinton-hall
ab37550217 fix description for NZBGet 2014-04-03 11:19:21 +10:30
echel0n
785a138d02 Moved code for gather dirNames for manual sickbeard post-processing into nzbtomediautils and cleanup code in nzbtomedia for manual sickbeard post-processing as well. 2014-04-02 07:02:35 -07:00
echel0n
753b90e4f8 Typo fixed in nzbToMedia 2014-04-02 06:37:08 -07:00
echel0n
ec5b143a38 Manual run for sickbeard now gets a list of sub-folders from the outputDirectory and send them one at a time to be processed so that the base folder does not get deleted. 2014-04-02 06:31:17 -07:00
echel0n
dbce4d9c95 Fixed bug in manual run for SickBeard 2014-04-02 04:45:54 -07:00
echel0n
5f476ebc1a Added manual run for SickBeard.
Fixed some conditional checks.
2014-04-02 01:36:59 -07:00
echel0n
4c35248561 Changed nzbtomedia_configure_logging to accept a logfile paramater so that in the future if wanted we could log to seperate files 2014-04-01 21:57:22 -07:00
echel0n
6cffd5364d Merge branch 'clinton-hall/dev'
Conflicts:
	autoProcess/autoProcessMovie.py
	autoProcess/autoProcessMusic.py
	autoProcess/autoProcessTV.py
	autoProcess/migratecfg.py
	autoProcess/nzbToMediaUtil.py
2014-04-01 21:48:57 -07:00
echel0n
e51ff81dbe Added a chcek for sample cfg file and if not found it copies the .cfg to .sample and runs migratecfg so it can check the cfg over and make sure its not missing any sections, options, or values and migrates old cfg style to new cfg style. 2014-04-01 18:52:56 -07:00
echel0n
6d45257035 Added in a config class to access main config properly and now can be called from anywhere in the code by creating a instance.
Re-coded migratecfg, vast improvements made and code cleanup of unrequired checks.

Fixed numerous small bugs throughout nzbToMedia including possible calls to variables that may not have been created do to conditional statements.
2014-04-01 18:35:20 -07:00
clinton-hall
08968619ab added dynamic timout to HP and CPS. Change timebase to seconds. #295 #300 2014-04-02 11:38:51 +10:30
clinton-hall
6cbee573b3 changed default values 2014-04-01 17:23:26 +10:30
clinton-hall
800bb84c3e added dynamic timeout. #295 2014-04-01 17:20:22 +10:30
clinton-hall
dd6440dc71 add process_method. from #298 fixes #296 2014-03-31 13:32:47 +10:30
clinton-hall
a9556dd7a0 cleanup and a few fixes. #288 2014-03-21 21:55:00 +10:30
echel0n
351215add1 Added feature that will auto-detect the SickBeard fork 2014-03-21 00:07:54 -07:00
clinton-hall
465d2fc1d4 fix nzbget health checks. fixes #268 2014-02-22 12:25:53 +10:30
clinton-hall
f919a890ee fixed failed handling for SickBeard "torrent" branches. Fixes #229 #261 2014-02-12 13:27:58 +10:30
clinton-hall
06e16f5661 fix error with manual run of nzbToMedia.py 2014-01-29 14:27:05 +10:30
clinton-hall
5231321e27 added extra params to nzbget config. fixes #247 2014-01-28 09:33:30 +10:30
clinton-hall
6fe287df0d add category centric processing. fixes #230 2014-01-07 21:22:47 +10:30
clinton-hall
c98604c618 url separates into multople args. fixes #222 2014-01-06 19:39:39 +10:30
clinton-hall
6720aa463c added new argument for SABnzbd0.7.17+. fixes #222 2013-12-20 11:48:08 +10:30
clinton-hall
7f51f15d8c added TPB and multiple fork handling. # 187 2013-10-21 14:47:35 +10:30
clinton-hall
a6bc91ad0e remove obsolete code and add transmissionrpc calls fixes #178 2013-09-16 14:31:53 +09:30
clinton-hall
cd90b90b2b fixed typos 2013-07-12 07:35:48 +09:30
clinton-hall
8248c14887 add option to remove path. fixes #162 fixes #163
thanks @dmccormack
2013-07-11 22:43:57 +09:30
clinton-hall
41130030c1 don't need user/pass when using api. fix #142 2013-05-28 13:20:09 +09:30
clinton-hall
96c4a9fa40 delete check fix #133 and category check fix #134 2013-05-25 21:05:38 +09:30
clinton-hall
ba363fa65c add ".nzb" to nzbget nzbName for SickBeard
fixes https://github.com/Tolstyak/Sick-Beard/issues/16
2013-05-04 08:30:49 +09:30
clinton-hall
098abe1183 remove incorrect bracket 2013-04-21 16:01:43 +09:30
clinton-hall
5f7ae5d590 fix nzbget failure conditions
let us assume any unpack and par issues are not easily repairable. therefore we want to call snatch next.
Also fixed comparison to string, not int.
2013-04-21 09:15:13 +09:30
clinton-hall
cecd34c626 make options radio buttons 2013-04-18 20:03:42 +09:30
clinton-hall
a33609d2d6 NZBGet V11 support added.
Multiple changes made to allow configuration to be entered via NZBGet webui.
Multiple scripts can be defined and called for each category.
2013-04-18 14:03:18 +09:30
clinton-hall
5433d9ad20 added Wake (WOL) option 2013-04-15 16:05:14 +09:30
clinton-hall
7668b5bed6 improved importing of autoProcess modules 2013-04-13 10:30:19 +09:30
clinton-hall
3b076a5cfa improve passing of download_id 2013-04-08 15:00:49 +09:30
clinton-hall
83f95f1f4f Allow postprocess of individual folder 2013-04-03 16:01:31 +10:30
Clinton Hall
1d5ff21e59 add migrate 2013-03-21 10:53:16 -07:00
Clinton Hall
2e0f378692 absolute path for autoProcess folder 2013-03-14 02:17:07 -07:00