Commit graph

180 commits

Author SHA1 Message Date
clinton-hall
a113bf1116 log error and exit if not int. #410 2014-06-01 20:01:36 +09:30
clinton-hall
d569b5d6d5 new remote path handling #409 2014-05-30 20:49:22 +09:30
clinton-hall
5a6ef827c8 better nzbget version logging. 2014-05-29 16:50:27 +09:30
clinton-hall
d3b495e4d8 more nzbget changes 2014-05-29 16:40:08 +09:30
clinton-hall
108fea700b add new NZBGet status check for V13. 2014-05-29 16:08:34 +09:30
clinton-hall
8672315974 fix nzbget migrate. fixes #408 2014-05-29 14:34:41 +09:30
clinton-hall
07719e79b6 added safe_mode to prevent processing ALL downloads. 2014-05-27 15:48:52 +09:30
clinton-hall
ade9e60a8b fixed crash (with no error code) when no section. fixes #390 2014-05-14 17:21:28 +09:30
clinton-hall
dda4395f06 fix nzbdrone config via nzbget. fixes #386 2014-05-10 08:02:26 +09:30
clinton-hall
59ff450d25 fix issues with previous 2 commits. fixes #378 2014-05-08 14:49:22 +09:30
clinton-hall
e099a71bc0 add check_media option. fixes #375 2014-05-08 11:03:03 +09:30
clinton-hall
60787842ce several styling and check status fixes. #376 2014-05-08 10:41:24 +09:30
clinton-hall
bc3b3eb2c5 check for change of missing episodes in NZBDrone. fixes #370 #366 2014-05-05 12:45:05 +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
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
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
a9b13881a3 Code cleanup 2014-04-24 23:52:52 -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
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
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
bd6881b33e Testing new idea for CP adding of movies not in wanted list. 2014-04-21 11:39:20 -07:00
echel0n
3a637cc86d Fix for NzbGet exit status 2014-04-20 22:13:58 -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
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
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
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
echel0n
ef0dee7840 Merge branch 'clinton-hall/dev'
Added version_notify option, allows disabling of new version checks.
2014-04-15 07:53:00 -07:00
clinton-hall
85f79fddf2 fixes for nzbget 2014-04-15 15:51:43 +09:30
clinton-hall
fb915ea963 fixes nzbget config display 2014-04-15 10:09:25 +09:30