X-Git-Url: https://git.rvb.name/vpproxy.git/blobdiff_plain/1074f7e8729c2ff065d73960c5450c9356c2fd11..f4c36b837c66078d1dd496481b82439377d5709a:/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)