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.
Cleanup/removal of processed files on start and finish of our nzbToMedia and TorrentToMedia scripts to insure things stay nice and polished :)
Code tweaked and cleaned and fed a energy drink so stay on the look out this things alive ! lol
Modified our listMediaFiles function to allow include/exclude of extension containers so that we can chose what extensions are used to create the results list that gets returned back to us.
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.
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.
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
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.
Moved cleanup function from TorrentToMedia into nzbToMediaUtils.
Folder cleanup is performed automatically after a successful postprocess for both nzb and torrent processing scripts.