Help Configuring Zap2xml (1 Viewer)

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hi Dan

    As much as I'd like to help, I'm unable to make sensible suggestions unless you can provide more information:
    1. Full TV Server debug log files.
    2. The XMLTV file you're trying to import.
    Without seeing these, anything I say would be speculation - probably a waste of your time and mine.
     

    Sakols

    Portal Member
    November 21, 2016
    33
    2
    61
    Home Country
    United States of America United States of America
    Logs and TVGuide.xml attached.

    Thanks,

    dan
     

    Attachments

    • tvguide.xml
      10.4 MB
    • Ares.txt
      11.9 KB
    • DVBSubs.log
      448 bytes
    • Configuration-Error.log
      0 bytes
    • Configuration.log
      2.1 KB
    • AresLog.txt
      1.4 KB
    • evr.log
      28.6 KB
    • install_1.18.0.0_2018-02-11_21-38-54.log
      6.1 KB
    • MediaPortal.1.log
      39.4 KB
    • MediaPortal.2.log
      39.7 KB
    • MediaPortal.log
      38.9 KB
    • MediaPortal.4.log
      80.8 KB
    • MediaPortal.3.log
      38.9 KB
    • MediaPortal-Error.1.log
      831 bytes
    • MediaPortal-Error.2.log
      0 bytes
    • MediaPortal-Error.3.log
      0 bytes
    • MediaPortal-Error.4.log
      202 bytes
    • MediaPortal-Error.log
      0 bytes
    • TsReader.log
      15.4 KB

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hello again Dan

    The log files you've provided are the MediaPortal [client] log files. They're of no use for dealing with XMLTV plugin problems, because the XMLTV plugin is a TV Server plugin. Hence my request for full TV Server debug log files.

    Having said that, a quick look at the XMLTV file shows URLs containing unquoted/unencoded ampersands. For example:
    Code:
    https://tvlistings.zap2it.com//overview.html?programSeriesId=SH01137258&tmsId=SH011372580000

    TV Server expects XML compliant content, which would be:
    Code:
    https://tvlistings.zap2it.com//overview.html?programSeriesId=SH01137258&tmsId=SH011372580000

    This may be the problem. If it is [the problem], you will need to either:
    • remove the content that contains unencoded ampersand characters, OR...
    • post-process the XMLTV file to properly encode the ampersand characters, OR...
    • ask the zap2xml developer(s) to amend their program
    I suggest you follow up with the TV Server log files as a first step so we can confirm my diagnosis.
     

    Sakols

    Portal Member
    November 21, 2016
    33
    2
    61
    Home Country
    United States of America United States of America
    Sorry, if I'm getting this wrong, but the log files I sent were in the TV Server folder, in a folder called Logs. Im not sure where else I should be looking.
    thanks,

    dan
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Okay.

    It looks like you grabbed the [client] log files from:
    c:\ProgramData\Team MediaPortal\MediaPortal\log

    TV Server's log files are normally in:
    c:\ProgramData\Team MediaPortal\MediaPortal TV Server\log

    Note the bolded difference.

    Another way to easily locate the TV Server log files is to open TV Server Configuration, then click "open log directory" in the top left corner.
     

    Sakols

    Portal Member
    November 21, 2016
    33
    2
    61
    Home Country
    United States of America United States of America
    Logs from the MediaPortal TV Server folder. Indeed these are different from the ones I THOUGHT came from that folder.
     

    Attachments

    • log.zip
      163.3 KB

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Thanks, that's more like what I expected. (y)

    I don't see any errors in those log files.

    Most recent import:
    [2018-02-11 23:47:00,031] [Log ] [XmlTvImporter] [INFO ] - plugin:xmltv importing C:\ProgramData\Team MediaPortal\MediaPortal TV Server\xmltv\tvguide.xml
    [2018-02-11 23:47:00,031] [Log ] [XmlTvImporter] [INFO ] - xmltv import C:\ProgramData\Team MediaPortal\MediaPortal TV Server\xmltv\tvguide.xml
    [2018-02-11 23:47:00,124] [Log ] [XmlTvImporter] [INFO ] - Xmltv: imported 68 channels, 0 programs status:
    [2018-02-11 23:47:00,124] [Log ] [XmlTvImporter] [INFO ] - Xmltv: waiting for database to finish inserting imported programs.
    [2018-02-11 23:47:00,124] [Log ] [XmlTvImporter] [INFO ] - plugin:xmltv import done

    Such would be shown in the following cases:
    1. Zero EPG channels are mapped in the XMLTV plugin.
    2. The file you're importing only contains historical program details.
    3. You're confused about which file you're importing. For example, you're importing a historical file instead of the current one that you think you're importing.
    The previously attached tvguide.xml file contains future program details, so assuming you're actually importing that file, #2 would be ruled out. That leaves #1 and #3.

    The log files do not enable me to say whether #1 is the issue. However, in the last post on the previous page of this thread you said that you checked this, so I have to take you at your word. That leaves #3.

    Are you sure that the XMLTV plugin is configured to import the correct file?
    Note the path to the file it's actually importing is shown in the above log excerpt.

    I cannot tell you
     

    Sakols

    Portal Member
    November 21, 2016
    33
    2
    61
    Home Country
    United States of America United States of America
    I think I found the problem- see screen shot. In the mapping tab of the XMLTV plugin, all the guide channels are not allocated. I probably need to go thru and re assign each tuning channel to a guide channel. If this is the problem, what could have caused all the guide channel assignments to be lost?
     

    Attachments

    • Screen Shot 2018-02-13 at 3.02.22 PM.png
      Screen Shot 2018-02-13 at 3.02.22 PM.png
      75.2 KB

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    I think I found the problem
    Yes, that is the problem. This is what I was referring to with #1 in my previous reply.

    I probably need to go thru and re assign each tuning channel to a guide channel.
    That would be a definitely rather than a probably. :)

    ...what could have caused all the guide channel assignments to be lost?
    1. Change of guide data source.
    2. Change of channel IDs in the guide data.
    3. Export, deletion and reimport of TV Server's channels (ie. XMLTV mappings don't survive export + reimport).
    On point #2, I'm referring to the bolded section shown below [from the tvguide.xml]:
    <channel id="I2.1.19571.zap2it.com">
    <display-name>2.1 KTVUDT</display-name>
    <display-name>2.1</display-name>
    <display-name>KTVUDT</display-name>
    <icon src="https://zap2it.tmsimg.com/h3/NowShowing/19571/s19571_h3_aa.png"/>
    </channel>
     

    Sakols

    Portal Member
    November 21, 2016
    33
    2
    61
    Home Country
    United States of America United States of America
    Problem is fixed! Thanks.
    Im trying to eliminate certain junk channels from showing in the EPG but, QVC and other stuff I never want to see. Im using Zap2it as a programming source, and I think it just dumps all available channels into the TVguide.xml.
    It seems I should do this by unchecking the channels under the TV Channels tab in the TV Server configuration, that I don't want to see in the program guide. That doesn't seem to work. Channels unchecked there, still appear in the XmlTv plugin tuning channel list, which I think is the source for the channels listed in the Guide.
     

    Users who are viewing this thread

    Top Bottom