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.
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.
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.
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.
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.