It seems that in the latest TVheadend the configuration data in
hts/.hts/tvheadend/input/dvb/networks
Is now compress! This make the Old scripts for creating VLC playlist failed.
For example you can
#!/bin/bash
# you must have installed jq (apt-get install jq)
############### BEGIN CONFIG ###################
tvh_data_path="/home/hts/.hts"
OSEmu="192.168.1.10:17999"
profile="PowerVU"
userpass="pvu:pvu"
############### END CONFIG ###################
echo \#EXTM3U
grep -rnwl $tvh_data_path'/tvheadend/input/dvb/networks' -e '\"caid\": 3584' | while read -r services
do
enabled=$(/usr/bin/jq -c '.enabled' $services)
sid_dec=$(/usr/bin/jq -c '.sid' $services)
sid=$(printf '%x' $sid_dec)
desc=$(/usr/bin/jq -c -r '.networkname' ${services:0:-81}/config)/$(/usr/bin/jq -c -r '.frequency/1000' ${services:0:-42}/config)$(/usr/bin/jq -c -r '.polarisation' ${services:0:-42}/config)/$(/usr/bin/jq -c -r '.svcname' $services)
if [ "$enabled" = "true" ]
then
echo \#EXTINF:-1, $desc
echo http://$userpass@$OSEmu/stream/service/$(basename "$services")\?profile=$profile\&descramble=0\&emm=1:0:0:$sid
fi
done
Can somebody tell me what compression method/library is been used so that we can update the scripts. Thanks.