Hi,
thank you for this detailed howto.
I made some progress, but still have lot of questions:
I am running Openelec 5.0.8. The tvheadend version is: HTS Tvheadend 3.9.2765~g0294882
is it suitable for setup you are describing?
I added IPTV Network (no URL field there), so then i have added a MUX to this network - there i could enter the URL to the playlist.
It did not accept file path as URL though. So i added an http:// url to the playlist (on my local http server, and it is serving the m3u file, i tested it with wget)
Network scan fails.
But when I start vlc (or mplayer) with http url to m3u as parameter, it connets but doesn't get response.
The osemu log says:
reading key file: /storage/.kodi/userdata/Scripts/osemu/SoftCam.Key
[Emu] info: FFDecsa parallel mode = 128
[Emu] stream client connected
[Emu] stream client disconnected
[Emu] stream client connected
[Emu] stream client disconnected
[Emu] stream client connected
PS:
I had to adopt the automux script because of stripped down bash in the Openelec which doesn't recognize the $(services:0:-81) construct.
Here it is:
-----------------
#!/bin/bash
# you must have installed jq (apt-get install jq)
############### BEGIN CONFIG ###################
tvh_data_path="/storage/.kodi/userdata/addon_data/service.multimedia.tvheadend"
OSEmu="192.168.1.30:17999"
profile="PowerVU"
userpass="PowerVU:PowerVU"
jq="/storage/.kodi/userdata/Scripts/bin/jq"
############### END CONFIG ###################
echo \#EXTM3U
grep -rnwl $tvh_data_path'/input/dvb/networks' -e '\"caid\": 3584' | while read -r services
do
enabled=$($jq -c '.enabled' $services)
if [ "$enabled" = "true" ]
then
s81=`echo $services | awk '{print substr($0,1,length($0)-81)}'`
s42=`echo $services | awk '{print substr($0,1,length($0)-42)}'`
echo \#EXTINF:-1, $($jq -c -r '.networkname' ${s81}/config)/$($jq -c -r '.frequency/1000' ${s42}/config)$($jq -c -r '.polarisation' ${s42}/config)/$($jq -c -r '.svcname' $services)
echo http://$userpass@$OSEmu/stream/service/$(basename "$services")\?profile=$profile\&descramble=0\&emm=1
fi
exit
done
Thank you again for writing this howto.
I hope to get some hints to be able make some progress