EPG Downloader Service for TV Server ONLY (1 Viewer)

bounguine

Portal Pro
November 7, 2005
233
15
51
St.Petersburg
Home Country
Russian Federation Russian Federation
Thanks for your plugin!

It works perfectly with *.xml generated by TVXb.
But when downloading the second file from TVGuru I always get this:

Download Started 17.07.2008 15:31:56
17.07.2008 15:32:02 - EPG Download Failed!: Error=Invalid argument to date encode
EPG Download Complete - Total 0 program entires downloaded

I explored the file and found some programs at the end of the period with no end-time:

<programme start="200807210459" channel="564">
<title lang="ru">Без комментариев</title>

I made two small test-files with and without such programs.
The first was rejected by the app, the second downloaded.

Anyway, importing “incorrect” xmls through TVServer console gives no errors.

After that MSSQL DB has:
startTime = 21.07.2008 04:59:00
endTime = 21.07.2008 04:59:00

Can you make the same thing for such cases here – “endTime = startTime”?
 

thargs

MP Donator
  • Premium Supporter
  • January 26, 2007
    65
    0
    Home Country
    Thanks for your help.

    All has been configured according to instructions.

    Would I be able to see the epg data even though Im not connected to an aerial? What I did was connect it, scan for channels, disconnected and from there configured the epg download manager. I then went to Mediaportal and I cant see any epg. Will I have to reconnect to see the epg data? Im assuming the TVserver data doesnt come through unless there is a stream.
     

    bounguine

    Portal Pro
    November 7, 2005
    233
    15
    51
    St.Petersburg
    Home Country
    Russian Federation Russian Federation
    I was wrong when wrote above that TVxb file is downloaded without problems.
    The process itself goes without errors in the app, but Russian EPG is totally unreadable in MP.

    I tried both:
    <?xml version="1.0" encoding="utf-8" ?>
    ...
    <programme start="20080721025500 +0400" stop="20080721032000 +0400" channel="2x2">
    <title lang="ru">Disсworld -4</title>
    </programme>

    and

    <?xml version="1.0" encoding="windows-1251" ?>
    ...
    <programme start="20080721025500 +0400" stop="20080721032000 +0400" channel="2x2">
    <title lang="ru">Disсworld -4</title>
    </programme>


    And again - utf-8 is properly understood when downloading through TVServer console
     

    Big_Kev

    Portal Pro
    June 8, 2007
    338
    186
    Home Country
    New Version 0.0.0.11 beta

    Hi All,

    Thanks to bounguine, I have made a change to set end time = start time if end time is not a valid date/time.

    Big Kev
     

    Big_Kev

    Portal Pro
    June 8, 2007
    338
    186
    Home Country
    New Version 0.0.0.12 beta

    Again, thanks to bounguine, I have made the following modifications.

    1. Now if a program is missing the end time, it will be replaced by the start time of the NEXT program if it is on the same channel, otherwise the end time will be set to the start time.
    2. When resetting the EPG mapping grid, you will be prompted to restore previous mappings. This is handy if you are only ADDING another URL and dont want to re-map the existing URLs
    3. There is a new page in the manager for Defaults. This allows you to replace the "Unknown" default that is loaded when information is missing in your EPG download - for instance, genre, classification etc.
    Kev
     

    vlukinius

    Portal Member
    February 8, 2008
    29
    1
    Thank you, thank you, Thank you, thank you, Thank you, thank you, Thank you, thank you, Thank you, thank you...

    :D

    I have been looking for a solution when herefords epg stopped working for some channels. webEPG dont wokr on many channels either and for some reason tvserver did not import and programs when I tried to use xmltv.

    and thanks to tompa as well. Made it allot easier to understand how it worked :)
     

    vlukinius

    Portal Member
    February 8, 2008
    29
    1
    I did now notice that I loose all programs after 00:00 until the next new program starts. For me they start again at 02:00. My guess is that the +0200 adds the two hours.

    <programme start="20080827020000 +0200" stop="20080827030000 +0200" channel="nordic.discovery.com">

    I used to download the programs at 00:00. Then it clears all previous programs in the database and downloads the new programs for that day. But the programs showing until 02:00 is on the previous day. Now I set it to download it at 23:00 instead and that should solve my issue I think.

    If I am right, the simple solution is to download the previous day as well if that one is available.
     

    hippy2000

    New Member
    July 29, 2008
    2
    0
    Home Country
    I get the following error when testing the download from the url "http://www.oztivo.net/tivo-bin/tvguide.pl" (Havn't tried any other urls but i don't think it even tries to download)

    29/08/2008 5:36:01 PM - EPG Downloader could not connect to TV Server database: Error=[AnyDAC][Comp][Clnt]-340. Driver ID is not defined.
    Set TADConnection.DriverName or add DriverID parameter to your connection definition

    I have set up the user as per the manual and the test login on the database tab of the program works fine with login name of "EPG" and the default "sa" login (I'm using a MSSQL 2005 express database, Media Portal RC2) ......... any ideas ?
     

    Big_Kev

    Portal Pro
    June 8, 2007
    338
    186
    Home Country
    I get the following error when testing the download from the url "http://www.oztivo.net/tivo-bin/tvguide.pl" (Havn't tried any other urls but i don't think it even tries to download)

    29/08/2008 5:36:01 PM - EPG Downloader could not connect to TV Server database: Error=[AnyDAC][Comp][Clnt]-340. Driver ID is not defined.
    Set TADConnection.DriverName or add DriverID parameter to your connection definition

    I have set up the user as per the manual and the test login on the database tab of the program works fine with login name of "EPG" and the default "sa" login (I'm using a MSSQL 2005 express database, Media Portal RC2) ......... any ideas ?

    Sorry to be so long getting back to you.

    Please check that the database name is "MpTvDbRc2" not the default "TvLibrary"... Though I suspect you have already.

    If you are using the Express version, you must select the MSSQL 2005 Express radio button, as it automatically adds the "\SQLEXPRESS" to the end of the server name...

    Kev
     

    ravenrocks

    Portal Pro
    October 11, 2007
    351
    96
    Hi Tompa,

    I'm trying to use this app to download EPG info from tv.swedb.se. Can you give some directions how you specified the XML source in the grabber?

    /Peter

    Peter, try this!

    Info from Kev.
    Data Is Zipped: Checked
    Type: Complex
    Program URL Template: !!!Base-Url!!!!!!ChannelID!!!_!!!DateString!!!.xml.gz

    URL: http://tv.swedb.se/xmltv/channels.xml.gz

    /tompa

    edit: downloaded 10 days within 5 min!

    Works great with those settings, too bad swedb.se don't have all of comhems channels.
     

    Users who are viewing this thread

    Top Bottom