Commit graph

103 commits

Author SHA1 Message Date
echel0n
939cc3235b Fixed it so autoProcessMovie returns success if clientAgent is not a torrent client when download_id is empty 2014-04-07 11:09:42 -07:00
echel0n
5e5f00de0c Fixed nzbToMedia scripts that where not passing a category to the processing scripts 2014-04-07 10:42:15 -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
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
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
ab37550217 fix description for NZBGet 2014-04-03 11:19:21 +10:30
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
465d2fc1d4 fix nzbget health checks. fixes #268 2014-02-22 12:25:53 +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
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
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
41b9607119 absolute path for autoProcess folder 2013-03-14 02:19:21 -07:00
Clinton Hall
e537e9f0bf call these hidden scripts 2013-03-13 23:10:19 -07:00
Clinton Hall
c0d9c8d380 minor fixes 2013-03-13 21:35:16 -07:00
Clinton Hall
09b8d33000 add call to migrate 2013-03-13 20:30:57 -07:00
ajw107
2bf1240565 Added Global Constants and Changed Whitespace
-Increasing use of global constants to make it easier when having to make alterations to multiple files.
-Some of the tabs where causing issues, as they would change into 8 spaces upon execution and python would complain about the indenting (as it would now be a mixture of 4 spaces and 8 spaces).  This has been changed to just use spaces.
-Renamed nzbToGamez to include python extention
-Made all nzbTo files that are supposed to be executable, executable
2013-03-07 13:43:36 +00:00
Clinton Hall
f532091de5 Get result back from autoProcessMovie
We don't do anything with it... yet ;)
2013-03-03 17:54:29 -08:00
Clinton Hall
5e8d5f9fc8 separate log entires 2013-03-03 14:32:04 -08:00
Joel Kåberg
f41b576967 cleanup and fixes
- cleaned up logger messages
- SIZE_CUTOFF moved to config
- useLink changed to true/false (easier to understand)
- removed which.py (included in extractor.py)
- added a check in the extractor to support transmission (otherwise it
will fail), but note that it will not be able to check if an command is
executable
2013-03-01 10:55:58 +01:00
Clinton Hall
9562b47794 logging 2013-02-27 18:31:38 -08:00
Berkona
4adec9e8de Added VERSION constant to nzbToSickBeard, nzbToCouchPotato. Also finally renamed nzbToMediaEnv correctly... I was doing it on the github web interface so forgive the last commits 2013-02-13 20:31:33 -05:00
clinton-hall
f7d0e902a0 V4.1 2013-02-01 22:55:56 -08:00
Clinton Hall
90f7e672d3 Made files executable
Hopefully.
2013-02-01 11:22:58 +10:30
clinton-hall
bd60799d15 v4.0 2012-12-19 21:55:54 -08:00