mirror of
https://github.com/glomatico/gamdl.git
synced 2025-01-22 11:18:39 +00:00
run update_playlist_file
only when track is downloaded
This commit is contained in:
parent
c0d1ec2383
commit
b6d1f36281
@ -747,10 +747,10 @@ def main(
|
||||
downloader.apply_tags(remuxed_path, tags, cover_url)
|
||||
logger.debug(f'Moving to "{final_path}"')
|
||||
downloader.move_to_output_path(remuxed_path, final_path)
|
||||
if save_playlist and download_queue.playlist_attributes:
|
||||
playlist_file_path = downloader.get_playlist_file_path(tags)
|
||||
logger.debug("Updating M3U8 playlist")
|
||||
downloader.update_playlist_file(playlist_file_path, final_path)
|
||||
if save_playlist and download_queue.playlist_attributes:
|
||||
playlist_file_path = downloader.get_playlist_file_path(tags)
|
||||
logger.debug("Updating M3U8 playlist")
|
||||
downloader.update_playlist_file(playlist_file_path, final_path)
|
||||
except Exception as e:
|
||||
error_count += 1
|
||||
logger.error(
|
||||
|
Loading…
Reference in New Issue
Block a user