Commit graph

85 commits

Author SHA1 Message Date
echel0n
cdadf045a8 Code cleanup 2014-04-17 07:25:08 -07:00
echel0n
eac9619dcb nzbTo* files will now send section variable to nzbToMedia script so that manually processing doesn't bother with trying to post-process unrequired folders, also I've changed the way we call nzbToMedia so this should resolve issue #328 encoding issues.
Custom userscripts folder added to avoid auto-update conflicts so long as the custom scripts are stored in said folder, this folder is added to .gitignore
2014-04-17 05:16:29 -07:00
echel0n
ef0dee7840 Merge branch 'clinton-hall/dev'
Added version_notify option, allows disabling of new version checks.
2014-04-15 07:53:00 -07:00
clinton-hall
85f79fddf2 fixes for nzbget 2014-04-15 15:51:43 +09:30
clinton-hall
fb915ea963 fixes nzbget config display 2014-04-15 10:09:25 +09:30
echel0n
a24c37ce6b autoProcessMovie now returns newest snatched download if it fails to have a download_id to use or a imdbid, this ensures a release is always returned now even for manual runs. 2014-04-14 13:10:11 -07:00
echel0n
a2eb80f619 Re-added back NZBGet options to our stub files.
Added a status check for processed files in HeadPhones.
Fixed a bug in HeadPhones with passing params via requests.
Fixed SickBeard and CouchPotato conditionals for deleting failed files.
2014-04-13 12:27:29 -07:00
echel0n
77e07be6c8 Added remote_path option to CouchPotato section, allows setting the basepath for where CouchPotato looks for its video files on the server its installed on.
Re-coded autoProcessMovies, it now will attempt to get imdbID from dirName, nzbName and if both fail it then uses a regex to get the movie title and uses that to perform a search on CouchPotato.

We also now get the release_id and use that instead of movie id.

Fixed a bug that was preventing failed downloads from working properly for CouchPotato.
2014-04-13 10:32:10 -07:00
echel0n
2fbc987e6f Moved option force_clean from Torrent section into General section.
Moved cleanup function from TorrentToMedia into nzbToMediaUtils.

Folder cleanup is performed automatically after a successful postprocess for both nzb and torrent processing scripts.
2014-04-12 11:16:32 -07:00
echel0n
ffe5c6dba1 Added console headers. 2014-04-12 10:26:37 -07:00
echel0n
eafe549469 nzbToMedia now exits with a return code 2014-04-12 09:32:38 -07:00
echel0n
f6eea0f816 Revert "Cleaned up comments"
This reverts commit 6b29858827.
2014-04-12 09:15:02 -07:00
echel0n
6b29858827 Cleaned up comments 2014-04-12 09:14:28 -07:00
echel0n
f3e5a485e7 fixed bug in nzbtomedia 2014-04-12 08:15:06 -07:00
echel0n
ad4c6a0a47 Debugging of sysv-args 2014-04-12 08:10:37 -07:00
echel0n
acc56943f5 nzbTo* files are skeleton files that call our main nzbToMedia auto-procesor and pass in all variables from sys. 2014-04-12 07:38:23 -07:00
echel0n
f9fd1646d6 Fixed bug in nzbToMedia for logging the calls 2014-04-12 03:36:43 -07:00
echel0n
f778741083 Forgot to add initalizer to nzbToMedia.py
Removed the leftover logger settings from our config spec file
2014-04-12 03:09:47 -07:00
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
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