Fix conversion conflicts when both input and output filenames are same (#459)

* Workaround conversion conflicts by appending '.temp' to input filename

* Fix tests

* Add a test and some minor changes

* Update CHANGES.md
This commit is contained in:
Ritiek Malhotra
2019-01-02 18:54:27 +00:00
committed by GitHub
parent 1cf421960c
commit 53dd292b55
6 changed files with 78 additions and 28 deletions

View File

@@ -273,6 +273,9 @@ def get_arguments(raw_args=None, to_group=True, to_merge=True):
if parsed.write_m3u and not parsed.list:
parser.error('--write-m3u can only be used with --list')
if parsed.avconv and parsed.trim_silence:
parser.error("--trim-silence can only be used with FFmpeg")
parsed.log_level = log_leveller(parsed.log_level)
return parsed