def add_artists(self, artist_ids): ret = api.favorite_create(artist_ids=artist_ids) if not ret: return False self._delete_cache() return True
def add_tracks(self, track_ids): ret = api.favorite_create(track_ids=track_ids) if not ret: return False self._delete_cache() return True
def add_albums(self, album_ids): ret = api.favorite_create(album_ids=album_ids) if not ret: return False self._delete_cache() return True