mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 21:45:02 +03:00
common.py: Print merged filename after successful merge
Instead of just "Done.".
This commit is contained in:
parent
7dc471f18e
commit
03a4d3cc91
@ -735,7 +735,7 @@ def download_urls(urls, title, ext, total_size, output_dir='.', refer=None, merg
|
||||
if has_ffmpeg_installed():
|
||||
from .processor.ffmpeg import ffmpeg_concat_av
|
||||
ret = ffmpeg_concat_av(parts, output_filepath, ext)
|
||||
print('Done.')
|
||||
print('Merged into %s' % output_filename)
|
||||
if ret == 0:
|
||||
for part in parts: os.remove(part)
|
||||
|
||||
@ -748,7 +748,7 @@ def download_urls(urls, title, ext, total_size, output_dir='.', refer=None, merg
|
||||
else:
|
||||
from .processor.join_flv import concat_flv
|
||||
concat_flv(parts, output_filepath)
|
||||
print('Done.')
|
||||
print('Merged into %s' % output_filename)
|
||||
except:
|
||||
raise
|
||||
else:
|
||||
@ -764,7 +764,7 @@ def download_urls(urls, title, ext, total_size, output_dir='.', refer=None, merg
|
||||
else:
|
||||
from .processor.join_mp4 import concat_mp4
|
||||
concat_mp4(parts, output_filepath)
|
||||
print('Done.')
|
||||
print('Merged into %s' % output_filename)
|
||||
except:
|
||||
raise
|
||||
else:
|
||||
@ -780,7 +780,7 @@ def download_urls(urls, title, ext, total_size, output_dir='.', refer=None, merg
|
||||
else:
|
||||
from .processor.join_ts import concat_ts
|
||||
concat_ts(parts, output_filepath)
|
||||
print('Done.')
|
||||
print('Merged into %s' % output_filename)
|
||||
except:
|
||||
raise
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user