Project

General

Profile

Bug #5144

tvheadend is not able to handle IPTV master urls

Added by Rainer Dorsch about 3 years ago. Updated about 3 years ago.

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:

[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]:~$

History

#1

Updated by saen acro about 3 years ago

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.

#2

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?

Also available in: Atom PDF