예제 #1
0
 def add_artists(self, artist_ids):
     ret = api.favorite_create(artist_ids=artist_ids)
     if not ret:
         return False
     self._delete_cache()
     return True
예제 #2
0
 def add_tracks(self, track_ids):
     ret = api.favorite_create(track_ids=track_ids)
     if not ret:
         return False
     self._delete_cache()
     return True
예제 #3
0
 def add_albums(self, album_ids):
     ret = api.favorite_create(album_ids=album_ids)
     if not ret:
         return False
     self._delete_cache()
     return True