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
8652d281f6
Missing but now added in
2014-04-19 12:58:03 -07:00
echel0n
92d1ca2fe0
Improved imdbID search code
2014-04-19 12:43:23 -07:00
echel0n
c1a1354636
Added GuessIt library and required libs for it.
...
We now perform a guessit on the nzbName to extract movie title and year instead of a regex, this is more accurate.
2014-04-19 12:28:55 -07:00
echel0n
d26cc388d1
Updated allowed status for search results
2014-04-19 11:14:42 -07:00
echel0n
aca17d6eb6
Fixed bug in transcoder
2014-04-19 11:00:50 -07:00
echel0n
e1a5e0b11b
Fixed status check for movies
2014-04-19 10:12:20 -07:00
echel0n
119d1e72e3
Fixed logging for TV processing
2014-04-19 09:15:13 -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
88fd7f64ed
More fixes
2014-04-18 19:50:32 -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
2be1873cad
Fixed a few bugs and made a few more improvements
2014-04-18 16:15:35 -07:00
echel0n
3db20ab072
Added a check for length of results before we decide if we need to narrow them down further by checking the download clients
2014-04-18 14:37:53 -07:00
echel0n
de20ddd9b2
Added in allowed release status 'done'
2014-04-18 14:16:02 -07:00
echel0n
c2855973ce
Removed check for WANTED status as this interfears with being able to post-process movies that were not snatched from CP but obtained via other means.
2014-04-18 14:00:10 -07:00
echel0n
2fa178ee7c
Reverted previous changes in regards to checking for download status as now we just filter it out from the search all together
2014-04-18 13:56:21 -07:00
echel0n
59a8629715
Fixed another typo
2014-04-18 13:48:52 -07:00
echel0n
44c28238be
We now check for status downloaded and skip post-processing if found.
2014-04-18 13:47:57 -07:00
echel0n
714c2577c4
Fixed a typo
2014-04-18 13:41:12 -07:00
echel0n
ab1c886e38
We now get the clientAgent from the release info and send that with the download_id to insure CouchPotato is happy.
2014-04-18 13:39:19 -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
dd41ff3b2f
Fixed 2 bugs in autoProcessMovie, one that was giving a keyError on '_id' and another that was preventing imdbID from being returned correctly.
2014-04-18 07:13:12 -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
8d2049cb14
Fixed issue with key_error in autoProcessMovie
2014-04-17 09:21:14 -07:00
echel0n
053959811a
Fixed a bug that was preventing releases from being populated properly.
2014-04-17 08:20:59 -07:00
echel0n
58c27e91fa
Set log-level for file to debug
2014-04-17 07:38:04 -07:00
echel0n
42b14fd079
Fix for download_id
2014-04-17 07:29:29 -07:00
echel0n
cdadf045a8
Code cleanup
2014-04-17 07:25:08 -07:00
echel0n
92d00ed62a
Removed duplicate code from initalizer.
...
Fixed up code for delete_failed in both TV and Movie autoPP scripts.
2014-04-17 06:06:36 -07:00
echel0n
a9d3ee2a60
Cleaned out left behind code mistake.
...
Fixed parse_args to pass sys.argv as args array.
2014-04-17 05:44:03 -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
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
b2eb32d197
Fixed autoProcessMovie to check for movie status = ignored for imdbID only movies.
2014-04-16 09:43:50 -07:00
echel0n
dc536448b1
autoProcessMovie will now confirm if imdbid only releases are added into database
2014-04-16 09:16:27 -07:00
echel0n
7ba71fcd3a
Merge branch 'clinton-hall/dev'
...
autoProcessMovie now processes dirName/nzbName's with IMDBID that do not exist as snatched releases in CP manually via renamer by sending just the folder to be post-processed without ability to confirm a status change.
2014-04-16 07:51:58 -07:00
clinton-hall
4935e4b1c1
added auto_update to be entered from NZBGet config.
2014-04-16 15:53:32 +09:30
echel0n
ba5e1ec03c
Small fix for sys.encoding globals
2014-04-15 17:39:11 -07:00
echel0n
b8b2f4923f
Headphones fix for issue #321
2014-04-15 17:02:09 -07:00
echel0n
657fe66b66
Added more code to insure NZBTOMEDIA_VERSION variable is not set to None by mistake.
2014-04-15 16:41:31 -07:00
echel0n
c7a24b49b3
Moved vesion setting up a few lines
2014-04-15 16:38:37 -07:00
echel0n
cffc39e5a0
This should once and for all correct issue #328
2014-04-15 16:35:36 -07:00
echel0n
f42644bad7
Typo's corrected
2014-04-15 12:19:00 -07:00
echel0n
7c18295629
Corrects issue #328
2014-04-15 11:56:59 -07:00
echel0n
62196a231a
Fixed a typo
2014-04-15 09:22:17 -07:00
echel0n
ffe14122fc
Added log-levels to surpress unwanted error messages from console but instead we send them to the log file for further investigation later on.
2014-04-15 09:05:36 -07:00
echel0n
b8e858cc2f
Corrected a mistake that was returning incorrect version info.
2014-04-15 08:00:37 -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
10857bef99
Process correct directory. Fixes #321
2014-04-15 22:45:15 +09:30