def _get_path(self) -> str: return song_utils.get_path(self.get_external_url())
def get_path(self) -> str: """Return the path in the local filesystem to the cached sound file of this song.""" if not self.id: raise ValueError() return song_utils.get_path(self.id + ".m4a")
def _get_path(self) -> str: if not self.id: raise ValueError() return song_utils.get_path(self.id + ".m4a")
def get_path(self) -> str: """Return the path in the local filesystem to file of this song.""" return song_utils.get_path(self.get_external_url())