X-Git-Url: https://git.rvb.name/vpproxy.git/blobdiff_plain/1074f7e8729c2ff065d73960c5450c9356c2fd11..7bb418d8c7787d1ed6fcd421de8a49fc2738a36e:/plugins/m3u_plugin.py diff --git a/plugins/m3u_plugin.py b/plugins/m3u_plugin.py index 00a6193..90f529f 100644 --- a/plugins/m3u_plugin.py +++ b/plugins/m3u_plugin.py @@ -152,10 +152,11 @@ class M3u(VPProxyPlugin): playlistgen = PlaylistGenerator() for record in playlist: - channel=dict() - channel['name']=record.title.decode('utf-8') - channel['url']=record.path.decode('utf-8') - playlistgen.addItem(channel) + if record.title: + channel=dict() + channel['name']=record.title.decode('utf-8') + channel['url']=record.path.decode('utf-8') + playlistgen.addItem(channel) exported = playlistgen.exportm3u(hostport,prefix)