Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cyrillic alphabet, incorrect encoding #36

Open
krasnh opened this issue Oct 27, 2024 · 8 comments
Open

Cyrillic alphabet, incorrect encoding #36

krasnh opened this issue Oct 27, 2024 · 8 comments

Comments

@krasnh
Copy link

krasnh commented Oct 27, 2024

I completely forgot about this moment when I wrote the previous question.

Playlist by link http://127.0.0.1:8185/playlist.m3u. After launching iptv-filter -i http://127.0.0.1:8185/playlist.m3u -o playlist_576p.m3u --max-height 576, I get a broken encoding.

#EXTM3U
#EXTINF:-1 group-title="Ф��Ь�Ы" tvg-name="�инопоказ" tvg-id="E1E28468" tvg-logo="http://td-soft.narod.ru/logo/picon/E1E28468.png",�инопоказ
http://127.0.0.1:8185/stream/E1E28468

If wget http://127.0.0.1:8185/playlist.m3u -O playlist.m3u && iptv-filter -i playlist.m3u -o playlist_576p.m3u --max-height 576, then:

#EXTM3U url-tvg="http://127.0.0.1:8185/epg/xmltv" tvg-shift="0"
#EXTINF:-1 group-title="ФИЛЬМЫ" tvg-name="Кинопоказ" tvg-id="E1E28468" tvg-logo="http://td-soft.narod.ru/logo/picon/E1E28468.png",Кинопоказ
http://127.0.0.1:8185/stream/E1E28468

upd. For some reason, the first line of the playlist changes:
#EXTM3U
and
#EXTM3U url-tvg="http://127.0.0.1:8185/epg/xmltv" tvg-shift="0"

@krasnh
Copy link
Author

krasnh commented Oct 27, 2024

I checked it out https://iptv-org.github.io/iptv/countries/ru.m3u. The encoding is correct.

#EXTINF:-1 tvg-id="Kinopokaz.ru" tvg-logo="https://i.imgur.com/nNjMyAq.png" group-title="Movies",Кинопоказ
http://31.148.48.15/Kinopokaz/index.m3u8

So iptvtools has nothing to do with it? It is necessary to ask the author of the server http://127.0.0.1:8185?

@samer911
Copy link

samer911 commented Oct 27, 2024 via email

@krasnh
Copy link
Author

krasnh commented Oct 27, 2024

Can you pls send me url or m3u for arabic chanel

Search here https://github.com/iptv-org/iptv#playlists.

@samer911
Copy link

samer911 commented Oct 27, 2024 via email

@krasnh
Copy link
Author

krasnh commented Oct 28, 2024

In principle, there is nothing difficult to save the playlist first and then run the `iptv-filter'. The order of actions will increase by only one command, which is not terrible. Anyway, anyway, the iptv player will no longer work with the original url link, but with the local playlist_576p.m3u file.

wget http://127.0.0.1:8185/playlist.m3u -O playlist.m3u && iptv-filter -i playlist.m3u -o playlist_576p.m3u --max-height 576


I close the question as unimportant.

@krasnh krasnh closed this as completed Oct 28, 2024
@huxuan
Copy link
Owner

huxuan commented Oct 28, 2024

So you mean it works with local file but failed with remote url, right?

@krasnh
Copy link
Author

krasnh commented Oct 28, 2024

Yes.


The server is launched on the working system (Linux) - python 2 server.py.
We get the playlist http://127.0.0.1:8185/playlist.m3u, which works on any iptv player and even in mpv. )
(Settings via the web interface http://127.0.0.1:8185/. )

But iptv-filter breaks the encoding if you work with the link directly. Now I understand that this is a trifle and there are simple workarounds.

@huxuan
Copy link
Owner

huxuan commented Oct 28, 2024

Sounds like an encoding problem, I will take a look when having time.

@huxuan huxuan reopened this Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants