From 155f239c8ade700f0bb9f9a791ed01f3fc2fffe5 Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Fri, 10 May 2024 15:32:14 +0200 Subject: [PATCH] feat: changed ids for audio tempfiles to random id instead of increment id --- music_kraken/pages/abstract.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/music_kraken/pages/abstract.py b/music_kraken/pages/abstract.py index e322048..d5252c0 100644 --- a/music_kraken/pages/abstract.py +++ b/music_kraken/pages/abstract.py @@ -378,13 +378,7 @@ class Page: sources = song.source_collection.get_sources(self.SOURCE_TYPE) - temp_target: Target = Target( - relative_to_music_dir=False, - file_path=Path( - main_settings["temp_directory"], - str(song.id) - ) - ) + temp_target: Target = Target.temp() r = DownloadResult(1)