echel0n
d511b54e66
Fixed issues with checking for video corruption
2014-04-20 13:28:48 -07:00
echel0n
2391f4a5de
Fixes issue #332 with is_sample problem.
2014-04-20 08:19:26 -07:00
echel0n
6a0158d801
Complete re-code of linking in TorrentToMedia
2014-04-19 22:47:10 -07:00
echel0n
d26cc388d1
Updated allowed status for search results
2014-04-19 11:14:42 -07:00
echel0n
e1a5e0b11b
Fixed status check for movies
2014-04-19 10:12:20 -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
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
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
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
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
echel0n
0589a7e3ee
Added better logging for failed downloads when processing failed movies
2014-04-14 14:53:02 -07:00
echel0n
a96bbeea5e
autoProcessMovie will not automatically ignore failed releases and try next release in CouchPotato's list.
2014-04-14 14:34:40 -07:00
echel0n
7904330613
Fixed bug in autoProcessMovie that was causing failed downloads not to choose next release for snatch.
2014-04-14 13:45:59 -07:00
echel0n
47ced8a8a2
Fixed a bug in autoProcessMovie, small typo
2014-04-14 13:38:08 -07:00
echel0n
1f48c59960
autoProcessMovie now gets downloader info from matched release and uses that to send to CouchPotato along with download_id instead of using clientAgent, this fixes an issue with incorrect downloader being sent during manual runs.
2014-04-14 13:27:34 -07:00
echel0n
29c03bb871
Manual runs should now always get a release so we removed conditionals that would allow manual runs to bypass checks for release status and download_id and fail them now if those variables are not present.
2014-04-14 13:12:52 -07:00
echel0n
a24c37ce6b
autoProcessMovie now returns newest snatched download if it fails to have a download_id to use or a imdbid, this ensures a release is always returned now even for manual runs.
2014-04-14 13:10:11 -07:00
echel0n
df6e85467a
More code tweaks for autoProcessMusic and autoProcessMovie relating to checking of release statuses
2014-04-14 10:15:03 -07:00
echel0n
ded68cd21b
Fixed a issue in autoProcessMovie for manual runs
2014-04-14 09:42:10 -07:00
echel0n
012e4913a8
More code changes
2014-04-13 17:55:20 -07:00
echel0n
6a74a4443e
Fixed another bug in autoProcessMovie for clientAgent and manual runs
2014-04-13 16:43:42 -07:00
echel0n
e206829834
Fixed bug that was caused by manual run of torrentToMedia
2014-04-13 16:27:12 -07:00
echel0n
6c3096851b
autoProcessMovie now searches for snatched download via imdbid, download_id and torrent hash using torrent api calls.
2014-04-13 16:19:30 -07:00
echel0n
1e90193f47
Fixed another bug in autoProcessMovie
2014-04-13 13:24:07 -07:00
echel0n
eeee92c830
Fixed bugs in autoProcessMusic and autoProcessMovie
2014-04-13 13:20:39 -07:00
echel0n
a2eb80f619
Re-added back NZBGet options to our stub files.
...
Added a status check for processed files in HeadPhones.
Fixed a bug in HeadPhones with passing params via requests.
Fixed SickBeard and CouchPotato conditionals for deleting failed files.
2014-04-13 12:27:29 -07:00
echel0n
77e07be6c8
Added remote_path option to CouchPotato section, allows setting the basepath for where CouchPotato looks for its video files on the server its installed on.
...
Re-coded autoProcessMovies, it now will attempt to get imdbID from dirName, nzbName and if both fail it then uses a regex to get the movie title and uses that to perform a search on CouchPotato.
We also now get the release_id and use that instead of movie id.
Fixed a bug that was preventing failed downloads from working properly for CouchPotato.
2014-04-13 10:32:10 -07:00
echel0n
36df37d45e
Added headers to autoProcess* scripts to make logging nicer
2014-04-12 06:04:33 -07:00
echel0n
d2e3275562
Fixed bugs in nzbTo* scripts.
...
autoProcessTV now gets movie_id even for previously post-processed movies so that we can skip further post-processing gracefully.
Code cleanup misc ...
2014-04-12 05:51:37 -07:00
echel0n
18926d1db8
Massive changes to the way we handle our config, its now loaded and stored in memory so that we don't keep loading it and possibly get corrupt values.
...
New logger class added,logger options removed from settings.
2014-04-11 20:09:00 -07:00
echel0n
279ce5e4d0
Merge branch 'clinton-hall/dev-CH'
...
Conflicts:
TorrentToMedia.py
2014-04-11 00:25:13 -07:00