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.
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.
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.
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.
autoProcessTV now gets movie_id even for previously post-processed movies so that we can skip further post-processing gracefully.
Code cleanup misc ...
Added in manual run for TorrentToMedia.
All autoProcessing scripts now auto-detect the correct section based on sub-section.
NzbDrone support is 90% done but is not functional ... YET!
Lots more I'm sure but I wanted this released for those that where having issues.
Fixed issue in TorrentToMedia with noFlatten variable for HeadPhones.
Changed name of function get_categories to get_sections in nzbToMediaUtil.
Added code in get_dirnames to properly return back the directory could not find anything to process in.
nzbToMedia now fully performs manual runs for all autoProcessing scripts.
autoProcessing categories are now sub-sections in the autoProcessingMedia.cfg file which allows you to have a unlimited amount of categories for your liking.
nzbToMedia supports categories for all autoProcessing scripts now.
Minor bug fixes and code cleanup performed during the re-code.
Auto-migration code will convert old-style cfg files to new-style cfg format.