Example #1
0
 def to_vtuner(self):
     return vtuner.Station(self.id, self.name, self.tag, self.url,
                           self.icon, self.tag, None, None, None, None)
Example #2
0
 def to_vtuner(self):
     return vtuner.Station(self.id, self.name, ', '.join(self.tags), self.url, self.icon,
                           self.tags[0], self.countrycode, self.codec, self.bitrate, None)
Example #3
0
 def to_vtuner(self):
     tid = generic.get_checksum(self.id)
     id_registry[tid] = self.id
     return vtuner.Station(generic.generate_stationid_with_prefix(tid, ID_PREFIX), self.name, ', '.join(self.tags), self.url, self.icon,
                           self.tags[0], self.countrycode, self.codec, self.bitrate, None)