Commit graph

408 commits

Author SHA1 Message Date
clinton-hall
ade9e60a8b fixed crash (with no error code) when no section. fixes #390 2014-05-14 17:21:28 +09:30
clinton-hall
5927ce9121 set status if extract = 0. fixes #314 2014-05-05 19:38:21 +09:30
clinton-hall
ce47c5d509 fix single file downloads. fix #314 2014-05-03 14:27:22 +09:30
clinton-hall
0c8ce3917b replace .cbz and .cbr with .zip and .rar. fixes #351 2014-05-02 09:52:41 +09:30
echel0n
0e985f9181 Fixed issue with manual runs.
Watch directory option now gets it's subsection name appened to it and is considered as a INPUTDIRECTORY, works for both nzb and torrent manual runs.

Linking now skips if source and target folders/files are located in the same place or the file already exists in the target folder.
2014-04-26 16:22:41 -07:00
echel0n
b9f15a918e More userscript fixes 2014-04-26 05:44:46 -07:00
echel0n
6b7785956f More userscript fixes 2014-04-26 05:37:24 -07:00
echel0n
fe71a53fb6 Fix for unhshable type with userscripts 2014-04-26 05:35:41 -07:00
echel0n
c45e0c0a30 Fixed userscripts issue 2014-04-26 05:32:49 -07:00
echel0n
2c8feb41b1 Fix for globals 2014-04-26 05:30:04 -07:00
echel0n
684e1c5545 Fix for manual runs with data from DB 2014-04-26 05:24:32 -07:00
echel0n
d0b55d3d53 Fixes issue #350, unicode errors 2014-04-25 14:48:28 -07:00
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
eec6ed3b11 Fixed issue for wrong destination set for cleaning in TorrentToMedia.
Checks for directory exists before attempting to clean it incase processor has already cleaned and removed it.
2014-04-25 03:02:38 -07:00
echel0n
6594433ca5 Fixed our cleanDir function so that we now pass in path, section, and subsection instead of it just trying to do a recursive clean. 2014-04-25 02:56:00 -07:00
echel0n
5bd3a6ac9d Fixed issue with getDirs function 2014-04-25 02:46:04 -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
4bd04436bc Fixes extraction issues and occasionally not locating mediafiles 2014-04-23 20:41:55 -07:00
echel0n
f7e56b979b Fixes issues #344, #314
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
c8ddbc4836 Extract issues fixed 2014-04-23 10:35:40 -07:00
echel0n
63157919fa Fixes issue with torrent not resuming or removing. 2014-04-23 08:32:00 -07:00
echel0n
4d1ec040e9 Fix issue #341 list indices must be intergers not str 2014-04-23 08:13:55 -07:00
echel0n
817f310169 Fixed a bug in the minSize function, was backwards so it never returned results when media files existed. 2014-04-22 21:26:44 -07:00
echel0n
0e7b8eacab Added code in to confirm that the clientAgent returned from the download info in the DB is correct for the script being run so that nzb's don't get processed by torrent scripts and vise-versa. 2014-04-22 19:11:35 -07:00
echel0n
f185e6903b Fixed lib importing for our custom packages 2014-04-22 08:26:08 -07:00
echel0n
b6ac6ca16b Fixing imports 2014-04-22 08:02:03 -07:00
echel0n
dbfae9899b Fix for download info not returning results 2014-04-22 07:34:56 -07:00
echel0n
4332ce5967 Fix for download info 2014-04-22 07:31:57 -07:00
echel0n
3f137ae3b6 Added database support, we now store all variables passed into our scripts so that in the event something fails and you need to perform a manual run it can find those variables by a database lookup and re-use them. 2014-04-22 06:22:37 -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
3d50c82281 Fixes issue #341 and #340 2014-04-22 01:49:43 -07:00
echel0n
bd6881b33e Testing new idea for CP adding of movies not in wanted list. 2014-04-21 11:39:20 -07:00
echel0n
dea4c5d32a Fixes issue with TorrentNoLink returning incorrect value. 2014-04-21 11:25:24 -07:00
echel0n
ab00c8a858 Fixes issues with NzbGet exit codes 2014-04-20 22:16:28 -07:00
echel0n
a7d367c93b Extraction now takes place after linking is done in destination folder. 2014-04-20 21:13:36 -07:00
echel0n
27d722e8b1 All processing sections now can enable/disable linking for torrents via TorrentNoLink option in autoProcessMedia.cfg
Cleanup/removal of processed files on start and finish of our nzbToMedia and TorrentToMedia scripts to insure things stay nice and polished :)

Code tweaked and cleaned and fed a energy drink so stay on the look out this things alive ! lol
2014-04-20 18:04:50 -07:00
echel0n
0053fdcf3e Added cleanup of processing folders to start and end of scripts, helps resolve issues where empty folders or misc files left behind cause processing scripts to execute without need.
Modified our listMediaFiles function to allow include/exclude of extension containers so that we can chose what extensions are used to create the results list that gets returned back to us.
2014-04-20 16:28:27 -07:00
echel0n
9c817af60e Code corrected our conditional check for extraction. 2014-04-20 14:29:17 -07:00
echel0n
d511b54e66 Fixed issues with checking for video corruption 2014-04-20 13:28:48 -07:00
echel0n
6a0158d801 Complete re-code of linking in TorrentToMedia 2014-04-19 22:47:10 -07:00
echel0n
06c2dae5ce Added function to return a list of archive files.
Cleaned and fixed code in TorrentToMedia, should resolve issue #314
2014-04-19 18:52:43 -07:00
echel0n
8434a58df0 Detects ffmpeg and ffprobe at startup but will alert you to if there missing only when needed to be used so that we don't get a stupid error message at startup for no reason. 2014-04-19 17:55:44 -07:00
echel0n
0df6c1c4fe Corrected a conditional check mistake for testing corrupt videos 2014-04-19 17:17:08 -07:00
echel0n
00a5dae4e3 Added in some missing code 2014-04-19 16:54:43 -07:00
echel0n
b8ebf0cb64 Improved code in Transcoder class.
Video files are now checked for corruption befoer being sent for post-processing by either SickBeard, NzbDrone, or CouchPotato.

Added ffmpeg_path option to Transcoder section allowing end-user to set where there ffmpeg is located.
2014-04-19 16:50:29 -07:00
echel0n
d5fe1c871e Re-coded our safeName function used for sanitizing filenames.
Changed code for checking final status of processed movies.
2014-04-18 19:31:00 -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