Forums » Tutorial and setups »
No Live TV on WebUI or XBMC
Added by Juergen Gallus almost 11 years ago
Hi there,
I use a Raspberry Pi with Raspbian runnung Tvheadend. Installation and configuration of the Technisat USB HD adapter is done.
I got a lot of muxes and find all Services (Channels) from Astra19,2E.
But I can´t watch TV. Not direct on the WebUi, not on my iPad using XBMC.
If I klick on the "Play" link the VLC plugin opens but nothing happend. Only black screen and no sound. On the XBMC I got all mapped services on LiveTV. Whenn I try to start one I got on the rightlower corner a info message : Tvheadend HTPS Client No service enabled
Call me a noob but I searching the web for thousends of houres for a solution.
Thanks for any help.........
Juergen
Replies (11)
RE: No Live TV on WebUI or XBMC - Added by Prof Yaffle almost 11 years ago
First guess: what have you got defined in access control? (Configuration -> Access Control). You either need to be logged in as a user with streaming privileges or have a default user (IP range) that has these so doesn't need login.
I'd suggest we try to get you running a web browser initially, then spiral back out to XBMC - we can eliminate the addon and XBMC version that way.
RE: No Live TV on WebUI or XBMC - Added by Juergen Gallus almost 11 years ago
Hi Prof Yaffle,
for acces from xbmc I configured a user like the attached picture. On teh WebUI i logged in with the Admin previleges as configured during setup.
Its necessary to enter any values in "Prefix" ?
Thnaks
Juergen
RE: No Live TV on WebUI or XBMC - Added by Prof Yaffle almost 11 years ago
Shouldn't be - but you've some stray punctuation in there which might affect things. Change it to 0.0.0.0/0 just in case.
RE: No Live TV on WebUI or XBMC - Added by Prof Yaffle almost 11 years ago
Also... can you stream in the VLC plugin in the web interface? Config -> Channel/EPG, Play. Should pop up a plugin dialogue - if nothing immediately plays, select a channel from the dropdown.
Re: access control, I think you should have a webUI user entry for any admin user. If you created (e.g.) xbmc/xbmc or hts/hts or user/password during setup, they should appear on this list. If they don't (and they don't), then no-one has admin rights to the web interface, which won't help, but you can create one the hard way:
(Assuming from here you're not on master/3.9 something - I don't have that installed).
If you can't do it in the web interface now, drop to a command line and navigate to the tvheadend config directory (e.g. /users/hts/.hts/tvheadend) and cd to accesscontrol. In here, you'll find text files named 1, 2, 3... - one per rule. You'll probably only have 1.
vi 2
{
"enabled": 1,
"username": "tvh",
"password": "tvh",
"comment": "New entry",
"prefix": "0.0.0.0/0",
"streaming": 1,
"dvr": 1,
"dvrallcfg": 1,
"webui": 1,
"admin": 1,
"id": "2"
}
Save, quit, restart tvheadend and you'll get a privileged user in the web interface (with a really simple password and complete access from everywhere - be aware).
RE: No Live TV on WebUI or XBMC - Added by Juergen Gallus almost 11 years ago
Hi,
Streaming:
now I changed the prefix to 0.0.0.0/0 saved and restarted the raspberry pi. No change.
I can´t stream to the vlc plugin. If I selct "Play" the vlc plugin opens the window. Now I can select every channel but no video/audio ist available. The window stay black as shown in the attached picture.
Access:
When I clear the browser history and go to the tvheadend GUI (192.168.178.21:9981) I´m prompted to enter username and password. If I enter the admin acoount that is created during setup I can get acces and I can see the configuration tab. If I log in with the user acoount only, the configuration tab is not available.
The Version is 3.4
Thanks
Juergen
RE: No Live TV on WebUI or XBMC - Added by Juergen Gallus almost 11 years ago
The System log shows these when I try to stream to the WebUI:
Jan 30 14:11:43.229 HTTP: 192.168.178.29: /playlist/channelid/73 -- 401
Jan 30 14:11:43.250 HTTP: 192.168.178.29: /playlist/channelid/73 -- 401
Jan 30 14:11:45.401 HTTP: 192.168.178.29: /stream/channelid/73 -- 401
Jan 30 14:11:45.417 HTTP: 192.168.178.29: /stream/channelid/73 -- 401
XBMC:
Jan 30 14:28:18.127 htsp: Got connection from 192.168.178.57
Jan 30 14:28:18.129 htsp: 192.168.178.57: Welcomed client software: XBMC Media Center (HTSPv8)
Jan 30 14:28:18.137 htsp: 192.168.178.57 [ XBMC Media Center ]: Identified as user tv
Jan 30 14:28:18.138 htsp: 192.168.178.57 [ tv | XBMC Media Center ]: Privileges raised
Jan 30 14:28:54.174 Service: Subscription "192.168.178.57 [ tv | XBMC Media Center ]": Skipping "Technisat SkyStar USB HD (DVB-S/S2)/: 11,347,000 kHz Vertical (Default (Port 0, Universal LNB))/3 SAT HD" -- not enabled
Jan 30 14:28:54.177 subscription: No transponder available for subscription "192.168.178.57 [ tv | XBMC Media Center ]" to channel "3 SAT HD"
RE: No Live TV on WebUI or XBMC - Added by Prof Yaffle almost 11 years ago
"not enabled"... that normally means just as it says. Can you double-check that the adapter is enabled, that the muxes are enabled and that the channels are enabled, please.
Also - and I don't know how this works on Raspbian - but 'ubutu has a habit of moving tuners around on a reboot unless they're nailed in place. So your /dev/dvb/adapter0 may not be valid any more if the tuenr has appeared somewhere else - less likely if you've just got the one, though.
After that, you're into checking syslog/dmesg to see if firmware has loaded properly.
Other thought... the 401 still suggests an authorisation issue. Try stopping tvheadend and restarting with -C (keep the rest of the command line the same, e.g. daemon, fork, -u/-g, etc.) to turn off all authentication. I don't know how you're starting tvheadend, that said, so does the tvheadend process actually have access to the tuners?
RE: No Live TV on WebUI or XBMC - Added by Juergen Gallus almost 11 years ago
Hi,
The command "dmesg" shows that the Technisat USb HD adapter ist found and the firmware ist sucessfilly installed.
I think that the adapter ist currently enabled and valid. Otherwise I can´t get any Muxes and Services. I has also enabled the Services and set Channel Numbers. On XBMC I can see all enabled and mapped services/channels. And only the channels that I has enebled
Tvheadend starts automaticly when the raspberry ist connected to power. This was happend direct after I installed tvheadend on Rasbian Linux. Nothings changed.
I don´t know why I get a 401 error in the log. I configured a admin user during installation. With this login I has created a user for acces from network with all permissions except the admin checkbox tagged.
Meanwhile I tried another browser, computer and an iphone. Same problem with different messages. But 401 is steady present.
I think youre right with the authorisation issue. But as a linux noob I don´t know how to start or stop tvheadend on a terminal. I has ssh connection via putty from my windows computer and can log in to the raspberry. Is there a skript or something else like "autostart this program at bootup" and are there arguments that has to be attached to the command?
Thanks for assistance this noob......:-)
Juergen
RE: No Live TV on WebUI or XBMC - Added by Prof Yaffle almost 11 years ago
Sadly, I'm lower than a noob when it comes to Debian... I'm a 'buntu man, and while they're close relatives, they're not the same. So see if this helps, but it may be useless!
On Ubuntu, you can use sudo service to start/stop/restart tvheadend... maybe the same holds true on Raspbian. So I could stop tvheadend with this and then restart it from the command line with different options.
I can't test it for you as I'd break my live system while it's being used, but try this...
If you do a ps -eaf | grep tvheadend first, you'll see the command line for tvheadend, and you can then run the equivalent from the command line, e.g.
$ ps -eaf | grep tvheadend hts 1933 1 5 Jan30 ? 02:52:00 tvheadend -f -u hts -g video ian 4999 4893 0 16:28 pts/4 00:00:00 grep --color=auto tvheadend $ sudo service tvheadend stop $ sudo tvheadend -f -u hts -g video -C
The ps tell me that it's currently running as a daemon: the -f tells the process to fork into the background. It's also running as user hts (-u) and group video (-g).
If you need to do some testing and make this -C work on reboot, the key elements are the upstart job in /etc/init - there's a file called tvheadend.conf that physically starts the tvheadend process. But that in turn looks at a config file, /etc/default/tvheadend. The last line of this allows you to set specific command-line arguments, e.g. TVH_ARGS="-C"
By all means, have a play around and post some results back here, and I'll see if I can help!
RE: No Live TV on WebUI or XBMC - Added by Gary Brown almost 11 years ago
What is the channels your trying to access? do you have a card to access pay for channels if so how is this connected in?
RE: No Live TV on WebUI or XBMC - Added by Juergen Gallus almost 11 years ago
Sorry for no news. My girlfriend is not amused when I "paying" with the TV. So I had to wait until she´s shopping or somethinge else. :-)
@Gary : No PayTV channels. I try to access serveral Free TV channels from Germany. With every the same result.
Thanks for help...
Jürgen