Skip to content

Instantly share code, notes, and snippets.

@XxUnkn0wnxX
Created December 7, 2020 10:27
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/33f6babdc2efa859d3ad88beed7468d2 to your computer and use it in GitHub Desktop.
Save XxUnkn0wnxX/33f6babdc2efa859d3ad88beed7468d2 to your computer and use it in GitHub Desktop.
Warning logs, nzbtomedia
/Users/USER/Apps/nzbToMedia/eol.py:148: LifetimeWarning: Python 2.7 is no longer supported.
warnings.warn(msg, LifetimeWarning)
[21:05:00] [INFO]::MAIN: Loading config from [/Users/USER/Apps/nzbToMedia/autoProcessMedia.cfg]
[21:05:00] [INFO]::MAIN: Python v2.7 reached end of life 341 days ago.
[21:05:00] [WARNING]::MAIN: Please upgrade to a more recent Python version.
[21:05:00] [INFO]::MAIN: Checking database structure...
[21:05:00] [DEBUG]::MAIN: Checking Initial Schema database upgrade
[21:05:00] [DEBUG]::MAIN: InitialSchema upgrade not required
[21:05:00] [DEBUG]::MAIN: Checking if we can use git commands: "/usr/local/bin/git" version
[21:05:00] [DEBUG]::MAIN: Executing "/usr/local/bin/git" version with your shell in /Users/USER/Apps/nzbToMedia
[21:05:00] [DEBUG]::MAIN: "/usr/local/bin/git" version : returned successful
[21:05:00] [DEBUG]::MAIN: Using: "/usr/local/bin/git"
[21:05:00] [DEBUG]::MAIN: Executing "/usr/local/bin/git" symbolic-ref -q HEAD with your shell in /Users/USER/Apps/nzbToMedia
[21:05:00] [DEBUG]::MAIN: "/usr/local/bin/git" symbolic-ref -q HEAD : returned successful
[21:05:00] [INFO]::MAIN: Checking if git needs an update
[21:05:00] [DEBUG]::MAIN: Executing "/usr/local/bin/git" rev-parse HEAD with your shell in /Users/USER/Apps/nzbToMedia
[21:05:00] [DEBUG]::MAIN: "/usr/local/bin/git" rev-parse HEAD : returned successful
[21:05:00] [DEBUG]::MAIN: Executing "/usr/local/bin/git" fetch origin with your shell in /Users/USER/Apps/nzbToMedia
[21:05:02] [DEBUG]::MAIN: "/usr/local/bin/git" fetch origin : returned successful
[21:05:02] [DEBUG]::MAIN: Executing "/usr/local/bin/git" rev-parse --verify --quiet '@{upstream}' with your shell in /Users/USER/Apps/nzbToMedia
[21:05:02] [DEBUG]::MAIN: "/usr/local/bin/git" rev-parse --verify --quiet '@{upstream}' : returned successful
[21:05:02] [DEBUG]::MAIN: Executing "/usr/local/bin/git" rev-list --left-right '@{upstream}'...HEAD with your shell in /Users/USER/Apps/nzbToMedia
[21:05:02] [DEBUG]::MAIN: "/usr/local/bin/git" rev-list --left-right '@{upstream}'...HEAD : returned successful
[21:05:02] [DEBUG]::MAIN: cur_commit = d4d5f00a188c19732284305cff648b95ca0a7859 % (newest_commit)= d4d5f00a188c19732284305cff648b95ca0a7859, num_commits_behind = 0, num_commits_ahead = 0
[21:05:02] [INFO]::MAIN: No update needed
[21:05:02] [INFO]::MAIN: nzbToMedia Version:d4d5f00a188c19732284305cff648b95ca0a7859 Branch:nightly (Darwin 20.1.0)
[21:05:02] [WARNING]::MAIN: Failed to locate 7zip. Transcoding of disk images and extraction of .7z files will not be possible!
[21:05:02] [WARNING]::MAIN: Failed to locate par2. Repair and rename using par files will not be possible!
[21:05:02] [INFO]::MAIN: #########################################################
[21:05:02] [INFO]::MAIN: ## ..::[nzbToMedia.py]::.. ##
[21:05:02] [INFO]::MAIN: #########################################################
[21:05:02] [DEBUG]::MAIN: Options passed into nzbToMedia: ['/Users/USER/Apps/nzbToMedia/nzbToSickBeard.py', '/Volumes/MStorage2/Downloads/NZB-Downloads/Complete/medusa/[Golumpa] Black Clover-141 [FuniDub 1080p x264 AAC] [1B8AEBEF]', '[Golumpa].Black.Clover-141.[FuniDub.1080p.x264.AAC].[1B8AEBEF].nzb', '[Golumpa] Black Clover-141 [FuniDub 1080p x264 AAC] [1B8AEBEF]', '', 'medusa', 'alt.binaries.anime.repost', '0', '']
[21:05:02] [INFO]::MAIN: Script triggered from SABnzbd Version 3.1.1.
[21:05:02] [DEBUG]::MAIN: Adding NZB download info for directory /Volumes/MStorage2/Downloads/NZB-Downloads/Complete/medusa/[Golumpa] Black Clover-141 [FuniDub 1080p x264 AAC] [1B8AEBEF] to database
[21:05:02] [INFO]::MAIN: Auto-detected SECTION:SickBeard
[21:05:02] [DEBUG]::MAIN: Checking for archives to extract in directory: /Volumes/MStorage2/Downloads/NZB-Downloads/Complete/medusa/[Golumpa] Black Clover-141 [FuniDub 1080p x264 AAC] [1B8AEBEF]
[21:05:02] [INFO]::MAIN: Calling SickBeard:medusa to post-process:[Golumpa] Black Clover-141 [FuniDub 1080p x264 AAC] [1B8AEBEF]
[21:05:02] [DEBUG]::SERVER: Attempting to connect to server at http://localhost:8081
[21:05:02] [DEBUG]::SERVER: Server responded at http://localhost:8081
[21:05:02] [INFO]::MAIN: Attempting to auto-detect medusa fork
[21:05:02] [DEBUG]::MAIN: Removing excess parameters: [u'delete', u'delete_on', u'dir', u'dirName', u'force', u'force_next', u'ignore_subs', u'is priority', u'proc_dir']
[21:05:02] [INFO]::MAIN: SickBeard:medusa fork auto-detection successful ...
[21:05:02] [INFO]::MAIN: SickBeard:medusa fork set to Medusa-api
[21:05:02] [INFO]::MAIN: FLATTEN: Flattening directory: /Volumes/MStorage2/Downloads/NZB-Downloads/Complete/medusa/[Golumpa] Black Clover-141 [FuniDub 1080p x264 AAC] [1B8AEBEF]
[21:05:02] [DEBUG]::MAIN: Checking for empty folders in:/Volumes/MStorage2/Downloads/NZB-Downloads/Complete/medusa/[Golumpa] Black Clover-141 [FuniDub 1080p x264 AAC] [1B8AEBEF]
[21:05:02] [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
[21:05:02] [INFO]::TRANSCODER: Checking [[Golumpa] Black Clover-141 [FuniDub 1080p x264 AAC] [1B8AEBEF].mkv] for corruption, please stand by ...
[21:05:02] [DEBUG]::MAIN: calling command: /usr/local/bin/ffprobe -v quiet -print_format json -show_format -show_streams -show_error /Volumes/MStorage2/Downloads/NZB-Downloads/Complete/medusa/[Golumpa] Black Clover-141 [FuniDub 1080p x264 AAC] [1B8AEBEF]/[Golumpa] Black Clover-141 [FuniDub 1080p x264 AAC] [1B8AEBEF].mkv
[21:05:02] [INFO]::TRANSCODER: SUCCESS: [[Golumpa] Black Clover-141 [FuniDub 1080p x264 AAC] [1B8AEBEF].mkv] has no corruption.
[21:05:02] [POSTPROCESS]::SICKBEARD: SUCCESS: The download succeeded, sending a post-process request
[21:05:02] [DEBUG]::SICKBEARD: Opening URL: http://localhost:8081/api/25b116576ced81df5d883c09a9f11450/ with params: {u'path': '/Volumes/MStorage2/Downloads/NZB-Downloads/Complete/medusa/[Golumpa] Black Clover-141 [FuniDub 1080p x264 AAC] [1B8AEBEF]', u'nzbName': '[Golumpa] Black Clover-141 [FuniDub 1080p x264 AAC] [1B8AEBEF]', u'cmd': u'postprocess', u'failed': 0, u'return_data': 0}
[21:05:28] [INFO]::CLEANDIR: Directory /Volumes/MStorage2/Downloads/NZB-Downloads/Complete/medusa/[Golumpa] Black Clover-141 [FuniDub 1080p x264 AAC] [1B8AEBEF] has been processed and removed ...
[21:05:28] [INFO]::MAIN: The /Users/USER/Apps/nzbToMedia/nzbToSickBeard.py script completed successfully.
Changing to directory: /Users/USER/Apps/nzbToMedia
-- Cleaning bytecode --
Removing cleanup.pyc
Removing eol.pyc
Removing nzbToMedia.pyc
Removing cleanup.pyc
Removing eol.pyc
Removing nzbToMedia.pyc
-- Cleaning folders: [u'libs', u'core'] --
No folders to clean
Returning to directory: /Applications/SABnzbd.app/Contents/MacOS
-- Cleanup finished --
SickBeard: Successfully post-processed [Golumpa] Black Clover-141 [FuniDub 1080p x264 AAC] [1B8AEBEF]!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment