示例#1
0
 def _get_path(self) -> str:
     return song_utils.get_path(self.get_external_url())
示例#2
0
 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")
示例#3
0
 def _get_path(self) -> str:
     if not self.id:
         raise ValueError()
     return song_utils.get_path(self.id + ".m4a")
示例#4
0
 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())