Commit graph

30 commits

Author SHA1 Message Date
echel0n
eb7822b60b Updated logger code to now include the section, formatting has been modified as well.
Logging of debug messages is now optional via log_debug option location in autoProcessMedia.cfg

Lots of code cleanup has been performed including cleanup log messages and corrections of spelling errors.

Improved release lookup code for autoProcessMovie, narrows search results down by making API calls to the download clients to compare results in CouchPotato's database.
2014-04-18 13:23:39 -07:00
echel0n
086eaaa516 Updated requests lib.
More code cleanup done.
2014-04-17 20:44:41 -07:00
echel0n
cdadf045a8 Code cleanup 2014-04-17 07:25:08 -07:00
echel0n
92d00ed62a Removed duplicate code from initalizer.
Fixed up code for delete_failed in both TV and Movie autoPP scripts.
2014-04-17 06:06:36 -07:00
echel0n
c883bab8ff Fixed bug in autoProcessTV 2014-04-13 13:14:38 -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
36df37d45e Added headers to autoProcess* scripts to make logging nicer 2014-04-12 06:04:33 -07:00
echel0n
d2e3275562 Fixed bugs in nzbTo* scripts.
autoProcessTV now gets movie_id even for previously post-processed movies so that we can skip further post-processing gracefully.

Code cleanup misc ...
2014-04-12 05:51:37 -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
clinton-hall
432bc87d10 change check for Torren_NoLink. fixes #314 2014-04-09 16:13:13 +09:30
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
6820188605 Fix bug in enabled check, changed code to return list and proper turn to string 2014-04-07 08:20:35 -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
98b3d18b59 Small fix in autoProcessTV 2014-04-07 03:00:28 -07:00
echel0n
78b5c1d76f More fixes 2014-04-07 02:56:50 -07:00
echel0n
640f25895b Made some changes to how sections are returned, now with a section counter 2014-04-07 02:54:44 -07:00
echel0n
45ab861017 Fixed issue with autoProcessing scripts not properly returning the correct section as it was getting a list 2014-04-07 02:33:16 -07:00
echel0n
edbf805df6 More bug fixes 2014-04-07 02:04:34 -07:00
echel0n
761fc7cc04 Fixed issue with enabled stataus for sub-sections not being converted to a integer.
Please note default setting is enabled = 0 so if you want to use a sub-section you need to set it to enabled = 1
2014-04-07 01:54:39 -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
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
2c4b260440 Added lib.requests and code to import our custom lib folder 2014-04-03 23:05:47 -07:00
echel0n
5105e03de6 Merge branch 'clinton-hall/dev'
Conflicts:
	TorrentToMedia.py
2014-04-03 22:54:57 -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
d93eb866d7 Changed the way requests processes the response back from the autoProcessor 2014-04-03 21:51:09 -07:00
echel0n
8e7490ff80 Changed r.content to r.text 2014-04-03 21:08:51 -07:00
echel0n
85d8739512 Major overhaul of nzbToMedia code base plus a whole restrucure 2014-04-03 19:58:01 -07:00