Project

General

Profile

I'm trying but I can't in no way: setting epg

Added by Davide Composto about 7 years ago

Hello. I need again your help.
Before explaine problem, I clarify that I'm trying to do what the guides explain:
http://docs.tvheadend.org/webui/epg/
http://docs.tvheadend.org/webui/config_epggrab
My intent was to use internal grabber, so I installed utility for ubuntu. Then I configured tv_grab_it like explains this guide http://wiki.xmltv.org/index.php/HowtoUseGrabbers. then I restart sistem (ubuntu server) and I can see the news internal grabbers (it uk etc) but i can't (or probably i don't know do it) how can set this epg to already existing channels. In the guide I posted up, after enable tv_grab_it (in my case) should be appeared something in the Epg Grabber's tab, instead I can see only just two option: internal Default 4/12** and to air....maybe i'm missing some passages...maybe it's just simple solution...i hope. thanks


Replies (17)

RE: I'm trying but I can't in no way: setting epg - Added by K Shea about 7 years ago

I'm in the USA so can't help much but I will note that once Tvheadend has grabbed listings for the first time, then you have to go to the Channels tab and assign an EPG source to each channel that you can receive, but refresh the web page first or it probably won't show any EPG sources. After you have mapped all the channels you can receive to EPG sources, then the next time the grabber runs it will populate the program guide. Of course, this assumes that the grabber is receiving valid EPG data when you run it.

Also, if you are saying you had to install a grabber script rather than use one of the ones supplied with Tvheadend, make sure the owner/group is correct (I think those should be root) and that it's readable and executable by everyone. Someone can correct me if I am wrong about that, but it should have the same permissions and ownership as the grabbers that come with Tvheadend. After installing the script you may need to reboot, or restart Tvheadend before it will find it.

Also in 4.2 or newer check all the tabs that start with EPG, sometimes it still tries to still use the wrong grabber and you will need to fix that, and also in the Channels tab make sure "Use EPG running state" is set to Enabled for all channels you have guide data for.

RE: I'm trying but I can't in no way: setting epg - Added by Robert Cameron about 7 years ago

Most of the grabbers from the xmltv-utils need to be configured outside of Tvheadend before they can be used for your EPG.

In general, the steps are:
  1. Login to a console as the user that Tvheadend runs as. (System user, not the user in the interface)
  2. Run your grabber with the --configure option to set it up. (I.e, tv_grab_zz_sdjson --configure)
  3. Back in the Tvheadend WebUI, go to the EPG Grabber Module tab and enable the grabber you just configured
  4. Click the button in the toolbar to re-run the grabber modules
  5. After the grabber completes its run, Tvheadend will populate the EPG Grabber Channels tab with the channels from the XMLTV
  6. Now, map each EPG Grabber Channel to a Channel that contains Services
  7. After you have mapped all of your Channels to an EPG source, go back to the EPG Grabber Modules tab and re-run the grabber again. (The re-run is necessary, as the first one only pulled in the Channel names, not the guide info. Tvheadend will only add items to its EPG for channels that have an EPG source, even if the grabber is pulling in information for other channels that aren't mapped.)

After that, your EPG should now be filled with entries for the channels you mapped.

RE: I'm trying but I can't in no way: setting epg - Added by Davide Composto about 7 years ago

Also: thanks for firsth and sorry for my bad english. I followed your step by step guide and arrived to 5 point. Rerun button doesn't generate (apparently) any reaction in server ubuntu. So I'm trying to do manually in ubuntu-server "/usr/bin/tv_grab_it (already i'm configured it) and STARTS the download of epg channels (always in ubuntu); at this i get, the problem for me is that i can't see any epg in tvh webui despite The Grabber Module is visible and enable: internal xmltv: Italy....so after the actual download of epg (from console ubuntu) i'll try to get sudo service tvheadend restart....and i hope that it will function...

RE: I'm trying but I can't in no way: setting epg - Added by Davide Composto about 7 years ago

Nothing, nothing and nothing. I don't know where I am wrong, i repeat:
  • I create an automatic iptv network
  • maps all channels
  • all function
  • i confingure epg: tv_grab_it --configure
  • i push the button re-run internal grabber (tough nothing happens)
  • i get to the terminal: tv_grab_it and starts download of epg
  • i restart tvheadend (terminal: sudo tvheadend restart tvheadend)
  • i go to the webui tvheadend but i cant'see any epg in: Electronic program guide tab, Epg grabber channels tab, Epg Grabber tab (it shows default option: Internal Grabber-->Cron multiline and Over the air grabbers
  • in Epg Grabber Modules i can see every grabber i installed with xmlt-util, and between these there is Internal: XMLTV Italy-->enabled,priority 1, path usr/bin/tv_grab_it
  • no longer knowing what to do, i go to the Channel tab, i selected all channel, I edited them-->Advanced setting-->Automatically map epg source-->ENABLED, EPG SOURCE-->i can't select anyone (in the drop down menù there aren't any available), then -->Expert Setting-->use epg running state (i dont' know what is this)
    Where I'm wrong? It should be simple but are twno days that I try without getting anything...
    I thought that i missing a passage into "tv_grab_configure"....i'm looking for something

RE: I'm trying but I can't in no way: setting epg - Added by Mark Clarkstone about 7 years ago

Davide Composto wrote:

Nothing, nothing and nothing. I don't know where I am wrong, i repeat:
  • I create an automatic iptv network
  • maps all channels
  • all function
  • i confingure epg: tv_grab_it --configure
  • i push the button re-run internal grabber (tough nothing happens)
  • i get to the terminal: tv_grab_it and starts download of epg
  • i restart tvheadend (terminal: sudo tvheadend restart tvheadend)
  • i go to the webui tvheadend but i cant'see any epg in: Electronic program guide tab, Epg grabber channels tab, Epg Grabber tab (it shows default option: Internal Grabber-->Cron multiline and Over the air grabbers
  • in Epg Grabber Modules i can see every grabber i installed with xmlt-util, and between these there is Internal: XMLTV Italy-->enabled,priority 1, path usr/bin/tv_grab_it
  • no longer knowing what to do, i go to the Channel tab, i selected all channel, I edited them-->Advanced setting-->Automatically map epg source-->ENABLED, EPG SOURCE-->i can't select anyone (in the drop down menù there aren't any available), then -->Expert Setting-->use epg running state (i dont' know what is this)
    Where I'm wrong? It should be simple but are twno days that I try without getting anything...
    I thought that i missing a passage into "tv_grab_configure"....i'm looking for something

When you re-run the grabber open the log at the bottom of the webui & paste the result here using the pre tags, removing anything like usernames, passwords, unique URLs etc.

 <pre>My content</pre>

RE: I'm trying but I can't in no way: setting epg - Added by Davide Composto about 7 years ago

I don't nkow what are "unique URLs", i controlled the log and i can't find nothing of private or unique...So:

2017-09-17 17:08:55.000 xmltv: /usr/bin/tv_grab_it: grab /usr/bin/tv_grab_it

2017-09-17 17:08:55.015 spawn: Executing "/usr/bin/tv_grab_it" 

2017-09-17 17:08:56.672 spawn: using config filename /home/hts/.xmltv/tv_grab_it.conf

2017-09-17 17:08:59.295 spawn: getting list of channels: ######***Channel |Sky Cinema Uno HD| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:08:59.297 spawn: ***Channel |Sky Cinema 007 HD| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:08:59.302 spawn: ***Channel |Sky Cinema Max Collection HD| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:08:59.460 spawn: ***Channel |Discovery +1| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:08:59.466 spawn: ***Channel |Dove| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:03.671 spawn: ***Channel |Sky Sport Mix HD| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:03.678 spawn: ***Channel |Juventus TV| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:03.678 spawn: ***Channel |Roma TV| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:03.679 spawn: ***Channel |Bike Channel HD| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:03.682 spawn: ***Channel |Sportitalia| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:03.682 spawn: ***Channel |Rai Sport| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:03.683 spawn: ***Channel |Milan TV HD| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:03.684 spawn: ***Channel |Torino Channel| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:04.863 spawn: ***Channel |Reteconomy| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:04.863 spawn: ***Channel |TRM h24| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:04.870 spawn: ***Channel |RT Doc HD| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:09.003 spawn: ***Channel |Nick Jr +1| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:09.005 spawn: ***Channel |Nickelodeon +1| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:09.006 spawn: ***Channel |Cartoon Network HD| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:09.008 spawn: ***Channel |Boomerang +1| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:09.015 spawn: ***Channel |TeenNick| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:15.288 spawn: ***Channel |Sky Uno +1 HD| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:15.290 spawn: ***Channel |Sky Atlantic +1 HD| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:15.293 spawn: ***Channel |CI Crime+ Investigation HD| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:15.294 spawn: ***Channel |Blaze HD| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:15.295 spawn: ***Channel |TV8| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:15.301 spawn: ***Channel |DMAX HD| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:15.303 spawn: ***Channel |Fox Crime +2| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:15.304 spawn: ***Channel |NOVE HD| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:15.306 spawn: ***Channel |Deejay TVNOVE| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:15.309 spawn: ***Channel |Sky UnoHD| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:16.442 spawn: ***Channel |Primafila 5 HD| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:16.444 spawn: ***Channel |Primafila 9 HD| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:16.445 spawn: ***Channel |Primafila 11 HD| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:16.446 spawn: ***Channel |Primafila 13 HD| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:19.630 spawn: ***Channel |TV8 DTT| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:19.631 spawn: ***Channel |NOVE DTT| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:19.632 spawn: ***Channel |Rai 4 DTT| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:19.640 spawn: ***Channel |GIALLO DTT| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:19.645 spawn: ***Channel |Sky Tg24 DTT2| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:19.646 spawn: ***Channel |DMAX DTT| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:19.647 spawn: ***Channel |Focus DTT| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:19.647 spawn: ***Channel |Rai Sport DTT| for 'skylife' is not in channel_ids, should be updated.

2017-09-17 17:09:28.357 spawn: ############***Channel |Premium Sport 2| for 'mediaset_guidatv' is not in channel_ids, should be updated.

2017-09-17 17:09:28.358 spawn: ***Channel |Premium Stories| for 'mediaset_guidatv' is not in channel_ids, should be updated.

2017-09-17 17:09:28.358 spawn: ***Channel |Premium Cinema HD| for 'mediaset_guidatv' is not in channel_ids, should be updated.

2017-09-17 17:09:28.358 spawn: ***Channel |Premium Cinema Energy HD| for 'mediaset_guidatv' is not in channel_ids, should be updated.

2017-09-17 17:09:28.361 spawn: ***Channel |Premium Action HD| for 'mediaset_guidatv' is not in channel_ids, should be updated.

2017-09-17 17:09:28.363 spawn: ***Channel |Premium Crime HD| for 'mediaset_guidatv' is not in channel_ids, should be updated.

2017-09-17 17:09:28.423 spawn: ################################

2017-09-17 17:09:28.425 spawn: config file /home/hts/.xmltv/tv_grab_it.conf does not exist, run me with --configure

2017-09-17 17:09:28.437 xmltv: /usr/bin/tv_grab_it: grab took 33 seconds

2017-09-17 17:09:28.437 xmltv: /usr/bin/tv_grab_it: parse took 0 seconds

2017-09-17 17:09:28.437 xmltv: /usr/bin/tv_grab_it:  channels   tot=    0 new=    0 mod=    0

2017-09-17 17:09:28.437 xmltv: /usr/bin/tv_grab_it:  brands     tot=    0 new=    0 mod=    0

2017-09-17 17:09:28.437 xmltv: /usr/bin/tv_grab_it:  seasons    tot=    0 new=    0 mod=    0

2017-09-17 17:09:28.437 xmltv: /usr/bin/tv_grab_it:  episodes   tot=    0 new=    0 mod=    0

2017-09-17 17:09:28.437 xmltv: /usr/bin/tv_grab_it:  broadcasts tot=    0 new=    0 mod=    0

RE: I'm trying but I can't in no way: setting epg - Added by Mark Clarkstone about 7 years ago

Run this (copy/paste it).

sudo -u hts bash -c "cd ~;/usr/bin/tv_grab_it --configure"

make sure you see:

using config filename /home/hts/.xmltv/tv_grab_it.conf

If you see this (note the username difference after /home/) something hasn't worked:

using config filename /home/<your current user here>/.xmltv/tv_grab_it.conf

Hope this helps.

RE: I'm trying but I can't in no way: setting epg - Added by Davide Composto about 7 years ago

nothing, it says "cannot write in the *path" now i'm trying to uninstall xmltv util and reinstall and repeate the passages
edit: sorry in the *directory
really i don't understand how i have to "translate" for my need this string available on howtousegrabber in xmltv.org

"tv_grab_au --configure --config-file /home/myuser/.myapp/tv_grab_au.conf"

RE: I'm trying but I can't in no way: setting epg - Added by Mark Clarkstone about 7 years ago

Davide Composto wrote:

nothing, it says "cannot write in the *path" now i'm trying to uninstall xmltv util and reinstall and repeate the passages
edit: sorry in the *directory
really i don't understand how i have to "translate" for my need this string available on howtousegrabber in xmltv.org

"tv_grab_au --configure --config-file /home/myuser/.myapp/tv_grab_au.conf"

What OS/system is this? Are you running Ubuntu/Debian or something like Libre/Open ELEC?

RE: I'm trying but I can't in no way: setting epg - Added by Davide Composto about 7 years ago

ahah no it's ubuntu server...i tought to try with web grab...maybe i will be more lucky....:D

i don't understand why I installed tv_grab_it.conf in /myuser/.xmltv/ and also after reinstall the logs of tvh says to me "config file /home/hts/.xmltv/tv_grab_it.conf does not exist, run me with --configure"...baah??!!

RE: I'm trying but I can't in no way: setting epg - Added by Robert Cameron about 7 years ago

Since I sometimes run other things media-related, I often make my Tvheadend user a login user. Try this from a command line:

sudo usermod -s /bin/bash hts
sudo passwd hts
su - hts
tv_grab_it --configure --config-file ~/.xmltv/tv_grab_it.conf

The place it prompts for a password, enter one you will use for your Tvheadend user.

The above does a few things. First, it sets the login shell of the hts user; normally it doesn't have one, so you can't login as the user. Next you set a password for the user. After that, you login as the hts user, and then run the configuration of the grabber as the Tvheadend user.

After you do that, then go back the step 3 in directions I posted.

RE: I'm trying but I can't in no way: setting epg - Added by Davide Composto about 7 years ago

so, thank you for the patiency. maybe i solved: i just create an tv_grab_it.conf in the directory in wich tvh didn't find the configuration..../home/hts/.xmltv/ in the log there aren't error but some messages like (i can't fetch...", at now i can't see any epg, maybe it's need time to download...if doesn't go i'll try what @Robert suggested me

RE: I'm trying but I can't in no way: setting epg - Added by Davide Composto about 7 years ago

It's done. So very thanks for support and (how above for your patience). very slowly to download but now i can start from point 5 of guide of @Robert Cameron

RE: I'm trying but I can't in no way: setting epg - Added by Davide Composto about 7 years ago

Oops, excuse me... now the epg is setting. But I can't access to the server from my tvhclients...any device remains in State-->Uploading, two days ago i set firewall for ubuntu server. How can I probe if there something paramether that is wrong and not permetted connections? Or maybe the problems should be that from i've been setting epg, in the log of web the web grab is active uninterruptedly

RE: I'm trying but I can't in no way: setting epg - Added by Davide Composto about 7 years ago

Solved, i get restart the server. All functions apart from picons...in every channels is visible on webui an url to picons but i can't see them in tvhclient...i'll read the guides about

RE: I'm trying but I can't in no way: setting epg - Added by Davide Composto about 7 years ago

Also, reading the guide (section about picons) I think that I should point out a directory-->file in the general configuration "picon path" tough every channels has already a properly url.But I don't know wich url/file i have to set in the picon path. +Maybe the same for epg???that the "famous" tv_grab_nation? + I setted in the meantime "Prefer picons over channel name"--> yes.

RE: I'm trying but I can't in no way: setting epg - Added by Mattias Olofsson about 7 years ago

Hi Davide and everyone in this thread

I have tried to get the epg to work in TVHeadend for quiet a while now.
Very confusing and a lot of questions since i have no linux excperience what so ever.

Little strange that there is no "step by step" guide for people with NO linux ( no commands) experience)

I have come so far, so i have understood to install tv grabber in linux.

I have switched user to "hts" as if i understand right the user of TVHeadend is hts, and then i did the tv_grab_se_tvzon --config (which is the grabber i want to use, im wrong?)
But something goes wrong?? Linux system performs the grabb this i see in command window. But where it puts this grabb?? In /home/hts/.xmltv/cache???? (this is what i read in command lines)
Inside my webb interface for TVHeadend server and under Configuration/Channel/EPG/EPG Grabber modules i see my internal grabber wants to take information from /usr/bin/tv_grab_se_tvzon (this is the cache file??) i feel i dont get the information i collect in system to the TVHeadend. Can someone explain please :-)

    (1-17/17)