feat: copying the downloaded music into the final locations
This commit is contained in:
parent
bedd0fe819
commit
0096dfe5cb
@ -308,6 +308,10 @@ class Pages:
|
|||||||
if not found_on_disk or self.download_options.process_metadata_if_found:
|
if not found_on_disk or self.download_options.process_metadata_if_found:
|
||||||
write_metadata_to_target(metadata=song.metadata, target=tmp, song=song)
|
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()
|
tmp.delete()
|
||||||
return r
|
return r
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user