Actions
Bug #5144
opentvheadend is not able to handle IPTV master urls
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-07-01
Due date:
% Done:
0%
Estimated time:
Found in version:
4.2.6-7~g561355130
Affected Versions:
Description
Hi,
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:
https://derste247livede.akamaized.net/hls/live/658317/daserste_de/master.m3u8
kodinerds-iptv used the direct url
https://github.com/jnk22/kodinerds-iptv/commit/0c3e735ed0a2c0c7514a08db9fc18804f9c1de56
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:
rd@scw:~$ 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 rd@scw:~$
Actions