[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
SMPlayer Support Forum • View topic - Playlist Encoding

This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

Playlist Encoding

Problems, bugs, suggestions... anything related to SMPlayer.

Playlist Encoding

Postby serhiiku » Tue Jan 30, 2018 9:59 pm

Hi,
I use SMPlayer both, on Windows (W7, x64) and Linux Mint. Unfortunately, I can not use the same playlist on both systems.

On Linux the player accepts the playlist in UTF-8 encoding, and everything looks OK.
But if I open the same playlist in the player on Windows, the names are not readable:

49 НОВЫЙ ХРИСТИАНСКИЙ

In the playlist, if I open it in a text editor it looks like this:

49 НОВЫЙ ХРИСТИАНСКИЙ

When my playlist has the ANSI encoding Windows-1251, then all names look OK, but such playlist is not readable on my Linux Mint system, where the player wants UTF-8 playlists.
If I go to config folder of the SMPlayer on Winows and open there radio.m3u8 list or tv.m3u8, they are in UTF-8, so the player on Windows can read playlists in UTF-8.
Will it be possible for playlists to use UTF-8 encoding instead of ANSI? Or better if the encoding would be recognized automatically, Or to have a setting in Settings to choose the encoding for playlists.

2) Since we can watch TV, for which I'm thankful very much, if it would be possible to add TV guide, EPG (this are the XML files, often compressed, updated from external sources), like in IPTV players, that would be nice :)
serhiiku
 
Posts: 3
Joined: Tue Jan 16, 2018 2:32 am

Re: Playlist Encoding

Postby rvm » Tue Jan 30, 2018 10:08 pm

Can you provide a sample playlist where this problem happens?
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Playlist Encoding

Postby serhiiku » Tue Jan 30, 2018 11:12 pm

Thank you for the answer.

This is the playlist in UTF-8, the Titles are unreadable
test-utf-8.m3u.txt
playlist in UTF-8
(317 Bytes) Downloaded 571 times

here how they look:
test-utf-8.PNG
playlist in UTF-8 doesn't look well
test-utf-8.PNG (74.74 KiB) Viewed 5242 times


This is the laylist in CP-1251
test-cp-1251.m3u.txt
playlist in ANSI (windows-1251) looks well
(282 Bytes) Downloaded 529 times

The titles look ok.
test-cp-1251.PNG
playlist in ANSI (windows-1251) looks well
test-cp-1251.PNG (121.28 KiB) Viewed 5242 times


I have Windows 7, x64. Russian Language.
SMPlayer v. 17.12.0 (rev.8844) (64-bit)
serhiiku
 
Posts: 3
Joined: Tue Jan 16, 2018 2:32 am

Re: Playlist Encoding

Postby rvm » Wed Jan 31, 2018 1:58 am

You need to save the playlists in UTF-8 using the m3u8 extension.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

[Solved] Re: Playlist Encoding

Postby serhiiku » Wed Jan 31, 2018 9:45 am

serhiiku
 
Posts: 3
Joined: Tue Jan 16, 2018 2:32 am

Re: Playlist Encoding

Postby juansan » Sat Oct 19, 2019 3:15 pm

Hello,
I have a similar problem about EPG. I have IPTV from TvHeadend and it transmit EPG in the signal. I would like that SMPlayer shows EPG in the channel list, but I don't know how to do it or if is possible. Can I have help about it, please?

Thank you.
juansan
 
Posts: 1
Joined: Sat Oct 19, 2019 2:54 pm


Return to General

Who is online

Users browsing this forum: No registered users and 30 guests