special characters tvguide.xml (1 Viewer)

James

Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    I've changed the code to replace the 146 char with '

    Let me know if this is fixed.

    When I have some more time I will look at why your work around was not working correctly.
     

    Furetto

    Moderator - Dutch Forums
    April 11, 2005
    664
    61
    52
    Brussels
    Home Country
    Belgium Belgium
    Thanx a lot James.

    I am currently still on Xmas-holiday in Sweden, with my in-laws. Tonight we fly home, over the weekend I will test and let you know :)
     

    Furetto

    Moderator - Dutch Forums
    April 11, 2005
    664
    61
    52
    Brussels
    Home Country
    Belgium Belgium
    Apparently something got broken...

    The previous SVN I used was MediaPortal-svn--12-23-2007--01-04-Rev16708.exe

    Yesterday after coming home I ran webepg to generate a new xmltv file. Worked without any problems.

    Then I installed MediaPortal-svn--12-28-2007--08-24-Rev16750.exe

    Webepg crashes after this, leaving an unfinished xmltv-writing.xml

    I zipped up both xmltv files and both webepg log-files for you. I'll do some more testing today, incluing trying to use an SVN-version from before 12-28
     

    Furetto

    Moderator - Dutch Forums
    April 11, 2005
    664
    61
    52
    Brussels
    Home Country
    Belgium Belgium
    Similar issues.

    With SVN from 12-27 it works.
    With SVN from 12-29 it fails, giving the same error
    Code:
    2007-12-29 14:15:22.299781 [Info.][1]: WebEPG: SubLink Request http://www.teveblad.be/ndl/detail.asp?progid=5928116320071229EEN.001 POST: 
    2007-12-29 14:15:22.502581 [ERROR][1]: WebEPG: Fatal Error
    2007-12-29 14:15:22.502581 [ERROR][1]: WebEPG: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index

    I have the logs if you're interested in them, but they don't show more than the previous logs.
     

    Furetto

    Moderator - Dutch Forums
    April 11, 2005
    664
    61
    52
    Brussels
    Home Country
    Belgium Belgium
    Decided to dig in myself, with my limited knowledge of the workings of webepg ;)

    It would seem that this line of code crashes webepg right now

    Code:
          <Template name="Details" start="& lt;tbody& gt;" end="& lt;/tbody& gt;">

    I went to check into telemoustique, the french grabber and it simply states

    Code:
          <Template name="Details">

    Both websites are made by the same company so I tried removing the start and end and now it works... I'll upload the modified file in the appropriate topic.

    As far as I'm concerned, this closes the issue, but one might wonder why this start and end tag were present without being needed and why they don't work anymore...

    EDIT: still not working 100%
     

    Furetto

    Moderator - Dutch Forums
    April 11, 2005
    664
    61
    52
    Brussels
    Home Country
    Belgium Belgium
    James, if you happen to stroll by, I will need your help...

    It seems whatever I do, the details template is not working as I hope...

    I managed to narrow the issue down, testing several different grabbers from several countries. It does work with some grabbers that use a Details Template (like tvgids.nl). On the other hand it does not work with several other grabbers that use *Match and *Value, including one from Switzerland: 20min_ch.xml. At least, I ran this grabber with a random channel and it gave none of the values it should get from the Details Template.

    The issue I mentioned in the previous post is still existing, but as the grabber seems to work without limiting by using the Start and End tag... Which I confirmed using the webepg designer v5.

    Additional note: it is the end tag that fails, not the start tag.
     

    Furetto

    Moderator - Dutch Forums
    April 11, 2005
    664
    61
    52
    Brussels
    Home Country
    Belgium Belgium
    The "Index out of range" is now indeed solved with latest SVN. The issue with descriptions etc is still open.

    To recap, the teveblad.be grabber uses match fields to grab additional info like description etc. Ever since 28th of december, these are not grabbed anymore.

    Code:
      <MatchList>
       <Match field="#COUNTRY" match="Land" />
       <Match field="#GENRE" match="Genre" />
       <Match field="#DESCRIPTION" match="Info" />
       <Match field="#DESCRIPTION" match="Inhoud" />
       <Match field="#ACTORS" match="Acteurs" />
       <Match field="#SUBTITLE" match="Afleveringstitel" />
       <Match field="#EPISODE" match="Aflevering" />
      </MatchList>

    Last test I did was the following:
    - applied latest SVN, rev 17044 and ran the grabber - no description or additional fiels
    - applied SVN 16742 over this, without any other modification - all description and other fields
    - reapplied 17044 - description etc gone again
    - copied utils.dll from the 16742 into the mediaportal root: descriptions appear again
    - copied utils.dll from 16750 (december 28th): no more descriptions
     

    Furetto

    Moderator - Dutch Forums
    April 11, 2005
    664
    61
    52
    Brussels
    Home Country
    Belgium Belgium
    I guess James is more interested in developing MPII at the moment than fixing the "Match Field" issue in WebEPG :(

    But who can blame him. I also prefer working on new toys than fixing old ones... ;)

    Anyway, just in case anyone knows how to fix it, that would be wonderful !
     

    Users who are viewing this thread

    Similar threads

    Update: Problem solved! The electronic program guides (tvguide.xml) have been successfully transferred to MediaPortal. The issue stemmed from the corruption of one or both of the mc2xml.dat and/or mc2xml.exe files, for an unknown reason. Consequently, even though the tvguide.xml file appeared to be updated, its content kept being an...
    Update: Problem solved! The electronic program guides (tvguide.xml) have been successfully transferred to MediaPortal. The issue...
    I was having a problem with the EPG on MP2 1.4.1 (although it used to run without any issues for a while). So I installed MP2 1.5...
    Replies
    8
    Views
    2K
    According to Wikipedia, Windows only uses code pages other than UTF-8 to support legacy (mostly 32 bit) applications and supports two code pages in addition to UTF-8 (OEM and ANSI). According to Microsoft, UTF-8 has been the preferred character set since 2019. If TV Server (or its import routine) were using UTF-8, then umlauts...
    According to Wikipedia, Windows only uses code pages other than UTF-8 to support legacy (mostly 32 bit) applications and supports...
    Because I have around 200 TV channels and more than a dozen groups, I tried to import the TV channel groups from an old export.xml...
    Replies
    4
    Views
    1K
    I would have to know more details, and ultimately, I'll have to test it when I get my new display, but an AI answer I got (I don't trust AI and this may not be correct) was that HDR is encoded with the HEVC codec and I know MePo uses the HEVC codec to play 4K UHD Blue-ray discs. So, there is at least the possibility that it will work...
    I would have to know more details, and ultimately, I'll have to test it when I get my new display, but an AI answer I got (I don't...
    Does MePo 1 pass the HDR metadata, Dolby Vision, HDR10, etc., along to the display when playing 4K UHD Blu-ray discs? If not, are...
    Replies
    2
    Views
    1K
    After many hours of troubleshooting I've given up and accepted that it's just "one of these things" when using madVR for watching live TV. I've now ticked the box to "Use EVR for LiveTV", with a default display refresh rate of 50Hz. In combination with tweaking some of the Nvidia 3D settings for the MP executable only, I now have a...
    After many hours of troubleshooting I've given up and accepted that it's just "one of these things" when using madVR for watching...
    Every so often, when I switch to a TV channel, my MP client stops accepting user inputs, either from the remote or keyboard/mouse...
    Replies
    30
    Views
    8K
    Now with Version 1.37 x64 MP is near to perfect with repect to speed, robustness and funtionality. There is just one point where I have an Idea for further improvement. As I am not too interested in advetisments, I am using comskip to mark times of ads, which is normally working, as it should but produces an error when trying to...
    Now with Version 1.37 x64 MP is near to perfect with repect to speed, robustness and funtionality. There is just one point where I...
    Now with Version 1.37 x64 MP is near to perfect with repect to speed, robustness and funtionality. There is just one point where I...
    Replies
    0
    Views
    968
    Top Bottom