2018-08-29, 19:19
\im running ubuntu 18.04 and the latest stable tvheadend release doesn't work with ota sky uk tv data. can anyone tell me how to downgrade to an older version?
$ apt-cache policy tvheadend
tvheadend:
Installed: 4.3-1292~g9b9ee68~xenial
Candidate: 4.3-1292~g9b9ee68~xenial
Version table:
*** 4.3-1292~g9b9ee68~xenial 500
500 https://dl.bintray.com/tvheadend/deb xenial/unstable amd64 Packages
100 /var/lib/dpkg/status
4.3-1288~g66d6161~xenial 500
500 https://dl.bintray.com/tvheadend/deb xenial/unstable amd64 Packages
4.0.9-16~g63c1034~xenial 500
500 https://dl.bintray.com/tvheadend/deb xenial/stable amd64 Packages
sudo apt-get install tvheadend=4.0.9-16~g63c1034~xenial
sudo apt-get purge tvheadend
(2018-08-29, 19:19)Davidsilva Wrote: \im running ubuntu 18.04 and the latest stable tvheadend release doesn't work with ota sky uk tv data. can anyone tell me how to downgrade to an older version?Could I ask what issues you have been having with the Sky OTA grabber, please?
#!/bin/bash
echo "************************************************************"
echo " *"
echo " Starting xml tv-data update *"
echo "===========================================++++++++++++====="
wget -r -O /home/xbmc/scripts/raw_guide.xml http://epg.koditvepg2.com/GB/guide.xml
echo
echo "wget completed"
echo
python /home/xbmc/scripts/guideiconfix.py
echo "Guide data ready"
#!/usr/bin/python
# -*- coding: utf-8 -*-
with open( '/home/xbmc/scripts/raw_guide.xml' ) as guide_input:
with open ( '/home/xbmc/scripts/guide.xml', "w" ) as guide_output:
for line in guide_input:
if '<icon src=' not in line:
guide_output.write( line )
else:
first_marker = line.find( '|')
new_line = line[:first_marker]
if '" />' in new_line:
guide_output.write ( new_line + '\n' )
else:
new_line = new_line + '" />\n'
guide_output.write ( new_line )
15 02 * * * /home/xbmc/scripts/update_tv_xml_data.sh