←  [EN] Rytec XMLTV and EPG support

Forums

»

Polish EPG

doglover's Photo doglover 15 Oct 2010

A source file is needed:

This contains info like:

<source type="gen_xmltv" channels="http://www.xmltvepg....annels.xml.gz">
<description>Rytec Poland XMLTV</description>
<url>http://www.xmltvepg....poland.gz</url>
</source>

as you can see here the channels file is referenced via link on a webiste. This file is downloaded when needed.

I you make your own channels file you reference it like this:

<source type="gen_xmltv" channels="own.channels.xml">
<description>Own Poland XMLTV</description>
<url>http://yourref/rytec...poland.gz</url>
</source>

This file has to be located in etc/epgimport

Willy
Quote

lukeinv's Photo lukeinv 22 Oct 2010

Hi,

Could you please correct this part of ini file for me cause only first day is ok.

!----------------------------------------------------------------
htmlencoding=iso-8859-2
days=7,+1
lang=pl
schedulefiller=,-1
!!--end of parameters that apply to all channels--

!! Other Information on Main Parameters:
!summerstart=200904050200
!summerend=200909270300

!! Insert individual channel settings below this line
!---------------------------------------------------

[61]
service=REBELTV
url=http://www.stopklatka.pl/programtv/kanal.php?id=480&od=00:00
special=ignoreallformatting
extractelement=from=title,to=description,position=3,start=[:]
start=1
title=3


Thanks

lukeinv
Quote

lukeinv's Photo lukeinv 23 Oct 2010

Script below fixed my issue.

[61]

service=REBELTV
url=http://www.stopklatka.pl/programtv/kanal.php?id=480&data=[day=yyyymmdd]&od=00:00
start=1
title=4

description=5


lukeinv
Quote

lukeinv's Photo lukeinv 21 Jan 2011

Hi

Channels basing on stopklatka.pl site comes with no schedule.

for example ESKA TV uses http://www.stopklatka.pl/programtv/kanal.php?id=464&data=[day=yyyymmdd]&od=00:00 link which is opening in browser
but TVxb is giving an error:
:2011/01/21: [58] : 0 shows processed
WARNING: No shows loaded for [58]
Analyzing page to identify valid times, titles, and descriptions
Failed to understand schedule format
ERROR: Giving up on [58]


Any idea?

lukeinv
Quote

doglover's Photo doglover 21 Jan 2011

Same problem here.

Used a different website.

Willy
Quote

lukeinv's Photo lukeinv 21 Jan 2011

May I ask which one and how looks the link?

lukeinv
Quote

doglover's Photo doglover 22 Jan 2011

url=http://www.fakt.pl/programtv/index.asp?d=[day=dd-mm-yyyy]&h=0&sn=139&g=&sk=&x=24&y=12
tagtr=start=<div,end=
tagtd=start=<div,end=
start=3
title=4;5
description=7

Willy
Quote

natalka's Photo natalka 22 Jan 2011

I noticed some bugs in epg today:
NatGeo Wild HD and Animal Planet HD EPG is not in polish language
no shedule found on:
Fox HD, TVN Warszawa, Eska TV
Quote

natalka's Photo natalka 22 Jan 2011

and few more with no schedule:
TVP seriale, Discovery ID Poland, 13th street, Filmbox family, ESPN, Trace TV, Fashion TV, Mango 24, TVS
Quote

doglover's Photo doglover 22 Jan 2011

Channels have been victims to the webpage change I have been forced.

Will keep looking for alternatives.

NatGeo Wild HD and Animal Planet HD EPG is not in polish language

Yeah, I like my epg in dutch, but this is not always possible.

Willy
Quote

natalka's Photo natalka 22 Jan 2011

maybe U can try to grab schedule from main polish TV providers:
http://cyfraplus.pl/program/
http://www.cyfrowypo....pl/program-tv/
or web tv magazine:
http://www.telemagaz...m-tv/wg-stacji/
Quote

lukeinv's Photo lukeinv 22 Jan 2011

Hi Willy,

Thanks for the link below but it is for HBO HD not for ESKA TV

url=http://www.fakt.pl/programtv/index.asp?d=[day=dd-mm-yyyy]&h=0&sn=139&g=&sk=&x=24&y=12

tagtr=start=<div,end=
tagtd=start=<div,end=
start=3
title=4;5
description=7


Willy


Epg for Eska can be found here: http://www.cyfrowypo...ram-tv/eska-tv/ but for some reason I can't make tvxb to grab data from it properly.

If want you can use cyfraplus.pl site for following channels:

TVP seriale,
url=http://www.cyfraplus.pl/program/?
postdata=action=find&dmin=[day=yyyy.mm.dd]&dmax=[day=yyyy.mm.dd]&full=F&can%5B0%5D=TSE
special=ignoreallformatting
extractelement=from=title,to=subtitle,position=2,start=[(] ,end=[)]
extractelement=from=title,to=description,position=3,start=[ : ],[ - ]
extractelement=from=title,to=category,position=6,start=[Aleja gwiazd],[Premiera], end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-]
extractelement=from=title,to=director,position=4,keep,start= reż.,end=%2c
extractelement=from=title,to=actors,position=5,start= wyk.,end=[:]
start=1
title=2

Discovery ID Poland,
url=http://www.cyfraplus.pl/program/?
postdata=action=find&dmin=[day=yyyy.mm.dd]&dmax=[day=yyyy.mm.dd]&full=F&can%5B0%5D=DID
special=ignoreallformatting
extractelement=from=title,to=subtitle,position=2,start=[(] ,end=[)]
extractelement=from=title,to=description,position=3,start=[ : ],[ - ]
extractelement=from=title,to=category,position=6,start=[Hit na sobotę],[Kino nocnych marków],[Męska rzecz],[Biegi narciarskie],[Wieczorynka],[Wiesz co dobre],[Okruchy życia],[Na własne oczy],[Premiera], end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-] ,end=[-]
extractelement=from=title,to=director,position=4,keep,start= reż.,end=%2c
extractelement=from=title,to=actors,position=5,start= wyk.,end=[:]
start=1
title=2


For the rest replace bold part with this one in brackets:
13th street (HAL)
Filmbox family (FBF)
Trace TV (TRT)
Fashion TV (FTV)
TVS (TVS)
NatGeo Wild HD (NWH)
Animal Planet HD (APH)
TVN Warszawa (TTW)

ESPN, Mango 24 and Fox HD are not on cyfraplus.pl site


lukeinv
Quote

lukeinv's Photo lukeinv 22 Jan 2011

Hi again,

Another possible source for Eska TV:

http://n.lajt.pl/epg...,1,program.html (today, whole day)
http://n.lajt.pl/epg...,1,program.html (tomorrow)
http://n.lajt.pl/epg...,2,program.html (after tomorrow)

lukeinv
Quote

doglover's Photo doglover 23 Jan 2011

Thanks for this info. These are very usefull.

I have never mastered the exact syntax for the descriptions download of Cyfraplus. Thanks for this.

Willy
Quote

lukeinv's Photo lukeinv 23 Jan 2011

You're welcome Willy,

If you have a chance could you have look into ESKA TV sources:

http://www.cyfrowypo...ram-tv/eska-tv/

http://lajt.onet.pl/...,1,program.html (today, whole day)
http://lajt.onet.pl/...,1,program.html (tomorrow)
http://lajt.onet.pl/...,2,program.html (after tomorrow)

These last three are better source than http://n.lajt.pl/epg...,1,program.html because it's not including (nagraj) word which means record.

I would be grateful if you would post working link for this channel.

lukeinv
Quote

doglover's Photo doglover 23 Jan 2011

Yes,

I included eska, and removed the word nagraj.

[EskaTV.pl]
name=Eska TV
url=http://n.lajt.pl/epg/758,[relseq=0,1,2,3,4,5,6,7],program.html
tagtr=start=<br />,end=
tagtd=start=<br />,end=
special=ignoreallformatting
extractelement=from=title,to=null,position=10,start=( nagraj,end=
start=1
title=1

Willy
Quote

lukeinv's Photo lukeinv 23 Jan 2011

Thanks Willy

lukeinv
Quote

lukeinv's Photo lukeinv 23 Jan 2011

Hi,

For some reason on each day 1st program is missing, it is downloaded but not imported into EPG (ESKA TV)
Please find screenshot attached.

lukeinv

Attached Files

Quote

doglover's Photo doglover 24 Jan 2011

OK, I will try to fix that. Seems that the grabber definition needs a bit more work

Willy
Quote

doglover's Photo doglover 24 Jan 2011

This should do the trick:

url=http://n.lajt.pl/epg/758,[relseq=0,1,2,3,4,5,6,7],program.html
tagtr=start=</div>,<br />,end=
tagtd=start=</div>,<br />,end=
special=ignoreallformatting
extractelement=from=title,to=null,position=10,start=( nagraj,end=
start=1
title=1
Quote