fixed bug
This commit is contained in:
parent
6f30ae6f92
commit
f8b3e57ade
@ -47,7 +47,7 @@ class Target(DatabaseObject):
|
||||
|
||||
@property
|
||||
def exists(self) -> bool:
|
||||
return self.file_path.exists
|
||||
return self.file_path.is_file()
|
||||
|
||||
def create_path(self):
|
||||
self._path.mkdir(parents=True, exist_ok=True)
|
||||
|
@ -24,7 +24,8 @@ from ..objects import (
|
||||
Label,
|
||||
Options,
|
||||
AlbumType,
|
||||
AlbumStatus
|
||||
AlbumStatus,
|
||||
Target
|
||||
)
|
||||
from ..utils import (
|
||||
string_processing,
|
||||
@ -891,3 +892,10 @@ class Musify(Page):
|
||||
if url.source_type == MusifyTypes.SONG:
|
||||
return Song
|
||||
return None
|
||||
|
||||
@classmethod
|
||||
def _download_song_to_targets(cls, source: Source, target_list: List[Target]):
|
||||
"""
|
||||
https://musify.club/track/im-in-a-coffin-life-never-was-waste-of-skin-16360302
|
||||
"""
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user