I would like to use the bbc-stations from BBC iPlayer. Here is a geo-restricted example-url: https://www.bbc.co.uk/iplayer/live/cbbc (only working in the UK or with VPN).
This should work as an "iptv automated network" together with Streamlink in the pipe. But it doesn't )-:
After forcing scan I got this in my log:
Loglevel debug: enabled
2018-12-26 13:04:18.648 mpegts: streamlink.m3u - CBBC in Streamlink - tuning on IPTV
2018-12-26 13:04:18.651 subscription: 0008: "scan" subscribing to mux "streamlink.m3u - CBBC", weight: 6, adapter: "IPTV", network: "Streamlink", service: "Raw PID Subscription"
2018-12-26 13:04:18.652 spawn: Executing "/opt/streamlink.sh"
2018-12-26 13:04:20.172 spawn: [cli][info] Found matching plugin bbciplayer for URL https://www.bbc.co.uk/iplayer/live/cbbc
2018-12-26 13:04:20.176 spawn: [plugin.bbciplayer][info] A TV License is required to watch BBC iPlayer streams, see the BBC website for more information: https://www.bbc.co.uk/iplayer/help/tvlicence
2018-12-26 13:04:29.539 spawn: [cli][info] Available streams: 396p_dash, 540p_dash, 720p_dash, 396p_dash_alt, 540p_dash_alt, 720p_dash_alt, 396p_dash_alt2, 540p_dash_alt2, 720p_dash_alt2, 352k_alt (worst), 352k, 544k_alt, 544k, 216p_alt, 216p, 288p_alt, 288p, 942k_alt, 942k, 396p_alt2, 396p_alt, 396p, 540p_alt2, 540p_alt, 540p, 1700k_alt, 1700k, 720p_alt2, 720p_alt, 720p, 2908k_alt, 2908k, 5166k_alt, 5166k (best)
2018-12-26 13:04:29.542 spawn: [cli][info] Opening stream: 352k_alt (hds)
2018-12-26 13:04:33.648 mpegts: streamlink.m3u - CBBC in Streamlink - scan no data, failed
2018-12-26 13:04:33.648 subscription: 0008: "scan" unsubscribing
If I use Streamlink with the same settings but direct output to VLC the stream is working. I can also successfully pipe other streams from Streamlink to TVHeadend. This is why I am seeking help here and not at Streamlink.
Here are my settings:
Content of m3u-file:
#EXTM3U
#EXTINF:-1 tvg-name="CBBC" tvg-id="CBBC" group-title="BBC",CBBC
pipe:///opt/streamlink.sh https://www.bbc.co.uk/iplayer/live/cbbc
Content of /opt/streamlink.sh:
#!/bin/bash
/usr/bin/streamlink --bbciplayer-username "my email-adress" --bbciplayer-password "my password" --hds-segment-threads "3" --stdout "$1" worst
Versions:
* Xubuntu 18.04, amd64bit
* Tvheadend 4.2.7-38~g6beba6d95 from Doozer
* Streamlink 0.14.2 from ppa:nilarimogard/webupd8