Grab from xmltv (1 Viewer)

pierremenard

MP Donator
  • Premium Supporter
  • April 6, 2006
    228
    0
    46
    Verona (Italy)
    Home Country
    Italy Italy
    I got a pre-formed xmlt tv guide from www.htpcitalia.it.
    The problem is that that guide is well done, but it contains 100 and more channels (from satellite). As MediaPortal imports all the channel from xmltv, even if not tuned, I got in my guide a 95% of unused channels.

    I would like to grab from this guide the 10 channel I can actually tune.

    I've taken a look at

    https://forum.team-mediaportal.com/use_xmltv_source-t20346p2.html

    But that was for a single xmltv channel.

    I tried to make up a grabber but

    <Field name="#CHANNEL" xmlname="channel" />

    does not work.

    Could anyone help me?

    F.

    p.s. if I try to grab from a file:// (local) link, that does not work (is it a bug?). I fixed it using a local webserver.
     

    James

    Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    Try this:

    Code:
    <Xml xpath="//programme" channel="channel"> 
     <Fields>  
       <Field name="#STARTXMLTV" xmlname="start" />
       <Field name="#ENDXMLTV" xmlname="stop" />  
       <Field name="#TITLE" xmlname="title" />
       <Field name="#DESCRIPTION" xmlname="desc" />  
     </Fields>  
    </Xml>

    and you will need to add the channels at the top of the file where the siteId is the channel id in the xmltv file.

    Sorry there is no support for file://
     

    pierremenard

    MP Donator
  • Premium Supporter
  • April 6, 2006
    228
    0
    46
    Verona (Italy)
    Home Country
    Italy Italy
    Try this:

    Code:
    <Xml xpath="//programme" channel="channel"> 
     <Fields>  
       <Field name="#STARTXMLTV" xmlname="start" />
       <Field name="#ENDXMLTV" xmlname="stop" />  
       <Field name="#TITLE" xmlname="title" />
       <Field name="#DESCRIPTION" xmlname="desc" />  
     </Fields>  
    </Xml>

    and you will need to add the channels at the top of the file where the siteId is the channel id in the xmltv file.

    Sorry there is no support for file://

    Thank you for reply.

    Anyway I solved it applying to the guide a xsl transformation stylesheet.

    F.
     

    Users who are viewing this thread

    Top Bottom