home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Electronic Program Guide
Custom Parsing of EPG Data (dvb, xmltv, etc.)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="orencha" data-source="post: 645467" data-attributes="member: 11329"><p>Hi,</p><p></p><p>My EPG providers (both XMLTV and DVB-T EPG) put additional metadata in the program name, such as: classification, re-run, subtitle languages etc. They also put some other information, such as the episode name & number, inside the description.</p><p></p><p>Is there a way to customize parsing of the EPG data, to put the information in the right place, and strip unneeded information from the title?</p><p></p><p>I can think of several ways:</p><ol> <li data-xf-list-type="ol">External script, that recieves the EPG data for a single program (name, description etc) and returns organized data in either XML or Key-Value-Pair format. This can be very customizable, but very low on performance (an external script instance should run for each program).</li> <li data-xf-list-type="ol">External script, that receives DVB-EPG information for all programs from tv-server, in XML-TV format. An external script can then be used to parse the entire file and put every piece of information in the right place. The script can then output another XMLTV file, that will be grabbed by the XMLTV plugin.</li> <li data-xf-list-type="ol">Use an SQL stored procedure (SP) to insert the program into the EPG. The SP will receive the program title and description as input parameters, and will insert the information into the "Programs" table. A default SP can simply insert the program "AS IS", but users can customize this SP for their needs. This should be easy in MS-SQL and have good performance, but I'm not sure if it's possible with MySQL as I've not used it before (I did however notice that SPs are not used in TV-Server at all).</li> <li data-xf-list-type="ol">Write a generic, customizable EPG parser inside TV-SERVER. Users may be able to parse the EPG data using "Search and Replace" Regular Expressions.</li> </ol><p>What do you think?</p><p>Are other users having problems with the input format of the EPG data?</p><p>I beleive XMLTV input is more customizable, but what about DVB-EPG?</p></blockquote><p></p>
[QUOTE="orencha, post: 645467, member: 11329"] Hi, My EPG providers (both XMLTV and DVB-T EPG) put additional metadata in the program name, such as: classification, re-run, subtitle languages etc. They also put some other information, such as the episode name & number, inside the description. Is there a way to customize parsing of the EPG data, to put the information in the right place, and strip unneeded information from the title? I can think of several ways: [LIST=1] [*]External script, that recieves the EPG data for a single program (name, description etc) and returns organized data in either XML or Key-Value-Pair format. This can be very customizable, but very low on performance (an external script instance should run for each program). [*]External script, that receives DVB-EPG information for all programs from tv-server, in XML-TV format. An external script can then be used to parse the entire file and put every piece of information in the right place. The script can then output another XMLTV file, that will be grabbed by the XMLTV plugin. [*]Use an SQL stored procedure (SP) to insert the program into the EPG. The SP will receive the program title and description as input parameters, and will insert the information into the "Programs" table. A default SP can simply insert the program "AS IS", but users can customize this SP for their needs. This should be easy in MS-SQL and have good performance, but I'm not sure if it's possible with MySQL as I've not used it before (I did however notice that SPs are not used in TV-Server at all). [*]Write a generic, customizable EPG parser inside TV-SERVER. Users may be able to parse the EPG data using "Search and Replace" Regular Expressions. [/LIST] What do you think? Are other users having problems with the input format of the EPG data? I beleive XMLTV input is more customizable, but what about DVB-EPG? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
Custom Parsing of EPG Data (dvb, xmltv, etc.)
Contact us
RSS
Top
Bottom