Пример #1
0
 def update_similar_artists(self, artist):
     self.view.clear_artists()
     print u"Update artists for {}".format(artist).encode("utf-8")
     if rb_utils.is_valid_artist(artist):
         self.load_similar_artists_async(artist)
     else:
         self.set_invalid_artist()
Пример #2
0
 def update_similar_artists(self, artist):
     self.view.clear_artists()
     print u"Update artists for {}".format(artist).encode("utf-8")
     if rb_utils.is_valid_artist(artist):
         self.load_similar_artists_async(artist)
     else:
         self.set_invalid_artist()
Пример #3
0
 def update_similar_tracks(self, artist, track):
     self.view.clear_tracks()
     if rb_utils.is_valid_artist(artist):
         self.load_similar_tracks_async(artist, track)
     else:
         self.set_invalid_track()
Пример #4
0
 def update_similar_tracks(self, artist, track):
     self.view.clear_tracks()
     if rb_utils.is_valid_artist(artist):
         self.load_similar_tracks_async(artist, track)
     else:
         self.set_invalid_track()