diff options
| author | tassaron | 2022-05-10 01:03:35 -0400 |
|---|---|---|
| committer | tassaron | 2022-05-10 01:03:35 -0400 |
| commit | 162a5cba3d47987474964ace115dc3a245807a94 (patch) | |
| tree | 1ec3ba9ec66218040f39523cd8df4d407477792a | |
| parent | acef7463a07522784695dbab57c77f1584e12e1b (diff) | |
log name of missing/unreadable audio file
| -rw-r--r-- | MANIFEST.in | 1 | ||||
| -rw-r--r-- | src/toolkit/ffmpeg.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/MANIFEST.in b/MANIFEST.in index 6dda6ba..5a59717 100644 --- a/MANIFEST.in +++ b/MANIFEST.in | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | include src/tests/* | 1 | include src/tests/* |
| 2 | include src/tests/data/* | ||
| 2 | include src/components/*.ui | 3 | include src/components/*.ui |
| 3 | include src/gui/*.ui | 4 | include src/gui/*.ui |
| 4 | include src/gui/background.png | 5 | include src/gui/background.png |
diff --git a/src/toolkit/ffmpeg.py b/src/toolkit/ffmpeg.py index 7b19f2e..ff06469 100644 --- a/src/toolkit/ffmpeg.py +++ b/src/toolkit/ffmpeg.py | |||
| @@ -422,7 +422,7 @@ def readAudioFile(filename, videoWorker): | |||
| 422 | ''' | 422 | ''' |
| 423 | duration = getAudioDuration(filename) | 423 | duration = getAudioDuration(filename) |
| 424 | if not duration: | 424 | if not duration: |
| 425 | log.error('Audio file doesn\'t exist or unreadable.') | 425 | log.error(f"Audio file {filename} doesn't exist or unreadable.") |
| 426 | return | 426 | return |
| 427 | 427 | ||
| 428 | command = [ | 428 | command = [ |
