Start paid deezer implementation

This commit is contained in:
nathom 2021-07-26 15:45:34 -07:00
parent 37e2a7e8c1
commit 0dbbba8f67
5 changed files with 99 additions and 48 deletions

View file

@ -343,7 +343,8 @@ class Track(Media):
:type path: str
"""
os.makedirs(os.path.dirname(path), exist_ok=True)
shutil.move(self.path, path)
shutil.copy(self.path, path)
os.remove(self.path)
self.path = path
def _soundcloud_download(self, dl_info: dict):