32 Commits

Author SHA1 Message Date
clinton-hall
a84e9c3475 add test file to verify FFprobe works. 2014-08-12 14:45:45 +09:30
clinton-hall
b34e0aca32 add check for server_running with 60s timeout. Fixes 2014-07-18 14:46:05 +09:30
clinton-hall
09203a19ec set the order for auto fork testing. Fixes 2014-07-15 22:22:46 +09:30
clinton-hall
c3889c01b1 add subliminal for subtitle download. 2014-06-27 17:04:44 +09:30
echel0n
0d725a78d6 Resolves userscript issues.
Converted userscript categories to new subsection format.
2014-04-25 12:19:07 -07:00
echel0n
a81464502e Fixes issue with KeyErrors recently being returned 2014-04-25 10:19:43 -07:00
echel0n
e20becd41c Fixed issue with config class code, The new method I implemented to return our data from our config stored in memory was actually removing the items we were getting so I implemented a copy of the data so the original data is no longer touched other then for lookups 2014-04-25 02:24:16 -07:00
echel0n
f5f0ff6e10 Fixes issues with extracting and linking of archives.
Fixes other issues from previous update.
2014-04-24 23:41:26 -07:00
echel0n
289d451112 Cleaned up code and fixed a few small bugs. 2014-04-24 21:23:10 -07:00
echel0n
f7e56b979b Fixes issues ,
Added in code to place single files or groups of files that are not contained in a folder into there own folder or grouped folder based on parsing of the filenames to extract details required to determin correcting folder naming.
2014-04-23 19:50:51 -07:00
echel0n
eeca672e00 We now append the torrent info hash to the output destination folder name, this allows us to re-use it for manual runs if something failed during the post-processing or other future uses. 2014-04-22 02:53:39 -07:00
echel0n
0f08619ac5 Added in a ffmpeg auto-installer function to our Transcoder class 2014-04-20 22:55:06 -07:00
echel0n
d511b54e66 Fixed issues with checking for video corruption 2014-04-20 13:28:48 -07:00
echel0n
0fac36b4fc Added in untracked files for guessit.
Fixed issue , we confirm if str or list and take action depending on result.
2014-04-20 07:49:46 -07:00
echel0n
6a0158d801 Complete re-code of linking in TorrentToMedia 2014-04-19 22:47:10 -07:00
echel0n
4a7a115328 Missed another line of code, had to add 2014-04-19 17:08:27 -07:00
echel0n
66b8549914 Added in a comparison check for last edited release incase we don't have enough information gathered to perform a proper status check. 2014-04-18 21:15:13 -07:00
echel0n
2be1873cad Fixed a few bugs and made a few more improvements 2014-04-18 16:15:35 -07:00
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
fd4d14be64 We now can post-process files not inside of there own folder, we simply confirm there at the root of our category or watch folder then move them into there own seperate foldersand go from there.
nzbName's are now cleaned up.
2014-04-18 03:10:24 -07:00
echel0n
086eaaa516 Updated requests lib.
More code cleanup done.
2014-04-17 20:44:41 -07:00
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
94354bb7d9 Re-coded autoProcessMovie to now retrieve the imdbID via a API call to IMDB if we can't find one to be used in narrowing our release search results down plus we use the download_id if present to help narrow the results even more.
The results returned are a dictionary of releases instead of just variables so that after a call to CP renamer we can call our function to get the new release results and run a comnparison and get the changed key/val and check status along with other variables that may have changed.

This new code will allow for manually downloading movies that normally could not be snatched from CP it self due to provider results not containing them, simply placing the newly downloaded files into the post-process folder and running our scripts manually will allow CP to manually post-process and add the movie to its database properly now.
2014-04-17 03:53:15 -07:00
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
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
8d2a7b41e0 nzbToMedia now informs you of its proper version and branch info and checks for updates. 2014-04-11 22:27:38 -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
85d8739512 Major overhaul of nzbToMedia code base plus a whole restrucure 2014-04-03 19:58:01 -07:00
echel0n
8573749038 Added in error handling to catch connection errors with autoFork.
Logger config now defaults to process.log if no logfile is specified.
2014-04-02 04:27:43 -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