Delete old .log file before transcoding
Might be leftover if transcoding was aborted before
This commit is contained in:
parent
58f2c3295a
commit
cd0deafe15
@ -27,6 +27,8 @@ def main():
|
||||
for dvd_type in ("movie", "series"):
|
||||
for dvd in filter(is_dvd_files_not_locked, list_ripped_dvds(dvd_type)):
|
||||
print(f"Transcoding {dvd}")
|
||||
delete_old_transcoding_logfile_if_exists(dvd)
|
||||
|
||||
output_files = transcode_ripped_dvd(dvd)
|
||||
if output_files:
|
||||
mv_videos_from_tmp_to_transcoded_dir(output_files, dvd.dvd_type)
|
||||
|
Loading…
x
Reference in New Issue
Block a user