Commit graph

115 commits

Author SHA1 Message Date
echel0n
57019ec21b Re-coded config class to better handle multiple subsection conditionals. 2014-04-12 02:55:57 -07:00
echel0n
e82abc3b01 Merge branch 'clinton-hall/dev-CH'
Made some minor code corrections.
2014-04-11 23:04:58 -07:00
echel0n
18926d1db8 Massive changes to the way we handle our config, its now loaded and stored in memory so that we don't keep loading it and possibly get corrupt values.
New logger class added,logger options removed from settings.
2014-04-11 20:09:00 -07:00
echel0n
279ce5e4d0 Merge branch 'clinton-hall/dev-CH'
Conflicts:
	TorrentToMedia.py
2014-04-11 00:25:13 -07:00
echel0n
0ca0e43752 Monkey Patched our config class.
Fixed code for enabled check.
Tweaked a few things here and there.
2014-04-07 09:11:14 -07:00
echel0n
c9898e0e87 Fixed enable/disable check.
Added few more helper functions to our config class.
2014-04-07 06:47:36 -07:00
echel0n
6cc0d38483 Added in NzbDrone support! 2014-04-07 03:48:12 -07:00
echel0n
7c8643d92f Added more detailed logging for enabled/disabled sub-sections to manual run 2014-04-07 03:14:40 -07:00
echel0n
aeaf58ceb7 Added check to all nzbTo* scripts for enabled/disabled sub-sections 2014-04-07 03:09:16 -07:00
echel0n
5c264f0405 More small fixes 2014-04-07 02:22:02 -07:00
echel0n
ce543cdcb9 Fixed a bunch of small little code typos 2014-04-07 02:14:26 -07:00
echel0n
7ffabbe885 Fixed bug in nzbToSickBeard 2014-04-07 02:09:52 -07:00
echel0n
edbf805df6 More bug fixes 2014-04-07 02:04:34 -07:00
echel0n
7d4ccf53cc Fixed a bunch of issues that where present in TorrentToMedia and our config class including the migration code.
Added in manual run for TorrentToMedia.

All autoProcessing scripts now auto-detect the correct section based on sub-section.

NzbDrone support is 90% done but is not functional ... YET!

Lots more I'm sure but I wanted this released for those that where having issues.
2014-04-07 01:43:14 -07:00
echel0n
0ce4bb601d Moved config migration code into our config class, makes more sense.
Added more detailed log messages for get_dirnames function.
2014-04-05 21:28:12 -07:00
echel0n
c3410fba8f Fixed issues in the nzbTo* scripts with manual runs not properly sending the categories to be processed.
Fixed issue in TorrentToMedia with noFlatten variable for HeadPhones.

Changed name of function get_categories to get_sections in nzbToMediaUtil.

Added code in get_dirnames to properly return back the directory could not find anything to process in.
2014-04-05 21:04:56 -07: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
85d8739512 Major overhaul of nzbToMedia code base plus a whole restrucure 2014-04-03 19:58:01 -07:00
clinton-hall
5165ee31ba log warning, prevent crash, and exit gracefully if no manual directories defined. 2014-04-04 09:39:26 +10:30
clinton-hall
828c7e4a12 Merge branch 'dev' of https://github.com/clinton-hall/nzbToMedia into dev 2014-04-03 11:20:27 +10:30
clinton-hall
ab37550217 fix description for NZBGet 2014-04-03 11:19:21 +10:30
echel0n
d20f87bff1 Improve nzbToSickBeard manual run code 2014-04-02 17:47:00 -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
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
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
5231321e27 added extra params to nzbget config. fixes #247 2014-01-28 09:33:30 +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
27b568b6ad correct wakeUp. fix #125 2013-05-05 09:56:20 +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
0b291e8931 absolute path for autoProcess folder 2013-03-14 02:15:25 -07:00