예제 #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())