fixed issue where post processing was skipped for 'save as playlist' downloads.
This commit is contained in:
parent
05758a7e8d
commit
d1109d9fda
1 changed files with 6 additions and 0 deletions
|
|
@ -9587,6 +9587,12 @@ def _post_process_matched_download(context_key, context, file_path):
|
||||||
final_path, _ = _build_final_path_for_track(context, spotify_artist, None, file_ext)
|
final_path, _ = _build_final_path_for_track(context, spotify_artist, None, file_ext)
|
||||||
print(f"📁 Playlist mode final path: '{final_path}'")
|
print(f"📁 Playlist mode final path: '{final_path}'")
|
||||||
|
|
||||||
|
# Enhance metadata before moving
|
||||||
|
try:
|
||||||
|
_enhance_file_metadata(file_path, context, spotify_artist, None)
|
||||||
|
except Exception as meta_err:
|
||||||
|
pp_logger.info(f"[inner] Metadata enhancement FAILED for {context_key}: {meta_err}")
|
||||||
|
|
||||||
# Move file to playlist folder
|
# Move file to playlist folder
|
||||||
print(f"🚚 Moving '{os.path.basename(file_path)}' to '{final_path}'")
|
print(f"🚚 Moving '{os.path.basename(file_path)}' to '{final_path}'")
|
||||||
if os.path.exists(final_path):
|
if os.path.exists(final_path):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue