Seitenhierarchie

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.38
            Releasenews | Download
 MediaPortal 2.5
            Releasenews | Download



Overview

To be able to parse JSON data returned from the web source, a new parser is added.

Description of Change

Besides HTML, XML and generic data, JSON is now supported as well.

The JSON element may contain the following content:

Attributes

channel

Filter to apply to the list of EPG-elements.

xpath

Xpath expression which returns the EPG-elements. Note that this is a custom implementation of Xpath, and not all possibilities are supported (yet).

ChildNodes

Fields

Mapping from JSON-attributes to EPG-fields.

This contains a number of

Field

nodes, with these attributes:

name

EPG-Field

jsonname

JSON-attribute

Example

<JSON channel="channel/id=28" xpath="airing">
    <Fields>
        <Field name="#START" jsonname="air_time" />
        <Field name="#TITLE" jsonname="title" />
        <Field name="#DESCRIPTION" jsonname="episode/original_title" />
    </Fields>
</JSON>

Additional Information and References

Issue #:

MP1-4215

Issue Component:

WebEPG

Type of Change:

Feature

Related Wiki page(s):

Contribute > Localization > EPG Grabbers and Tuning details > WebEPG > WebEPG Grabber

Author:

doskabouter

Date added:

Fri, 01 Nov 2013

 

   

 

This page has no comments.