Project

General

Profile

tvheadend 3 and git dvb-s live TV not working on ubuntu 12.04 via web interface

Added by jody gugelhop about 12 years ago

Hi there,

I have a ubuntu 12.04 64bit machine, with tvheadend 3 and a tbs6991 twin receiver. The webinterface was not working for me when i wanted to watch TV from there. Complaining that python is missing some plugins (see here: http://ubuntuforums.org/showthread.php?p=12222051#post12222051).
However you can watch directly from VLC player not using the tvheadend web interface, but you need to know of course what channelID corresponds to what station in order to open the station you want to watch. The URL to open a stream in VLC is:
http://ip.of.tvheadend:9981/stream/channelid/NUMBER
the first part of the URL always stays the same (http://ip.of.tvheadend:9981/stream/channelid/) the NUMBER is the actual channelID, which is something internal to tvheadend. If you open a terminal and execute the following commands:

sudo su
ls -al /home/hts/.hts/tvheadend/channels | awk '{print $9}' | sed '1,3d' > temp1; cat /home/hts/.hts/tvheadend/channels/* | egrep name | awk '{print $2 $3 $4 $5 $6 $7 $8 $9}' | sed 's/\"//g' | sed 's/\,//' > temp2; paste temp1 temp2 > channelID.and.stationname | rm temp1 temp2
exit

you will get a file called "channelID.and.stationname" you can open it in any text editor. It will show you the internal channelID on the left and the corresponding stationname on the right.