Project

General

Profile

Simple Example - PICON and XMLTV Epg

Added by Enrico Milan over 8 years ago

Hi at all,
I don't understand to configure correctly XMLTV (epg week xlm) and PathIcon (channels Icons) in backend.

Can you explain me to do them? Like a simple example!
I have TvHeadend 4.0.2 on OpenElec Raspberry.

PICON :
Under Configuration --> General : i don't understand to set a correct directory to set PNG files? (attachment PICON1.jpg)

On Configuration --> Channel/EPG --> Channel : I don't understand. Help me.. I confused (attachment PICON2.jpg)

Result : When I set correctly Picon files, can I see channel Icon on EPG channel detail? (attachment PICON3.jpg)

EPG XMLTV :
Under Configuration --> Channel/EPG --> EPG Grabber : I don't understand to set a job to determine week XML channels EPG (attachment EPG.jpg)
I set XMLTV external set but xmltv.socket file is empty...

Help me... I want a simple example to set and test these configurations.

Best regards.

EPG.jpg (123 KB) EPG.jpg EPG Configuration
PICON1.jpg (39.5 KB) PICON1.jpg Picon General configuration
PICON2.jpg (230 KB) PICON2.jpg Picon Channel
Picon3.jpg (44.8 KB) Picon3.jpg EPG with ICON Channel?

Replies (2)

RE: Simple Example - PICON and XMLTV Epg - Added by Enrico Milan over 8 years ago

PICON solved.

TvHeadend documentation is wrong.
http://docs.tvheadend.org/webui/config_general/

"Prefer picons over channel name : If both a picon and a channel-specific (e.g. channelname.jpg) icon are defined, use the picon.

Channel icon path : Path to an icon for this channel. This can be named however you wish, as either a local (file://) or remote (http://) image. The following placeholders are available:
Placeholder Function
%C The transliterated channel name in ASCII (safe characters, no spaces, etc. - so Das Erste HD will be Das_Erste_HD, but WDR Köln will be WDR_Koln)
%c The channel name (URL encoded ASCII)

Example: file:///tmp/icons/%C.png or http://example.com/%c.png"

... Prefer picons over channel name don't work... in EPG list channels PICON is a concatenation of : Channel number, frequence....ecc..
Channel icon path.... the guide is wrong... Example "file:///tmp/icons/%C.png"??? Without file extension work good : "file:///tmp/icons/%C".

XML is next step.

Anyone.. can you help me?

RE: Simple Example - PICON and XMLTV Epg - Added by cilin dro about 8 years ago

I never understood picons and i know is a better way than i do.

You also can use any cloud and put the download link
On Configuration --> Channel/EPG --> Channel and works perfect thats the way i do.

xmltv is triki. I spend months learning how to do.
You need download tv_grab.xmltv and edit with the path of your guide.xml. You put tv_grab.xmltv in usr/bin then edit and change permision to executable.

In my case for example i am in USA and my sat provider dont provide tv guide by air. I use zap2it is a tv guide online and use zap2xml to scrape tvguide.

for example my tvguide.xml is in home/hts/tvguide.xml
This is the way you edit tv_grab.xmltv

cat /home/hts/tvguide.xml /usr/bin/tv_grab.xmltv

you will seen tvgrab module under Configuration --> Channel/EPG --> EPG Grabber and can use.

Remember change permission to executable for tv_grab.xml.

    (1-2/2)