Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
bradytheinventor committed Sep 1, 2022
2 parents 97240e8 + 7f5913e commit d3a6037
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.rc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pyffmpeg~=2.3.0.3
pyffmpeg==2.3.0.2
pyinstaller~=5.3
PyQt5~=5.15.7
mutagen~=1.45.1
Expand Down
3 changes: 2 additions & 1 deletion src/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ def convert_to_ogg(track_file, internal_name, mix_mono, create_tmp=True, cleanup
#convert file
try:
ffmpeg.options("-nostdin -y -i %s -c:a libvorbis%s %s" % (tmp_track, args, out_track))
except:
except Exception as e:
print(e)
return Status.FFMPEG_CONVERT_FAIL

#exit if file was not converted successfully
Expand Down

0 comments on commit d3a6037

Please sign in to comment.