Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save XxUnkn0wnxX/883fe0da6f73eaafe0b01707e4803b9f to your computer and use it in GitHub Desktop.
Save XxUnkn0wnxX/883fe0da6f73eaafe0b01707e4803b9f to your computer and use it in GitHub Desktop.
2018-10-15 13:48:59 INFO ::MAIN: Loading config from [/Users/USER/Apps/nzbToMedia/autoProcessMedia.cfg]
2018-10-15 13:48:59 INFO ::MAIN: Checking database structure...
2018-10-15 13:48:59 DEBUG ::MAIN: Checking Initial Schema database upgrade
2018-10-15 13:48:59 DEBUG ::MAIN: InitialSchema upgrade not required
2018-10-15 13:48:59 DEBUG ::MAIN: Checking if we can use git commands: "/usr/local/bin/git" version
2018-10-15 13:48:59 DEBUG ::MAIN: Executing "/usr/local/bin/git" version with your shell in /Users/USER/Apps/nzbToMedia
2018-10-15 13:48:59 DEBUG ::MAIN: "/usr/local/bin/git" version : returned successful
2018-10-15 13:48:59 DEBUG ::MAIN: Using: "/usr/local/bin/git"
2018-10-15 13:48:59 DEBUG ::MAIN: Executing "/usr/local/bin/git" symbolic-ref -q HEAD with your shell in /Users/USER/Apps/nzbToMedia
2018-10-15 13:48:59 DEBUG ::MAIN: "/usr/local/bin/git" symbolic-ref -q HEAD : returned successful
2018-10-15 13:48:59 INFO ::MAIN: Checking if git needs an update
2018-10-15 13:48:59 DEBUG ::MAIN: Executing "/usr/local/bin/git" rev-parse HEAD with your shell in /Users/USER/Apps/nzbToMedia
2018-10-15 13:48:59 DEBUG ::MAIN: "/usr/local/bin/git" rev-parse HEAD : returned successful
2018-10-15 13:48:59 DEBUG ::MAIN: Executing "/usr/local/bin/git" fetch origin with your shell in /Users/USER/Apps/nzbToMedia
2018-10-15 13:49:01 DEBUG ::MAIN: "/usr/local/bin/git" fetch origin : returned successful
2018-10-15 13:49:01 DEBUG ::MAIN: Executing "/usr/local/bin/git" rev-parse --verify --quiet "@{upstream}" with your shell in /Users/USER/Apps/nzbToMedia
2018-10-15 13:49:01 DEBUG ::MAIN: "/usr/local/bin/git" rev-parse --verify --quiet "@{upstream}" : returned successful
2018-10-15 13:49:01 DEBUG ::MAIN: Executing "/usr/local/bin/git" rev-list --left-right "@{upstream}"...HEAD with your shell in /Users/USER/Apps/nzbToMedia
2018-10-15 13:49:01 DEBUG ::MAIN: "/usr/local/bin/git" rev-list --left-right "@{upstream}"...HEAD : returned successful
2018-10-15 13:49:01 DEBUG ::MAIN: cur_commit = fb24a987cae0015c18c1952c369702f55bcb4a24 % (newest_commit)= fb24a987cae0015c18c1952c369702f55bcb4a24, num_commits_behind = 0, num_commits_ahead = 0
2018-10-15 13:49:01 INFO ::MAIN: No update needed
2018-10-15 13:49:01 INFO ::MAIN: nzbToMedia Version:fb24a987cae0015c18c1952c369702f55bcb4a24 Branch:nightly (Darwin 18.0.0)
2018-10-15 13:49:01 DEBUG ::MAIN: Connecting to qbittorrent: http://localhost:8082
2018-10-15 13:49:01 INFO ::MAIN: #########################################################
2018-10-15 13:49:01 INFO ::MAIN: ## ..::[TorrentToMedia.py]::.. ##
2018-10-15 13:49:01 INFO ::MAIN: #########################################################
2018-10-15 13:49:01 DEBUG ::MAIN: Options passed into TorrentToMedia: ['/Users/USER/Apps/nzbToMedia/TorrentToMedia.py', '/Users/USER/Downloads/Torrents/Downloads/sickchill/|The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg]|sickchill|a0c721d85e0800771053f022dc3458686616eead']
2018-10-15 13:49:01 DEBUG ::MAIN: Adding TORRENT download info for directory /Users/USER/Downloads/Torrents/Downloads/sickchill to database
2018-10-15 13:49:01 DEBUG ::MAIN: Received Directory: /Users/USER/Downloads/Torrents/Downloads/sickchill | Name: The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg] | Category: sickchill
2018-10-15 13:49:01 DEBUG ::MAIN: SEARCH: Found the Category: sickchill in directory structure
2018-10-15 13:49:01 INFO ::MAIN: SEARCH: Found torrent directory The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg] in input directory directory /Users/USER/Downloads/Torrents/Downloads/sickchill
2018-10-15 13:49:01 INFO ::MAIN: SEARCH: Setting inputDirectory to /Users/USER/Downloads/Torrents/Downloads/sickchill/The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg]
2018-10-15 13:49:01 DEBUG ::MAIN: Determined Directory: /Users/USER/Downloads/Torrents/Downloads/sickchill/The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg] | Name: The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg] | Category: sickchill
2018-10-15 13:49:01 INFO ::MAIN: Auto-detected SECTION:SickBeard
2018-10-15 13:49:01 DEBUG ::MAIN: Stopping torrent The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg] in qbittorrent while processing
2018-10-15 13:49:06 INFO ::MAIN: Output directory set to: /Users/USER/Downloads/AppDL/sickchill/The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg]
2018-10-15 13:49:06 DEBUG ::MAIN: Scanning files in directory: /Users/USER/Downloads/Torrents/Downloads/sickchill/The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg]
2018-10-15 13:49:06 DEBUG ::MAIN: Found 2 files in /Users/USER/Downloads/Torrents/Downloads/sickchill/The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg]
2018-10-15 13:49:06 INFO ::COPYLINK: MEDIAFILE: [the.last.ship.s05e06.720p.webrip.x264-tbs.nfo]
2018-10-15 13:49:06 INFO ::COPYLINK: SOURCE FOLDER: [/Users/USER/Downloads/Torrents/Downloads/sickchill/The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg]]
2018-10-15 13:49:06 INFO ::COPYLINK: TARGET FOLDER: [/Users/USER/Downloads/AppDL/sickchill/The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg]]
2018-10-15 13:49:06 INFO ::COPYLINK: Moving SOURCE MEDIAFILE -> TARGET FOLDER
2018-10-15 13:49:06 INFO ::COPYLINK: MEDIAFILE: [the.last.ship.s05e06.720p.webrip.x264-tbs.mkv]
2018-10-15 13:49:06 INFO ::COPYLINK: SOURCE FOLDER: [/Users/USER/Downloads/Torrents/Downloads/sickchill/The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg]]
2018-10-15 13:49:06 INFO ::COPYLINK: TARGET FOLDER: [/Users/USER/Downloads/AppDL/sickchill/The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg]]
2018-10-15 13:49:06 INFO ::COPYLINK: Moving SOURCE MEDIAFILE -> TARGET FOLDER
2018-10-15 13:49:06 DEBUG ::MAIN: Checking for archives to extract in directory: /Users/USER/Downloads/Torrents/Downloads/sickchill/The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg]
2018-10-15 13:49:06 INFO ::MAIN: FLATTEN: Flattening directory: /Users/USER/Downloads/AppDL/sickchill/The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg]
2018-10-15 13:49:06 DEBUG ::MAIN: Checking for empty folders in:/Users/USER/Downloads/AppDL/sickchill/The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg]
2018-10-15 13:49:06 INFO ::MAIN: Found 1 media files in /Users/USER/Downloads/AppDL/sickchill/The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg]
2018-10-15 13:49:06 INFO ::MAIN: Calling SickBeard:sickchill to post-process:The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg]
2018-10-15 13:49:06 INFO ::MAIN: Changing file mode of /Users/USER/Downloads/AppDL/sickchill/The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg] to 0755
2018-10-15 13:49:06 DEBUG ::SERVER: Attempting to connect to server at http://localhost:8081
2018-10-15 13:49:06 DEBUG ::SERVER: Server responded at http://localhost:8081
2018-10-15 13:49:06 INFO ::MAIN: Attempting to auto-detect sickchill fork
2018-10-15 13:49:06 INFO ::MAIN: SickBeard:sickchill fork auto-detection successful ...
2018-10-15 13:49:06 INFO ::MAIN: SickBeard:sickchill fork set to SickBeard-api
2018-10-15 13:49:06 DEBUG ::MAIN: calling command: /usr/local/bin/ffprobe -v quiet -print_format json -show_format -show_streams -show_error /Users/USER/Apps/nzbToMedia/tests/test.mp4
2018-10-15 13:49:06 INFO ::TRANSCODER: Checking [the.last.ship.s05e06.720p.webrip.x264-tbs.mkv] for corruption, please stand by ...
2018-10-15 13:49:06 DEBUG ::MAIN: calling command: /usr/local/bin/ffprobe -v quiet -print_format json -show_format -show_streams -show_error /Users/USER/Downloads/AppDL/sickchill/The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg]/the.last.ship.s05e06.720p.webrip.x264-tbs.mkv
2018-10-15 13:49:06 INFO ::TRANSCODER: SUCCESS: [the.last.ship.s05e06.720p.webrip.x264-tbs.mkv] has no corruption.
2018-10-15 13:49:06 POSTPROCESS::SICKBEARD: SUCCESS: The download succeeded, sending a post-process request
2018-10-15 13:49:06 DEBUG ::SICKBEARD: Opening URL: http://localhost:8081/api/735e3f73ddac85e7864413551c4ff166/?cmd=postprocess with params: {'path': '/Users/USER/Downloads/AppDL/sickchill/The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg]', 'nzbName': 'The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg]', 'failed': 0, 'force_next': 1, 'return_data': 0, 'type': 'manual', 'delete': 1}
2018-10-15 13:49:14 DEBUG ::MAIN: Deleting torrent The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg] from qbittorrent
2018-10-15 13:49:20 INFO ::CLEANDIR: Directory /Users/USER/Downloads/AppDL/sickchill/The.Last.Ship.S05E06.720p.WEBRip.x264-TBS[rarbg] has been processed and removed ...
2018-10-15 13:49:20 INFO ::MAIN: The /Users/USER/Apps/nzbToMedia/TorrentToMedia.py script completed successfully.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment