Commit graph

392 commits

Author SHA1 Message Date
echel0n
d8a3bdb7dc Added new helper functionc to config class.
Fixed code to reflect the changes made to config class.
Merged in changes from dev-ch
2014-04-11 00:31:51 -07:00
echel0n
279ce5e4d0 Merge branch 'clinton-hall/dev-CH'
Conflicts:
	TorrentToMedia.py
2014-04-11 00:25:13 -07:00
clinton-hall
c431e0e3da count archive files for failed-torrent branch. fixes #314 2014-04-11 15:14:48 +09:30
clinton-hall
8e754aa334 logging error. fixes #314 2014-04-11 12:09:58 +09:30
echel0n
a0048ac47c Updated config class 2014-04-10 19:09:50 -07:00
clinton-hall
a273f9687f that was a stupid place to an if. 2014-04-10 14:50:43 +09:30
clinton-hall
41ac893c81 no need to preserve folder structure when single file. 2014-04-10 11:27:33 +09:30
clinton-hall
810f37edbf added single folder handling and improved category search 2014-04-10 11:24:26 +09:30
clinton-hall
d4cc70eace fixed config call. fixes 314 2014-04-09 19:26:41 +09:30
clinton-hall
432bc87d10 change check for Torren_NoLink. fixes #314 2014-04-09 16:13:13 +09:30
clinton-hall
3457fbf100 link all files unless archive. Cleanup flow. 2014-04-09 15:12:41 +09:30
clinton-hall
4104aa91cd format and context fixes 2014-04-09 12:38:56 +09:30
clinton-hall
8132ab5769 cleanup the way we handle torrents 2014-04-09 12:30:26 +09:30
clinton-hall
e23d39d458 fixed TorrentToMedia flow. All NZBGet categories are enabled. fixes #309 #314 #315 #316 2014-04-09 10:08:00 +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
c9898e0e87 Fixed enable/disable check.
Added few more helper functions to our config class.
2014-04-07 06:47:36 -07:00
echel0n
84e770aa82 Fixes issue #310 bug in TorrentToMedia causing issues for HeadPhones 2014-04-07 03:56:53 -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
e6f0d7e2dc Fix in torrentToMedia 2014-04-05 17:09:00 -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
echel0n
5105e03de6 Merge branch 'clinton-hall/dev'
Conflicts:
	TorrentToMedia.py
2014-04-03 22:54:57 -07:00
echel0n
964e3c09fc Fixed bugs in torrenttomedia 2014-04-03 22:51:39 -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
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
clinton-hall
205f5d9383 use category in autofork. fixes #306 2014-04-04 09:07:42 +10:30
clinton-hall
e3bb60aa57 change handling of SB_Torrent. 2014-04-03 12:50:35 +10:30
clinton-hall
fc7ba70c6a remove extra mvoing of files. HP now allows Directory to be set. 2014-04-03 12:18:44 +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
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
a9556dd7a0 cleanup and a few fixes. #288 2014-03-21 21:55:00 +10:30
Clinton Hall
c74f9d08a9 Merge pull request #288 from echel0n/dev
Added feature that will auto-detect the SickBeard fork
2014-03-21 20:24:56 +10:30
echel0n
351215add1 Added feature that will auto-detect the SickBeard fork 2014-03-21 00:07:54 -07:00
clinton-hall
ec6129cb36 check for .x264 in archive parts. fixes #281 2014-03-13 22:36:53 +10:30
clinton-hall
a1f659e21e added forceClean for outputDirectory. 2014-03-13 14:04:26 +10:30
clinton-hall
008fd81db9 delete torrent if uselink = move. 2014-03-12 10:46:09 +10:30
clinton-hall
fc451f054d allow headphones to remove torrent. fixes #279 2014-03-12 10:37:15 +10:30
clinton-hall
6687d3d02e added debug logging for num files found. #267 2014-02-19 16:54:22 +10:30
clinton-hall
9e5ac17b37 fix noFlatten for SICKBEARD_TORRENT. fixes #262 2014-02-17 09:59:58 +10:30
clinton-hall
52f5715405 added Torrent_ForceLink. fixes #262 2014-02-17 07:28:40 +10:30
clinton-hall
93f2f75cdc added Torrent label to userscript options. fixes #262 2014-02-16 10:46:59 +10:30
clinton-hall
4c68fd2fd9 added TorrentName to user_script options. fixes #262 2014-02-15 21:19:02 +10:30
clinton-hall
7dbe1dff34 send to SickBeard Torrent branch after checking directory structure. fixes #265 2014-02-15 21:06:46 +10:30
clinton-hall
9d59c81fee sorry! #262 2014-02-15 20:44:53 +10:30
clinton-hall
d6ba16355b use output destination fro DN if runOnce. #262 2014-02-14 15:25:41 +10:30
clinton-hall
7e94c46ae7 one more directory check. #262 2014-02-14 15:03:29 +10:30