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

M3U缺少tvg-id属性导致EPG无法匹配 #20

Open
pk000 opened this issue Aug 20, 2022 · 7 comments
Open

M3U缺少tvg-id属性导致EPG无法匹配 #20

pk000 opened this issue Aug 20, 2022 · 7 comments

Comments

@pk000
Copy link

pk000 commented Aug 20, 2022

大部分播放器使用M3U中每个台的tvg-id与EPG中的channel id进行匹配,从而显示节目表。
但是目前本项目的M3U列表均缺少tvg-id属性,希望补齐,并对应EPG的channel id。

PS:可以顺带在M3U的头部加上x-tvg-url属性,直接调用EPG。

@Tzwcard
Copy link
Owner

Tzwcard commented Aug 20, 2022

我使用的kodi是通过tvg-name与epg进行匹配的
请问你是在用什么播放器匹配不上的呢

@pk000
Copy link
Author

pk000 commented Aug 21, 2022

iOS Fileball

@sKyissKy
Copy link

不开新issue了,想请教作者怎么用ffmpeg扫组播流。现在深圳电信组播貌似只有pppoe才能获取组播流,想尝试一下能不能通过组播vlan直接取流

@VergilGao
Copy link

主要问题在于,你想对应哪个epg的channel id呢?
我自己写的爬虫同时爬取了播放列表和节目单,里面的channel id是运营商定义的,和网上那个epg的channel id完全不同,后来我观察kodi里那个iptv插件的文档,最后决定我的channel id规则 = 运营商的id + @iptv
比如 cctv1 HD 就是 241@iptv

@fqx
Copy link

fqx commented Nov 25, 2022

http://epg.51zmt.top:8000
这个网站提供了一个比较好的案例,当然仍有大量地方台不在其中。

@Tzwcard
Copy link
Owner

Tzwcard commented Nov 25, 2022

这个我看了一下 每个播放器有不同的epg实现 好像没有个比较好的标准
因为我现在 epg.xml 和 m3u 是通过 tvg-name 匹配的 如果自己有条件的话可以下下来之后写个脚本改成播放器支持的对应的形式
现在这个格式我实测 kodi 能直接认 所以就不改了

不开新issue了,想请教作者怎么用ffmpeg扫组播流。现在深圳电信组播貌似只有pppoe才能获取组播流,想尝试一下能不能通过组播vlan直接取流

我是 pppoe 拨号之后再做的 ffprobe 扫 不拨号这个不太清楚

@zengkid
Copy link

zengkid commented Dec 29, 2023

@Tzwcard 可以使用https://epg.112114.xyz/cjtrans 做转换,结果都在m3u里面。不过貌似要求用http才能转,里面还可以自己定义和上传logo,感觉不错。
只要生成电视台,http://xxxx,就能转了。
image

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

6 participants