+ item['url'] = 'http://' + hostport + '/' + prefix + '/' + item['url']
+ itemlist += PlaylistGenerator._generatem3uline(item)
+
+ return itemlist
+
+ def dumpm3u(self):
+ '''
+ Dump m3u playlist
+ '''
+ itemlist = PlaylistGenerator.m3uemptyheader
+
+ for item in self.itemlist:
+ item['tvg'] = item.get('tvg', '') if item.get('tvg') else \
+ item.get('name').replace(' ', '_')
+ # For .acelive and .torrent