From 0096dfe5cb6760dc9b2bb0f2105b6ff760591903 Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Wed, 15 May 2024 13:17:36 +0200 Subject: [PATCH] feat: copying the downloaded music into the final locations --- music_kraken/download/page_attributes.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/music_kraken/download/page_attributes.py b/music_kraken/download/page_attributes.py index f6f7786..fd6f234 100644 --- a/music_kraken/download/page_attributes.py +++ b/music_kraken/download/page_attributes.py @@ -308,6 +308,10 @@ class Pages: if not found_on_disk or self.download_options.process_metadata_if_found: write_metadata_to_target(metadata=song.metadata, target=tmp, song=song) + # copy the tmp target to the final locations + for target in song.target_collection: + tmp.copy_content(target) + tmp.delete() return r