Project

General

Profile

Not getting much in the EPG, wrong setup?

Added by Billy Reynolds about 13 years ago

Hey guys, me again :p

Still trying to get my XBMC-PVR/TVHeadend completed. I seem to be getting the TV ok but the EPG/Channel Info doesn't seem to show up much...

Also if I update the XML-TV source in the tvheadend gui to the UK Radio Times (or bleb.org for that matter) I get the following :

Oct 19 23:55:42 xmltv: Grabbing "United Kingdom/Republic of Ireland (Radio Times)" using command "/usr/bin/tv_grab_uk_rt"
Oct 19 23:55:43 xmltv: No output from "/usr/bin/tv_grab_uk_rt"

Does that mean it's failed?

I've already run the configuration on the server with the following options :

reynet-server@reynet-server:~$ /usr/bin/tv_grab_uk_rt --configure
Select which output format to use
Encoding:

0: UTF-8 (Unicode)
1: ISO-8859-1 (Latin-1)
Select one: [0,1 (default=0)] 0

tv_grab_uk_rt uses a cache with files that it has already downloaded. Please specify where the cache shall be stored.

Enter the directory to store the listings cache in: [/home/reynet-server/.xmltv/cache] (Pressed enter for default, is this right?)

In a bid to provide more consistent listings data, tv_grab_uk_rt can further process programme and episode titles.

Enable title processing?:
0: Enable title processing
1: Disable title processing
Select one: [0,1 (default=0)] 0

tv_grab_uk_rt can use the first part of your postcode in order to determine which regional channels to display during configuration. Republic of Ireland users should enter the pseudo-postcode "EIRE". Entering "none" will disable this feature.

Enter the first part of your postcode: [none] EH54

When choosing which channels to download listings for, tv_grab_uk_rt can show only those channels available on your TV platform.

Select which TV platform you use:
0: None of these, I'll choose my channels
1: Freeview
2: Sky Digital
3: VirginMedia TV
4: FreeSat
5: FreeSat from Sky
6: Analogue

Select one: [0,1,2,3,4,5,6 (default=0)] 5

Retrieving channels: 100% [==========================================]D 0h00m00s

The Radio Times has usable data available for 354 channels which we
can use to generate TV listings for regular and some timeshifted
channels. The tv_grab_uk_rt software also has support for an additional
65 timeshifted, 4 part-time, and 2 part-time timeshifted channels
based on the Radio Times data.

In total, tv_grab_uk_rt currently supports 454 channels.

Select the channels that you want to receive data for.

5* [yes,no,all,none (default=no)] all
5* +1 yes
5USA yes
5USA +1 yes
Al Jazeera English yes
BBC Alba yes
BBC Four yes
BBC HD yes
BBC News yes
BBC One England yes
BBC One HD yes
BBC One Scotland yes
BBC Parliament yes
BBC Sport Interactive: BBC1 yes
BBC Sport Interactive: BBC2 yes
BBC Sport Interactive: BBC3 yes
BBC Three yes
BBC Two Scotland yes
bid tv yes
Bliss yes
Bloomberg Television yes
CBBC yes
CBeebies yes
CBS Reality yes
CBS Reality +1 yes
Channel 4 yes
Channel 4 +1 yes
Channel 5 yes
CITV yes
CNN International yes
Community Channel [Satellite/Cable] yes
Dance Nation TV yes
E4 yes
E4 +1 yes
Euronews yes
Film4 yes
Film4 +1 yes
Gems TV yes
God Channel yes
Horror Channel yes
Horror Channel +1 yes
Ideal World yes
ITV2 yes
ITV2 +1 yes
ITV3 yes
ITV3 +1 yes
ITV4 yes
More4 yes
More4 +1 yes
Movies4Men yes
Movies4Men +1 yes
Movies4Men 2 +1 yes
Phoenix CNE yes
Pick TV yes
price-drop tv yes
QVC yes
Scuzz yes
Sky News yes
STV Central yes
Travel Channel yes
Travel Channel +1 yes
True Movies 1 yes
True Movies 2 yes
reynet-server@reynet-server:~$ *

Does that all seem right to you guys? If so, why am I only getting a couple of entried in my timeline on my EPG?


Replies (10)

RE: Not getting much in the EPG, wrong setup? - Added by Hein Rigolo about 13 years ago

Tvheadend runs the XML grabber under the same user account that is used to run tvheadend. So in most cases that is hts.
So if you configure your grabber, make sure you do that while being loged on as the hts user.

(or copy all the details under .xmltv in your home directory to the .xmltv directory of the hts user (look at the permissions/ownership)

Hein

RE: Not getting much in the EPG, wrong setup? - Added by Billy Reynolds about 13 years ago

So when I run the setup in the console I should really have the following? :

tv_grab_uk_rt uses a cache with files that it has already downloaded. Please specify where the cache shall be stored.
Enter the directory to store the listings cache in: [/home/reynet-server/.xmltv/cache] /home/hts/.xmltv/cache

RE: Not getting much in the EPG, wrong setup? - Added by Hein Rigolo about 13 years ago

No, you should first login as the hts user and then run the grabber to configure it. Now you have configured it under your own user, but tvheadend is using the hts user.

RE: Not getting much in the EPG, wrong setup? - Added by Billy Reynolds about 13 years ago

Hmm, that's gonna be difficult lol, I've got it installed on Ubuntu Server with no monitor, guess I'm gonna have to get vnc installed to let me access the login screen too.

Thanks anyway, looks like this'll be a long job.

What's the password for the hts user too? is it hts or would I have configured it in setting up tvheadend?

I also tried this in console, which I would've presumed would fix all the permissions, no?

reynet-server@reynet-server:/home/hts$ sudo chown -R hts:hts .xmltv

RE: Not getting much in the EPG, wrong setup? - Added by Hein Rigolo about 13 years ago

If you have access to the console it is enough. Just use sudo to su into the hts user. Then you are logged on as the hts user and you can configure the grabber. No need for vnc etc. Ssh access to a console is enough.

RE: Not getting much in the EPG, wrong setup? - Added by Billy Reynolds about 13 years ago

What's the password for the hts account? I tried "hts" and my own password I would've used but neither let me in, I'm using putty.

login as: hts
's password:
Access denied
's password:
Access denied
's password:

RE: Not getting much in the EPG, wrong setup? - Added by Billy Reynolds about 13 years ago

K, Just read the download page :

http://www.lonelycoder.com/hts/tvheadend_download.html

and it states :

If you need to change the username and/or password you can reconfigure the package. From a command line, execute:

sudo dpkg-reconfigure hts-tvheadend

So I'm guessing I should just do that and then login with putty :)

Hmmm....not good...got this when I tried...

root@reynet-server:~# sudo dpkg-reconfigure hts-tvheadend
/usr/sbin/dpkg-reconfigure: hts-tvheadend is broken or not fully installed.

OK, Changed it to "tvheadend" instead of "hts-tvheadend", seemed to be ok

RE: Not getting much in the EPG, wrong setup? - Added by Hein Rigolo about 13 years ago

Use putty to login as you normally do on that server using your normal username and password. Once there use sudo su - hts to switch to the hts user. You can check if you are really the hts user by typing whoami. That should say hts.

Once there you can configure the grabber just like you did before.

No need to do a dpkg-reconfigure because that only deals with the tvheadend webgui user, not the ubuntu user hts.

Hein

RE: Not getting much in the EPG, wrong setup? - Added by Billy Reynolds about 13 years ago

Ah right, thanks again dude, sorry to be so dumb ;)

So this is what transpired :) ....

login as: reynet-server
's password:
Welcome to Ubuntu 11.04 (GNU/Linux 2.6.38-11-server x86_64)

System information as of Thu Oct 20 21:48:40 BST 2011
System load:    1.02               Processes:           184
Usage of /home: 20.5% of 27.50GB Users logged in: 1
Memory usage: 49% IP address for eth0: 192.168.1.2
Swap usage: 0%
=> There is 1 zombie process.
Graph this data and manage this system at https://landscape.canonical.com/
  • /dev/sdb1 will be checked for errors at next reboot ***
  • /dev/sdc1 will be checked for errors at next reboot ***
  • /dev/sdd1 will be checked for errors at next reboot ***

Last login: Thu Oct 20 21:44:56 2011 from 192.168.1.20
reynet-server@reynet-server:~$ sudo su - hts
[sudo] password for reynet-server:
hts@reynet-server:~$ whoami
hts
hts@reynet-server:~$ /usr/bin/tv_grab_uk_rt --configure
Select which output format to use
Encoding:
0: UTF-8 (Unicode)
1: ISO-8859-1 (Latin-1)
Select one: [0,1 (default=0)] 0
tv_grab_uk_rt uses a cache with files that it has already downloaded. Please specify where the cache shall be stored.
Enter the directory to store the listings cache in: [/home/hts/.xmltv/cache] /home/hts/.xmltv/cache
In a bid to provide more consistent listings data, tv_grab_uk_rt can further process programme and episode titles.
Enable title processing?:
0: Enable title processing
1: Disable title processing
Select one: [0,1 (default=0)] 0
tv_grab_uk_rt can use the first part of your postcode in order to determine which regional channels to display during configuration. Republic of Ireland users should enter the pseudo-postcode "EIRE". Entering "none" will disable this feature.
Enter the first part of your postcode: [none] EH54
When choosing which channels to download listings for, tv_grab_uk_rt can show only those channels available on your TV platform.
Select which TV platform you use:
0: None of these, I'll choose my channels
1: Freeview
2: Sky Digital
3: VirginMedia TV
4: FreeSat
5: FreeSat from Sky
6: Analogue
Select one: [0,1,2,3,4,5,6 (default=0)] 5
Retrieving channels: 100% [============================================]D 0h00m00s

The Radio Times has usable data available for 354 channels which we
can use to generate TV listings for regular and some timeshifted
channels. The tv_grab_uk_rt software also has support for an additional
65 timeshifted, 4 part-time, and 2 part-time timeshifted channels
based on the Radio Times data.

In total, tv_grab_uk_rt currently supports 454 channels.

Select the channels that you want to receive data for.
5* [yes,no,all,none (default=no)] all]
invalid response, please choose one of yes,no,all,none

5* [yes,no,all,none (default=no)] all
5* +1 yes
5USA yes
5USA +1 yes
Al Jazeera English yes
BBC Alba yes
BBC Four yes
BBC HD yes
BBC News yes
BBC One England yes
BBC One HD yes
BBC One Scotland yes
BBC Parliament yes
BBC Sport Interactive: BBC1 yes
BBC Sport Interactive: BBC2 yes
BBC Sport Interactive: BBC3 yes
BBC Three yes
BBC Two Scotland yes
bid tv yes
Bliss yes
Bloomberg Television yes
CBBC yes
CBeebies yes
CBS Reality yes
CBS Reality +1 yes
Channel 4 yes
Channel 4 +1 yes
Channel 5 yes
CITV yes
CNN International yes
Community Channel [Satellite/Cable] yes
Dance Nation TV yes
E4 yes
E4 +1 yes
Euronews yes
Film4 yes
Film4 +1 yes
Gems TV yes
God Channel yes
Horror Channel yes
Horror Channel +1 yes
Ideal World yes
ITV2 yes
ITV2 +1 yes
ITV3 yes
ITV3 +1 yes
ITV4 yes
More4 yes
More4 +1 yes
Movies4Men yes
Movies4Men +1 yes
Movies4Men 2 +1 yes
Phoenix CNE yes
Pick TV yes
price-drop tv yes
QVC yes
Scuzz yes
Sky News yes
STV Central yes
Travel Channel yes
Travel Channel +1 yes
True Movies 1 yes
True Movies 2 yes
hts@reynet-server:~$

So, I should be good to go now? Thanks for all the help again dude :)

RE: Not getting much in the EPG, wrong setup? - Added by Billy Reynolds about 13 years ago

Seems to have worked, I've got a lot more entries in the EPG :

Thanks for all the help again dude!!

    (1-10/10)