tvheadend is not able to handle IPTV master urls
many thanks for developing tvheadend, I use this amazing piece of software regularly :-)
One issue I stumpled over is that tvheadend (in contrast to e.g. vlc) does not support IPTV master urls, e.g. used for a prominent German TV channel:
kodinerds-iptv used the direct url
but after the direct url breaks frequently, they reverted back to the master url.
I think the proper fix needs to be implemented in tvheadend.
As a temporary workaround I use a script, maybe it helps others until a proper fix is available:
[email protected]:~$ cat /usr/local/bin/fetch-dasErste.sh #!/bin/sh masterurl=$(wget -O - -o /dev/null http://bit.ly/kn-pipe|grep -A 1 "Erste HD"|grep pipe|cut -f 5 -d " ") url=$(wget -O - -o /dev/null $masterurl|grep index_7|grep -v "[0-9]-b") echo '#EXTM3U #EXTINF:-1 tvg-name="Das Erste HD" tvg-id="ARD.de" group-title="IPTV-D" tvg-logo="https://raw.githubusercontent.com/jnk22/kodinerds-iptv/master/logos/tv/daserstehd.png",Das Erste HD pipe:///usr/bin/ffmpeg -loglevel fatal -i' $url '-vcodec copy -acodec copy -metadata service_name=Das\ Erste\ HD -metadata service_provider=IPTV-DE -mpegts_service_type advanced_codec_digital_hdtv -f mpegts pipe:1' >> ~/public_html/dasErsteHD.m3u8 [email protected]:~$
Updated by Rainer Dorsch about 3 years ago
saen acro wrote:
m3u8 is a index file of web loction where chunks are stored
With other words, if you put this m3u8 link in standard m3u playlist,
situation is totally different and chance to work is greater.
How would I add the m3u playlist? As a new network (IPTV automatic network?) like I did with http://bit.ly/kn-pipe in the first place?