Open darkeagl opened 4 years ago
Telly’s m3u parser hasn’t changed in a very long time. Can you provide a copy of the m3u?
Do you need a whole m3u or is a part enough? channels.zip
#EXTM3U
#EXTINF:-1 logo="https://ngiss.t-online.de/iss?client=ngtv&y=48&ar=keep&src=http://programm-manager.telekom.de/media/3711d16d0e3570276ebba175620385b5f4ff18f4.png" tvg-id="1da811fa89e6bd053de68d1a5c97aadb" tvg-chno="1",Das Erste HD
http://192.168.1.2:9981/stream/channelid/2047977501?profile=pass
#EXTINF:-1 logo="https://ngiss.t-online.de/iss?client=ngtv&y=48&ar=keep&src=http://programm-manager.telekom.de/media/3711d16d0e3570276ebba175620385b5f4ff18f4.png" tvg-id="ff1b8fb817b0c70cc29d3a894ed39b43" tvg-chno="1",Das Erste SD
http://192.168.1.2:9981/stream/channelid/948902911?profile=pass
#EXTINF:-1 logo="https://ngiss.t-online.de/iss?client=ngtv&y=48&ar=keep&src=http://programm-manager.telekom.de/media/35d71e6d09f3551cb4053da8487b3028cf9339cd.png" tvg-id="bf9fc5d0601a34f31f7874acb572b075" tvg-chno="2",ZDF HD
http://192.168.1.2:9981/stream/channelid/1355128767?profile=pass
#EXTINF:-1 logo="https://ngiss.t-online.de/iss?client=ngtv&y=48&ar=keep&src=http://programm-manager.telekom.de/media/35d71e6d09f3551cb4053da8487b3028cf9339cd.png" tvg-id="8d98325827d5d74f973a904f8db28e6b" tvg-chno="2",ZDF SD
http://192.168.1.2:9981/stream/channelid/1479710861?profile=pass
#EXTINF:-1 logo="https://ngiss.t-online.de/iss?client=ngtv&y=48&ar=keep&src=http://programm-manager.telekom.de/media/677f684aabfc03b8110b90e5b4ea5b3ac3e5d578.png" tvg-id="1f37fe14ca9292ca293fd89afa3a2170" tvg-chno="3",RTL SD
http://192.168.1.2:9981/stream/channelid/352204575?profile=pass
#EXTINF:-1 logo="https://ngiss.t-online.de/iss?client=ngtv&y=48&ar=keep&src=http://programm-manager.telekom.de/media/efd5a2c8992cd87d3fcc83b5b2399d12971bf89f.png" tvg-id="be28927cf2056f1eba4e87d6d2c68f9b" tvg-chno="4",SAT.1 SD
http://192.168.1.2:9981/stream/channelid/2089953470?profile=pass
.......
You need to define a meaningful filter or leave it out.
# THE FOLLOWING KEYS ARE OPTIONAL IN THEORY, REQUIRED IN PRACTICE
Filter = "YOUR_FILTER_REGULAR_EXPRESSION"
# Telly is written in Go, and uses the Go regular expression system,
# which is limited compared to other regular expression parsers.
FilterKey = "group-title" # Telly applies the regular expression to the contents of this key in the M3U.
FilterRaw = false # FilterRaw will run your regex on the entire line instead of just specific keys.
Sort = "group-title" # Sort will alphabetically sort your channels by the M3U key provided
That's filtering everything out of the channel list since there are no channels in your m3u where the group-title
field matches "YOUR_FILTER_REGULAR_EXPRESSION
".
Putting that sample m3u into a config without a filter, I see:
INFO[2020-06-15T10:12:34-05:00] Loading M3U from channels.m3u
DEBU[2020-06-15T10:12:34-05:00] These channels (45) passed the filter and successfully parsed: Das Erste HD, Das Erste SD, ZDF HD, ZDF SD, RTL SD, SAT.1 SD, ProSieben SD, VOX SD, kabel eins SD, RTLZWEI SD, KiKA HD, KiKA SD, 3sat HD, 3sat SD, n-tv SD, PHOENIX HD, PHOENIX SD, zdf_neo HD, zdf_neo SD, BR Süd HD, BR Süd SD, hr HD, hr SD, NDR SD, WDR HD, WDR SD, ARTE HD, ARTE SD, ONE HD, ONE SD, ProSieben MAXX SD, NITRO SD, RTLplus SD, SAT.1 GOLD SD, sixx SD, VOXup SD, ARD-alpha HD, ARD-alpha SD, kabel eins Doku SD, tagesschau24 HD, ZDFinfo HD, ZDFinfo SD, L-TV SD, BR Nord SD, rbb Brandenburg SD
DEBU[2020-06-15T10:12:34-05:00] These channels (0) did NOT pass the filter:
INFO[2020-06-15T10:12:34-05:00] Loaded 45 channels into the lineup from github
I changed my config to this at the end and still the same error:
# IT CANNOT BE AN M3U THAT LINKS TO ANOTHER M3U
EPG = "" # This can be either URL or fully-qualified path.
FilterKey = "group-title" # Telly applies the regular expression to the contents of this key in the M3U.
FilterRaw = false # FilterRaw will run your regex on the entire line instead of just specific keys.
Sort = "group-title" # Sort will alphabetically sort your channels by the M3U key provided
I left the filter out completely.
Remove all the filter-related keys if you are not using a filter. Here's the config I used. This will include all channels in the m3u; if there are more than 420 you will receive a different error.
[[Source]]
Name = "github" # Name is optional and is used mostly for logging purposes
Provider = "Custom" # DO NOT CHANGE THIS
M3U = "channels.m3u" # This can be either URL or fully-qualified path.
Your second example is saying:
Filter this M3U by the tag "group-title", and sort it by "group-title".
Telly is failing to parse it at least in part because your M3u does not have a "group-title" tag to extract or sort by. It could also be due to telling it to filter and then not supplying a filter to use.
The example m3u provided is missing most of the tags that telly relies on for filtering, so it may ultimately have other problems.
https://github.com/tellytv/telly/wiki/Prerequisites%3A-IPTV-Account
telly release with the issue: 1.1.0.6
Last working telly release (if known): never worked
Operating environment (Docker/Windows/Linux/QNAP, etc.): Docker on a Synology 918+ with latest DSM
Description of problem: Tvheadend is running in version 4.3~221c29b on the same Synology as Telly and the export of the m3u is working when I try it. Only telly cant work with the format. Has the format parser changed or what can I change that it can work? I havent changed any settings in tvh as I cant see anything for the m3u export.
Contents of
telly.config.toml
[if you're using a version above 1.1]:Docker run command used to run telly [if applicable]:
telly or docker log:
Additional information: