echel0n
504ea8ac45
Added NZB_CLIENTAGENT and TORRENT_CLIENTAGENT variables to compliment adding in Nzb client API support for SabNZBD and NzbGet.
...
Partially added in searching for downloads via download client API calls, more work to be done on this.
NZB Client users but set there client in the cfg, either sabnzbd or nzbget.
Cleaned up some more of the code in TorrentToMedia and nzbToMedia.
2014-04-17 19:04:47 -07:00
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
Clinton Hall
10857bef99
Process correct directory. Fixes #321
2014-04-15 22:45:15 +09:30
echel0n
880d70f25b
Added proper support for manual runs to return clientAgent = manual and set conditionals around that premise
2014-04-13 18:12:10 -07:00
echel0n
e206829834
Fixed bug that was caused by manual run of torrentToMedia
2014-04-13 16:27:12 -07:00
echel0n
6c3096851b
autoProcessMovie now searches for snatched download via imdbid, download_id and torrent hash using torrent api calls.
2014-04-13 16:19:30 -07:00
echel0n
4cbd1b36fb
Changed how it detects windows for removing read-only flags
2014-04-13 13:05:18 -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
e7cc4b3758
Cleaned up TorrentToMeda, moved CFG variables into our initalizer and made it so it exits with a return code.
...
Fixed the remaining nzbTo* scripts to exit with return codes.
2014-04-12 10:14:24 -07:00
clinton-hall
874805193f
fix extraction tests.
2014-04-12 23:11:14 +09:30
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
clinton-hall
b63ff3c962
added option to remove read only flags in windows. fixes #317
2014-04-11 17:05:07 +09:30
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