Commit graph

336 commits

Author SHA1 Message Date
Hagai Cohen
d54d5a35b7 Fixed a small bug (missing not) 2015-09-26 11:12:46 +03:00
Hagai Cohen
96dfe7d765 Fixed torrent file handling
torrents sometimes comes as single file,
however, processors (Sickbeard for example) are expecting isolated
folder.

This patch will make sure that if processed item is not a directory,
then it will create a directory (similar to file name) and move
the media there.
2015-09-25 09:26:53 +03:00
Hagai Cohen
0d1e27c093 Add the ability to not resume torrent on failure 2015-09-25 09:26:53 +03:00
Hagai Cohen
ab4d02a240 Added the ability to chmod Torrent diretory before processing 2015-09-25 09:26:30 +03:00
clinton-hall
042fcce6b7 add plex library update. Fixes #566 2015-05-27 22:03:13 +09:30
clinton-hall
c80a678ded rename nzbtomedia to core. Fixes #744 #746 2015-04-26 16:41:39 +09:30
clinton-hall
9f99d1be38 better warning logging for torrent actions. 2015-01-18 07:30:03 +10:30
clinton-hall
d5cdf2ad69 continue if failed to connect to torrent client. 2015-01-17 12:12:26 +10:30
clinton-hall
7f980a4964 only use Upper if hash exists. Fixes #651 2015-01-02 07:07:08 +10:30
clinton-hall
13a45b6aab add download id. Fixes #583
Ref. https://github.com/Sonarr/Sonarr/pull/130
2014-11-04 11:06:28 +10:30
clinton-hall
b61aca7e68 fix issues with processing categories that are disabled. Fix category testing. 2014-09-11 15:25:23 +09:30
clinton-hall
8006d20df4 use avprobe. Fixes #503 and don't link single files for NZB. Fixes #519 2014-08-04 11:10:39 +09:30
clinton-hall
c048c03aa5 fix remote_Dri for HeadPhones. Fixes #499 Fix encoding on manual scan. 2014-07-23 11:35:32 +09:30
clinton-hall
de89fb2ce0 add printed return message. Fixes #493 Fixes #495 Fixes#496 2014-07-17 10:27:55 +09:30
clinton-hall
8a58dedd1d add check for running instance. Fixes #466 2014-07-09 13:11:36 +09:30
clinton-hall
863fd3ef5c Flatten after extract. Extract SubDirs and multi archives. Typo. 2014-07-08 16:52:39 +09:30
clinton-hall
d1ba449b9a add external script for NZBs and add video check to userscript. Fixes #461 2014-07-04 23:41:51 +09:30
Michael Johnson
bc21aeab89 Specify Python version to use 2014-06-26 06:14:07 -04:00
clinton-hall
171eab48d1 added option to disable unique directory in output. Fixes #425 2014-06-16 09:46:25 +09:30
clinton-hall
c5103042ae more userscript fixes. #425 2014-06-15 19:21:39 +09:30
clinton-hall
c26ffe58f1 more encoding tests. #424 2014-06-13 15:12:38 +09:30
clinton-hall
c6c729aef8 make logger safe and encode before database. Fixes #424 2014-06-13 09:57:33 +09:30
clinton-hall
71f9e9ae75 set encoding to handle european characters. Fixes #424 2014-06-11 15:03:19 +09:30
clinton-hall
51e790743d add Chartranslator. Fixes #424 2014-06-10 14:23:25 +09:30
clinton-hall
5f2d50ba47 fix userscript settings. Fixes #425 2014-06-09 19:43:44 +09:30
clinton-hall
9eeff323ac leave comic book archives alone. #351 #421 2014-06-06 12:36:27 +09:30
clinton-hall
07719e79b6 added safe_mode to prevent processing ALL downloads. 2014-05-27 15:48:52 +09:30
clinton-hall
0cf1fa0565 fix for HeadPhone directory preservation. 2014-05-19 10:05:55 +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
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