mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
fix
This commit is contained in:
parent
9cd3f3a282
commit
e4d7b6db4e
1 changed files with 2 additions and 2 deletions
|
@ -14,9 +14,9 @@ def Transcode_file(filePath):
|
||||||
Logger.error("ffmpeg not found. ffmpeg needs to be located at: %s", ffmpeg)
|
Logger.error("ffmpeg not found. ffmpeg needs to be located at: %s", ffmpeg)
|
||||||
Logger.info("Cannot transcode file %s", filepath)
|
Logger.info("Cannot transcode file %s", filepath)
|
||||||
return 1 # failure
|
return 1 # failure
|
||||||
else
|
else:
|
||||||
if call(['which', ffmpeg]):
|
if call(['which', ffmpeg]):
|
||||||
res = call([os.path,join(os.path.dirname(sys.argv[0]),getffmpeg.sh')])
|
res = call([os.path.join(os.path.dirname(sys.argv[0]),'getffmpeg.sh')])
|
||||||
if res or call(['which', ffmpeg]): # did not install or ffmpeg still not found.
|
if res or call(['which', ffmpeg]): # did not install or ffmpeg still not found.
|
||||||
Logger.error("Failed to install ffmpeg. Please install manually")
|
Logger.error("Failed to install ffmpeg. Please install manually")
|
||||||
Logger.info("Cannot transcode file %s", filepath)
|
Logger.info("Cannot transcode file %s", filepath)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue