Commit graph

262 commits

Author SHA1 Message Date
echel0n
c9898e0e87 Fixed enable/disable check.
Added few more helper functions to our config class.
2014-04-07 06:47:36 -07:00
echel0n
191be4ea57 Added bit more info logging to nzbToMedia 2014-04-07 03:58:59 -07:00
echel0n
aeaf58ceb7 Added check to all nzbTo* scripts for enabled/disabled sub-sections 2014-04-07 03:09:16 -07:00
echel0n
ce543cdcb9 Fixed a bunch of small little code typos 2014-04-07 02:14:26 -07:00
echel0n
18ce9b5dca Small typo fixed 2014-04-07 02:05:38 -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
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