projects
/
vpproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3a3df74
)
"/" handling in channel names
author
Roman Bazalevsky
<rvb@rvb.name>
Wed, 29 Jul 2015 17:59:33 +0000
(20:59 +0300)
committer
Roman Bazalevsky
<rvb@rvb.name>
Wed, 29 Jul 2015 17:59:33 +0000
(20:59 +0300)
plugins/m3u_plugin.py
patch
|
blob
|
history
diff --git
a/plugins/m3u_plugin.py
b/plugins/m3u_plugin.py
index 539616b84d0514c0419c739d6030157a9ee09a91..20702062da0c64349b3ca216e968fb7bd6d48d10 100644
(file)
--- a/
plugins/m3u_plugin.py
+++ b/
plugins/m3u_plugin.py
@@
-115,7
+115,7
@@
class M3u(VPProxyPlugin):
connection.dieWithError()
url=None
for record in playlist:
connection.dieWithError()
url=None
for record in playlist:
- if record.title.decode('utf-8')==channel:
+ if record.title.decode('utf-8')
.replace('/','')
==channel:
url=record.path.decode('utf-8')
print url
if url:
url=record.path.decode('utf-8')
print url
if url:
@@
-147,7
+147,7
@@
class M3u(VPProxyPlugin):
exported = ""
for record in playlist:
exported = ""
for record in playlist:
- exported = exported + "" + record.title.decode('utf-8') + "\n"
+ exported = exported + "" + record.title.decode('utf-8')
.replace('/','')
+ "\n"
else:
else: