Commit graph

50 commits

Author SHA1 Message Date
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
clinton-hall
3a4fe5223a more release status changes 2014-03-22 16:39:08 +10:30
clinton-hall
4cfebd0c05 fix library id extraction 2014-03-22 14:00:43 +10:30
clinton-hall
c5e38ef73d new api return 2014-03-22 13:41:03 +10:30
clinton-hall
d414247259 fix release status check 2014-03-22 10:22:04 +10:30
clinton-hall
efe4804d99 change failed url to media_id 2014-03-22 07:30:17 +10:30
clinton-hall
21fc2f9217 remove obsolete test 2014-03-19 07:10:18 +10:30
clinton-hall
7f8ded9f0e more minor fixes 2014-03-18 19:59:02 +10:30
clinton-hall
4d69f85677 a few small fixes 2014-03-18 16:42:28 +10:30
clinton-hall
0a9c8030e5 new api call for CouchPotato 2014-03-18 16:20:59 +10:30
clinton-hall
a1f659e21e added forceClean for outputDirectory. 2014-03-13 14:04:26 +10:30
clinton-hall
1522d61492 add url quote to dirName. fixes #270 2014-02-28 12:04:08 +10:30
clinton-hall
74b5cb31d0 fix return on manula download 2014-02-20 15:33:21 +10:30
clinton-hall
7cb39f8a34 fix issue when no result passed after renamer is called. 2014-02-18 16:22:12 +10:30
clinton-hall
3ee8a682ab change default media.list to speed up process. Get ready for Cp to drop the ttxxxx tag. 2014-02-18 14:37:46 +10:30
clinton-hall
a29206d51c move socket timeout before url call for renamer. fixes #242 2014-01-22 09:50:32 +10:30
clinton-hall
dfe4ed9ad4 added longer socket timeout for CouchPotato renamer.scan. fixes #242 2014-01-20 14:23:03 +10:30
clinton-hall
555124b6b1 added default socket timeout. fixes #237 2014-01-13 10:53:59 +10:30
clinton-hall
ee6d6e62de fix multiple typos #230 2014-01-08 10:55:47 +10:30
clinton-hall
6fe287df0d add category centric processing. fixes #230 2014-01-07 21:22:47 +10:30
clinton-hall
c13fe0c6a2 ready for merge to master. V9.0 2013-12-31 16:02:20 +10:30
clinton-hall
843530df27 change calls from movie to media. fixes #226 #227 2013-12-30 07:37:52 +10:30
clinton-hall
509b7d1602 revert media to movie 2013-12-21 07:24:28 +10:30
clinton-hall
22c07653cb revert media.searcher to movie.searcher. 2013-12-13 20:06:00 +10:30
clinton-hall
a0a9d88dee revert back to movie_folder. CP not yet updated. 2013-12-11 13:23:19 +10:30
clinton-hall
d427d9df09 change movie json results to media to match recent CouchPotato changes. 2013-12-01 13:34:10 +10:30
clinton-hall
864a5a79be use extend, not append. fixes #206 2013-11-27 14:29:55 +10:30
Clinton Hall
c70afb52d1 Import utils. Fixes #208 2013-11-26 22:08:52 +10:30
Clinton Hall
f81a47a3d9 Remove extra space. Fixes #208 2013-11-26 21:27:31 +10:30
clinton-hall
ed359e8468 add option to convert to ASCII. fixes #204 2013-11-25 12:03:54 +10:30
clinton-hall
9dae7979e4 only parse movie list 50 at a time. Fixes #206 2013-11-25 10:18:12 +10:30
clinton-hall
12ff0c4a34 fix parsing of json data for movie id. fixes #182 2013-09-27 13:31:16 +09:30
Clinton Hall
f22f0bedeb change to searcher.try_next api call. fixes #177 2013-09-14 15:58:54 +09:30
clinton-hall
8248c14887 add option to remove path. fixes #162 fixes #163
thanks @dmccormack
2013-07-11 22:43:57 +09:30
clinton-hall
41130030c1 don't need user/pass when using api. fix #142 2013-05-28 13:20:09 +09:30
clinton-hall
e9fc2b16f5 add custom wait_for time. Fixes #129 2013-05-23 14:48:51 +09:30
clinton-hall
2950caad33 add exception on logging close #83 2013-05-01 13:51:11 +09:30
Clinton Hall
629240fc39 fix format error 2013-04-13 21:57:31 +09:30
Clinton Hall
d81e289c20 bring release_status check outside of 2 timer
the release status is changed BEFORE the movie is moved.
For moving of large files, this could see us exit before the rename has completed.
Our main concern is for utorrent to ensure we don't resume seeding while still trying to move files.
In this case, we are concerned with hard-linking only. in which case we can assume we are on the same disk and therefore all file movements should occur within the 2 minute limit.
So, we still wait 2 minutes... But we return a successful result here assuming that large file copies are procceding :)
2013-04-09 10:37:03 +09:30
clinton-hall
3b076a5cfa improve passing of download_id 2013-04-08 15:00:49 +09:30
Clinton Hall
270a5df2e0 fixed "and" in condition checks. 2013-04-05 22:01:06 -07:00
clinton-hall
030b5575d7 a more fixes and try/except 2013-04-06 10:40:21 +10:30
clinton-hall
70ce5e7842 keep trying 2013-04-06 00:34:24 +10:30
clinton-hall
1b5898d75c more fixes to imdbid 2013-04-06 00:17:18 +10:30
clinton-hall
d37c120bc6 fix imdb id search 2013-04-05 22:18:29 +10:30
Joel Kåberg
4c0c737933 syntax error 2013-04-05 11:33:12 +03:00
clinton-hall
b85289dda0 get imdb from db. minor fixes 2013-04-04 10:01:11 +10:30
clinton-hall
83f95f1f4f Allow postprocess of individual folder 2013-04-03 16:01:31 +10:30
Clinton Hall
34357280be add safety for delete_failed 2013-03-23 14:11:48 -07:00
clinton-hall
cd470ae1ad Ouch. Almost lost these :( 2013-03-13 23:15:34 -07:00