- dialog.ok('Grooveshark', 'You must be logged in', 'to update radio song.')
-
- def similarArtist(self, artistId):
- userid = self._get_login()
- if (userid != 0):
- xbmc.log("Add radio artist: " + str(artistId))
- if groovesharkApi.radioArtist(artistId = artistId) != False and groovesharkApi.radioStartArtists() == True:
- self.playNext()
- else:
- dialog = xbmcgui.Dialog()
- dialog.ok('Grooveshark', 'Cannot start radio')
- else:
- dialog = xbmcgui.Dialog()
- dialog.ok('Grooveshark', 'You must be logged in', 'to update radio artists.')