Can't find MP2 client settings? (1 Viewer)

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Indeed it would. Without stop time, MP can't build the guide entries, so no wonder that you don't have any programs...
    Actually you're incorrect. According to the XMLTV standard, stop time is optional:
    http://xmltv.cvs.sourceforge.net/viewvc/xmltv/xmltv/xmltv.dtd
    Code:
    <!ATTLIST programme start     CDATA #REQUIRED
                        stop      CDATA #IMPLIED
                        pdc-start CDATA #IMPLIED
                        vps-start CDATA #IMPLIED
                        showview  CDATA #IMPLIED
                        videoplus CDATA #IMPLIED
                        channel   CDATA #REQUIRED
                        clumpidx  CDATA "0/1" >

    If stop time is not provided, it's assumed to be the start time of the next program.

    MP1's XMLTV plugin has no problem with this:
    https://github.com/MediaPortal/Medi...y/Plugins/XmlTvImport/XMLTVImport.cs#L756-759
    https://github.com/MediaPortal/Medi...abase/TvBusinessLayer/ProgramList.cs#L307-332
     

    LaoChe

    Portal Member
    June 24, 2014
    13
    0
    46
    Home Country
    United States of America United States of America
    I confirmed that the TvGuide.xml file produced by WebEPG does not have the stop times either. So if it works when I have WebEPG update the database directly and the stop times are a suspected problem then that would imply that the problem is with WebEPG. There are lot of logs but if you tell me which ones to look at I will take a look and post them.

    Or let me ask another question. Is there another way I should be approaching this? I have spent 2 weeks now trying to get the most basic functionality of MP2 working with no success. Sure it records TV but without episode information that is completely useless. I know it is working for other people so if I should just start all over with some other way to get MP2 working I am all ears. At this point I really just want to get this up and running.

    Thank you.
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,382
    2,369
    Home Country
    Germany Germany
    There are lot of logs but if you tell me which ones to look at I will take a look and post them.
    Use the Log-Collector icon on your desktop to create a zip with all available logs that you can then upload here. The interesting piece are the server logs but why bother selecting those if the tool is on your desktop?

    Is there another way I should be approaching this? I have spent 2 weeks now trying to get the most basic functionality of MP2 working with no success.
    There is no point in trying for weeks. Call for help in this forum earlier, if Wiki, forum and/or Google search did not throw a solution. However, logs are almost mandatory, especially if you are asked for.;)

    Can you please indicate date and time of the xmltv import so that it is easier to find? Alternatively do a new import and run the log collector immediately after.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    Well, I just tested with MP1 and it worked fine for me. Maybe there's a difference in MP2's supposedly identical TVE which is responsible for this.
    You might be right. There is one change which is not part of MP1: https://github.com/morpheusxx/MediaPortal-1/commit/87375e3db394b1b247bd915b3649a25f6750309a.

    It filters out programs that have same start and end time. It does it before persisting the programs. I added this case to avoid programs with 0 min duration, as this was not handled by the later cleaning routines. Maybe it should have been placed there better.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    It filters out programs that have same start and end time.
    Yes, that would cause import of a file without stop times to fail because stop time is set as start time by default.

    [edit: By the way, in what context would such a modification actually be useful? I've never come across any XMLTV file which contains programme elements with identical start and stop time attributes.]
     
    Last edited:

    Users who are viewing this thread

    Top Bottom