예제 #1
0
파일: my_stations.py 프로젝트: zofman/YCast
 def to_vtuner(self):
     return vtuner.Station(self.id, self.name, self.tag, self.url,
                           self.icon, self.tag, None, None, None, None)
예제 #2
0
파일: radiobrowser.py 프로젝트: mbroz/YCast
 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)
예제 #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)