Commit Graph

  • 06c2dae5ce Added function to return a list of archive files. Cleaned and fixed code in TorrentToMedia, should resolve issue #314 echel0n 2014-04-19 18:52:43 -07:00
  • 192cd6691a Fixed bug in auto-video corruption detection echel0n 2014-04-19 18:16:02 -07:00
  • e9c8589395 More code testing echel0n 2014-04-19 18:10:58 -07:00
  • 6607775753 Testing some code echel0n 2014-04-19 18:04:13 -07:00
  • a99ad2cf81 Added in code to stop displaying results back from location check of ffmpeg and ffprobe echel0n 2014-04-19 17:58:42 -07:00
  • 8434a58df0 Detects ffmpeg and ffprobe at startup but will alert you to if there missing only when needed to be used so that we don't get a stupid error message at startup for no reason. echel0n 2014-04-19 17:55:44 -07:00
  • 0df6c1c4fe Corrected a conditional check mistake for testing corrupt videos echel0n 2014-04-19 17:17:08 -07:00
  • 4a7a115328 Missed another line of code, had to add echel0n 2014-04-19 17:08:27 -07:00
  • 334d213055 Sending ffmpeg checks for executables to null echel0n 2014-04-19 17:06:59 -07:00
  • 00a5dae4e3 Added in some missing code echel0n 2014-04-19 16:54:43 -07:00
  • b8ebf0cb64 Improved code in Transcoder class. echel0n 2014-04-19 16:50:29 -07:00
  • 8652d281f6 Missing but now added in echel0n 2014-04-19 12:58:03 -07:00
  • 92d1ca2fe0 Improved imdbID search code echel0n 2014-04-19 12:43:23 -07:00
  • c1a1354636 Added GuessIt library and required libs for it. echel0n 2014-04-19 12:28:55 -07:00
  • d26cc388d1 Updated allowed status for search results echel0n 2014-04-19 11:14:42 -07:00
  • aca17d6eb6 Fixed bug in transcoder echel0n 2014-04-19 11:00:50 -07:00
  • e1a5e0b11b Fixed status check for movies echel0n 2014-04-19 10:12:20 -07:00
  • 119d1e72e3 Fixed logging for TV processing echel0n 2014-04-19 09:15:13 -07:00
  • 66b8549914 Added in a comparison check for last edited release incase we don't have enough information gathered to perform a proper status check. echel0n 2014-04-18 21:15:13 -07:00
  • 88fd7f64ed More fixes echel0n 2014-04-18 19:50:32 -07:00
  • d5fe1c871e Re-coded our safeName function used for sanitizing filenames. Changed code for checking final status of processed movies. echel0n 2014-04-18 19:31:00 -07:00
  • 2be1873cad Fixed a few bugs and made a few more improvements echel0n 2014-04-18 16:15:35 -07:00
  • 3db20ab072 Added a check for length of results before we decide if we need to narrow them down further by checking the download clients echel0n 2014-04-18 14:37:53 -07:00
  • de20ddd9b2 Added in allowed release status 'done' echel0n 2014-04-18 14:16:02 -07:00
  • 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. echel0n 2014-04-18 14:00:10 -07:00
  • 2fa178ee7c Reverted previous changes in regards to checking for download status as now we just filter it out from the search all together echel0n 2014-04-18 13:56:21 -07:00
  • 59a8629715 Fixed another typo echel0n 2014-04-18 13:48:52 -07:00
  • 44c28238be We now check for status downloaded and skip post-processing if found. echel0n 2014-04-18 13:47:57 -07:00
  • 714c2577c4 Fixed a typo echel0n 2014-04-18 13:41:12 -07:00
  • ab1c886e38 We now get the clientAgent from the release info and send that with the download_id to insure CouchPotato is happy. echel0n 2014-04-18 13:39:19 -07:00
  • eb7822b60b Updated logger code to now include the section, formatting has been modified as well. echel0n 2014-04-18 13:16:18 -07:00
  • dd41ff3b2f Fixed 2 bugs in autoProcessMovie, one that was giving a keyError on '_id' and another that was preventing imdbID from being returned correctly. echel0n 2014-04-18 07:13:12 -07:00
  • 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. echel0n 2014-04-18 03:10:24 -07:00
  • 086eaaa516 Updated requests lib. More code cleanup done. echel0n 2014-04-17 20:44:41 -07:00
  • 504ea8ac45 Added NZB_CLIENTAGENT and TORRENT_CLIENTAGENT variables to compliment adding in Nzb client API support for SabNZBD and NzbGet. echel0n 2014-04-17 18:05:01 -07:00
  • 8d2049cb14 Fixed issue with key_error in autoProcessMovie echel0n 2014-04-17 09:21:14 -07:00
  • 053959811a Fixed a bug that was preventing releases from being populated properly. echel0n 2014-04-17 08:20:59 -07:00
  • 58c27e91fa Set log-level for file to debug echel0n 2014-04-17 07:38:04 -07:00
  • 42b14fd079 Fix for download_id echel0n 2014-04-17 07:29:29 -07:00
  • cdadf045a8 Code cleanup echel0n 2014-04-17 07:25:08 -07:00
  • 92d00ed62a Removed duplicate code from initalizer. Fixed up code for delete_failed in both TV and Movie autoPP scripts. echel0n 2014-04-17 06:06:36 -07:00
  • a9d3ee2a60 Cleaned out left behind code mistake. Fixed parse_args to pass sys.argv as args array. echel0n 2014-04-17 05:44:03 -07:00
  • 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. echel0n 2014-04-17 05:16:29 -07:00
  • 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. echel0n 2014-04-17 03:53:15 -07:00
  • b2eb32d197 Fixed autoProcessMovie to check for movie status = ignored for imdbID only movies. echel0n 2014-04-16 09:43:50 -07:00
  • dc536448b1 autoProcessMovie will now confirm if imdbid only releases are added into database echel0n 2014-04-16 09:16:27 -07:00
  • 7ba71fcd3a Merge branch 'clinton-hall/dev' echel0n 2014-04-16 07:51:58 -07:00
  • 4935e4b1c1 added auto_update to be entered from NZBGet config. clinton-hall 2014-04-16 15:53:32 +09:30
  • ba5e1ec03c Small fix for sys.encoding globals echel0n 2014-04-15 17:39:11 -07:00
  • b8b2f4923f Headphones fix for issue #321 echel0n 2014-04-15 17:02:09 -07:00
  • 657fe66b66 Added more code to insure NZBTOMEDIA_VERSION variable is not set to None by mistake. echel0n 2014-04-15 16:41:31 -07:00
  • c7a24b49b3 Moved vesion setting up a few lines echel0n 2014-04-15 16:38:37 -07:00
  • cffc39e5a0 This should once and for all correct issue #328 echel0n 2014-04-15 16:35:36 -07:00
  • f42644bad7 Typo's corrected echel0n 2014-04-15 12:19:00 -07:00
  • 7c18295629 Corrects issue #328 echel0n 2014-04-15 11:56:59 -07:00
  • 62196a231a Fixed a typo echel0n 2014-04-15 09:22:17 -07:00
  • 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. echel0n 2014-04-15 09:05:36 -07:00
  • b8e858cc2f Corrected a mistake that was returning incorrect version info. echel0n 2014-04-15 08:00:37 -07:00
  • ef0dee7840 Merge branch 'clinton-hall/dev' Added version_notify option, allows disabling of new version checks. echel0n 2014-04-15 07:53:00 -07:00
  • 10857bef99 Process correct directory. Fixes #321 Clinton Hall 2014-04-15 22:45:15 +09:30
  • 85f79fddf2 fixes for nzbget clinton-hall 2014-04-15 15:51:43 +09:30
  • d52eff51ea remove braids and quick cleanup. clinton-hall 2014-04-15 10:31:42 +09:30
  • fb915ea963 fixes nzbget config display clinton-hall 2014-04-15 10:09:25 +09:30
  • 0589a7e3ee Added better logging for failed downloads when processing failed movies echel0n 2014-04-14 14:53:02 -07:00
  • a96bbeea5e autoProcessMovie will not automatically ignore failed releases and try next release in CouchPotato's list. echel0n 2014-04-14 14:34:40 -07:00
  • 9157309131 Added error checking for migration NzbGet code. Fixed migration code on how it writes backups and new config files. echel0n 2014-04-14 14:21:54 -07:00
  • 7904330613 Fixed bug in autoProcessMovie that was causing failed downloads not to choose next release for snatch. echel0n 2014-04-14 13:45:59 -07:00
  • 47ced8a8a2 Fixed a bug in autoProcessMovie, small typo echel0n 2014-04-14 13:38:08 -07:00
  • 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. echel0n 2014-04-14 13:27:34 -07:00
  • 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. echel0n 2014-04-14 13:12:52 -07:00
  • 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. echel0n 2014-04-14 13:10:11 -07:00
  • d65448db87 Typo's causing pre-logging issues fixed echel0n 2014-04-14 10:43:19 -07:00
  • df6e85467a More code tweaks for autoProcessMusic and autoProcessMovie relating to checking of release statuses echel0n 2014-04-14 10:15:03 -07:00
  • 0e8bc50f14 Fixed issue #321 echel0n 2014-04-14 09:59:39 -07:00
  • ded68cd21b Fixed a issue in autoProcessMovie for manual runs echel0n 2014-04-14 09:42:10 -07:00
  • 880d70f25b Added proper support for manual runs to return clientAgent = manual and set conditionals around that premise echel0n 2014-04-13 18:12:10 -07:00
  • 012e4913a8 More code changes echel0n 2014-04-13 17:55:20 -07:00
  • 6a74a4443e Fixed another bug in autoProcessMovie for clientAgent and manual runs echel0n 2014-04-13 16:43:42 -07:00
  • ce38317d48 Removed unrequired code echel0n 2014-04-13 16:30:51 -07:00
  • e206829834 Fixed bug that was caused by manual run of torrentToMedia echel0n 2014-04-13 16:27:12 -07:00
  • 6c3096851b autoProcessMovie now searches for snatched download via imdbid, download_id and torrent hash using torrent api calls. echel0n 2014-04-13 16:19:30 -07:00
  • 1e90193f47 Fixed another bug in autoProcessMovie echel0n 2014-04-13 13:24:07 -07:00
  • eeee92c830 Fixed bugs in autoProcessMusic and autoProcessMovie echel0n 2014-04-13 13:20:39 -07:00
  • c883bab8ff Fixed bug in autoProcessTV echel0n 2014-04-13 13:14:38 -07:00
  • 4cbd1b36fb Changed how it detects windows for removing read-only flags echel0n 2014-04-13 13:05:18 -07:00
  • 9bd7eb4ec7 Added urllib.quote to HeadPhones dirName passing echel0n 2014-04-13 12:33:27 -07:00
  • 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. echel0n 2014-04-13 12:27:29 -07:00
  • 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. echel0n 2014-04-13 10:32:10 -07:00
  • aa86f74c32 Moved configobj lib into its own folder and fixed imports for our config class to reflect the new path of the lib. echel0n 2014-04-12 15:24:51 -07:00
  • cea3e96274 Migration class updated to reflect new config class code echel0n 2014-04-12 13:55:05 -07:00
  • 599190e69f Changed code to use stored config values. echel0n 2014-04-12 13:17:13 -07:00
  • 2fbc987e6f Moved option force_clean from Torrent section into General section. echel0n 2014-04-12 11:10:28 -07:00
  • ffe5c6dba1 Added console headers. echel0n 2014-04-12 10:26:37 -07:00
  • e7cc4b3758 Cleaned up TorrentToMeda, moved CFG variables into our initalizer and made it so it exits with a return code. echel0n 2014-04-12 10:14:24 -07:00
  • 95147cf7ec Fixes hang after a auto-update is performed echel0n 2014-04-12 09:54:41 -07:00
  • 675a6b09f0 nzbToGames exits now with return code echel0n 2014-04-12 09:42:51 -07:00
  • 0c36dfe84a More testing auto-updater echel0n 2014-04-12 09:41:52 -07:00
  • 20146a26f2 Testing auto-updater echel0n 2014-04-12 09:33:43 -07:00
  • eafe549469 nzbToMedia now exits with a return code echel0n 2014-04-12 09:32:38 -07:00
  • d0bdce43e2 Added app_name variable echel0n 2014-04-12 09:24:54 -07:00