if self.splitted_path[1]=='m3u':
prefix='get'
elif self.splitted_path[1]=='m3uw':
- prefix='webm'
+ prefix='ogg'
elif self.splitted_path[1]=='m3ut':
prefix='mp4'
elif self.splitted_path[1] in ("list","play","index"):
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:
exported = ""
for record in playlist:
- exported = exported + "" + record.title.decode('utf-8') + "\n"
+ exported = exported + "" + record.title.decode('utf-8').replace('/','') + "\n"
else: