Beispiel #1
0
 def onTextForCustomStationEntered(self, text):
     print "onTextForCustomStationEntered", text, self.customstationtype
     if text is not None:
         if self.customstationtype == "artist":
             self.changeStation(urllib2_qoute("lastfm://artist/%s/similarartists" % text))
         elif self.customstationtype == "groupe":
             self.changeStation(urllib2_qoute("lastfm://group/%s" % text))
         elif self.customstationtype == "tag":
             self.changeStation(urllib2_qoute("lastfm://globaltags/%s" % text))
Beispiel #2
0
 def onTextForCustomStationEntered(self,text):
     print("onTextForCustomStationEntered",text,self.customstationtype)
     if text is not None:
         if self.customstationtype =="artist":
             self.changeStation(urllib2_qoute("lastfm://artist/%s/similarartists"%text))
         elif self.customstationtype =="groupe":
             self.changeStation(urllib2_qoute("lastfm://group/%s"%text))
         elif self.customstationtype =="tag":
             self.changeStation(urllib2_qoute("lastfm://globaltags/%s"%text))