parent
bccd79da38
commit
3fd40b64c6
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ def _write_playlist_to_file(playlist, xml):
|
||||||
text += ('#EXTINF:%s,%s\n%s\n'
|
text += ('#EXTINF:%s,%s\n%s\n'
|
||||||
% (api.runtime(), api.title(), api.path()))
|
% (api.runtime(), api.title(), api.path()))
|
||||||
text += '\n'
|
text += '\n'
|
||||||
text = text.encode(v.M3U_ENCODING, 'strict')
|
text = text.encode(v.M3U_ENCODING, 'ignore')
|
||||||
try:
|
try:
|
||||||
with open(path_ops.encode_path(playlist.kodi_path), 'wb') as f:
|
with open(path_ops.encode_path(playlist.kodi_path), 'wb') as f:
|
||||||
f.write(text)
|
f.write(text)
|
||||||
|
|
Loading…
Add table
Reference in a new issue