Czech TV - listing in WebEPG (1 Viewer)

stanik

Portal Pro
October 10, 2006
146
4
Home Country
Czech Republic Czech Republic
Maybe new source

Hi,
i am found maybe good source for tv programm with lot of TV station: UPC - televizní programy
Could someone look on this source? Specially please James for that :)

THX Stanik
 

maarty

Portal Member
November 20, 2007
24
0
Home Country
Czech Republic Czech Republic
Hi,
i am found maybe good source for tv programm with lot of TV station: UPC - televizní programy
Could someone look on this source? Specially please James for that :)

THX Stanik
Hi Stanik.

I'm no a specialist for html and xml, but I have tried to play with the source of the UPC listing in Paros proxy and I think it will be hard to parse to the webepg xml because:
- They use a very log POST string to display particular program, but if they don't change it periodicaly, it will be only lot of work with copy every string for every channel, so it maid be possible to do
- You cannot set the particular date, you can only choose one of the three period. You can otherwise change theese periods in the same POST string, but we don't know, how can the string change in the future after actual period will be change to new ones. Moreover they don't use same period for various channels (for example CT1 has this last period 23.06.2008 - 25.06.2008 and EUROSPORT has 23.06.2008 - 27.06.2008) Unfortunately you cannot chnge the date in the POST string to any other than their scheduled

I wanted to post there some example of post string, but it's indeed verz strange and very very long.

Martin
 

kicune

New Member
July 25, 2008
1
0
Home Country
Czech Republic Czech Republic
Hi guys! When I was searching for some easily-parsed tv program, I found this: XMLTV, testovací provoz

The only problem I have is that the documentation on parsing XML files by webEPG is virtualy nonexistant (eg. how to get access to the attribute of some xml tag?) - the rest should be rather easy...

Does anybody have some info or more detailed examples on how to write grabber files for XML files?
 

minimax

MP Donator
  • Premium Supporter
  • August 10, 2007
    19
    0
    Brno
    Home Country
    Czech Republic Czech Republic
    Hi.

    Thank you, it seems to be good. Only one thing, If I used a Parabola listing and xml file, the description was cuted to the more lines and if the text was too log, whole block rolled slowly around. But the description text on the ceskenoviny xml is display on the GUI (after it has been converted to the TVGuide and to TV-Server) only in one very long line where I can read only a firs part. I know I can customize speed of scrolling and other parameter, don!t know how to force the text to be split and to scroll.

    And have you any idea how to customize webepg for idnes TV listing, my question is in this thread https://forum.team-mediaportal.com/...-processing-webepg-xml-file-41089/#post275298.

    Thanks much.
    Martin

    It is because ceskenoviny has only this short part present in basic listing. To grab full text I've to add some follow-link functionality. It's explained in wiki, but no time to do it. As soon as I arrive at home, I'll post new grabber because ceskenoviny redefined channel names in code (ct):mad:
     

    Vasek

    Portal Member
    December 13, 2006
    47
    4
    47
    Liberec
    Home Country
    Czech Republic Czech Republic
    New grabber with details

    Hi folks,

    for quite a long time a have new version of grabber for ceskenoviny, however there are some problems and I had no time to examine it in details. Now I am convinced that the bug is on WebEPG side - it does not use encoding tag for Links. So it has wrong czech letters. Here is it. In next post there will be version without czech letters.

    Vasek
     

    Attachments

    • www_ceskenoviny_cz.xml
      30.7 KB

    Vasek

    Portal Member
    December 13, 2006
    47
    4
    47
    Liberec
    Home Country
    Czech Republic Czech Republic
    Oh sorry, they have removed version of pages with different encodings. So the only solution for czech letters are:
    1) either do not use links sections - but description are quite short then,
    2) or fix the bug in webepg - but this must do someone else. If there is some volunteer, I can cooperate, but I'm unable to do it alone.

    Vasek
     

    stanik

    Portal Pro
    October 10, 2006
    146
    4
    Home Country
    Czech Republic Czech Republic
    Sorry, but grabber not working.

    This is errorlog from WebEPG.log for Discovery Channel

    2008-09-15 22:41:24.812500 [Info.][WebEPG-xmltv]: WebEPG: Getting Channel ID: discovery@discovery.cz
    2008-09-15 22:41:24.812500 [Info.][WebEPG-xmltv]: [2 of 20]
    2008-09-15 22:41:24.812500 [Info.][WebEPG-xmltv]: WebEPG: ChannelId: discovery@discovery.cz
    2008-09-15 22:41:24.812500 [Debug][WebEPG-xmltv]: WebEPG: Grab Start 22:41 15.9.2008
    2008-09-15 22:41:24.812500 [Info.][WebEPG-xmltv]: WebEPG: Reading Program Televize - České Noviny POST: stanice28=Discovery&stanicex%5B1%5D=stanice1&stanicex%5B2%5D=stanice2&stanicex%5B3%5D=stanice3&stanicex%5B4%5D=stanice4&stanicex%5B5%5D=stanice5&stanicex%5B6%5D=stanice6&stanicex%5B7%5D=stanice7&stanicex%5B8%5D=stanice8&stanicex%5B9%5D=stanice9&stanicex%5B10%5D=stanice10&stanicex%5B11%5D=stanice11&stanicex%5B12%5D=stanice12&stanicex%5B13%5D=stanice13&stanicex%5B14%5D=stanice14&stanicex%5B15%5D=stanice15&stanicex%5B16%5D=stanice16&stanicex%5B17%5D=stanice17&stanicex%5B18%5D=stanice18&stanicex%5B19%5D=stanice19&stanicex%5B20%5D=stanice20&stanicex%5B21%5D=stanice21&stanicex%5B22%5D=stanice22&stanicex%5B23%5D=stanice23&stanicex%5B24%5D=stanice24&stanicex%5B25%5D=stanice25&stanicex%5B26%5D=stanice26&stanicex%5B27%5D=stanice27&stanicex%5B28%5D=stanice28&stanicex%5B29%5D=stanice29&stanicex%5B30%5D=stanice30&tv=7&dnygrp=5&datumod=2008-09-15&datumdo=2008-09-15&hodinygrp=1&casod=5&casdo=5&zobraz=1&hledejV=1
    2008-09-15 22:41:24.890625 [Info.][WebEPG-xmltv]: WebEPG: No Listings Found
    2008-09-15 22:41:24.890625 [Info.][WebEPG-xmltv]: WebEPG: ChannelId: discovery@discovery.cz grabber error
    2008-09-15 22:41:24.890625 [Info.][WebEPG-xmltv]: WebEPG: Writing Channel to XMLTV: Discovery Channel
     

    minimax

    MP Donator
  • Premium Supporter
  • August 10, 2007
    19
    0
    Brno
    Home Country
    Czech Republic Czech Republic
    Posilam vam svuj grabber, momentalne funkcni na vetsinu ceskejch kanalu na brnenskym digi A i B. Kdyz ozelite ty rozsireny popisky, tak snad bude stacit. Kdyztak kdo mate moznost, tak zkuste jestli spravne grabbuje i ostati kanaly z kabelovek atd... dikes

    Kua, poslal sem blbej soubor... vydrzte, musim ho nekde najit

    uz je tam
     

    Attachments

    • www_ceskenoviny_cz.xml
      30.7 KB

    stanik

    Portal Pro
    October 10, 2006
    146
    4
    Home Country
    Czech Republic Czech Republic
    Soory not working,

    Nefunguje, stahuje pouze program pro CT1 u vsech kanalu (Nova, CT2,...) a ma problem s cestinou.

    Tohle to delalo i predtim, takze nevim co je spatne, kdyz tobe to funguje :-(

    Tu cestinu jsem vyresil, v tom grabberu bylo potrba zmenit v tom linku encoding z win-1250 na utf-8 a je to, ale porad to taha nesmysly resp. rozhazene porady.
     

    Users who are viewing this thread

    Top Bottom