MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » Quality Assurance » Archive » 1.0 RC2 and SVN Builds


Reply
 
LinkBack Thread Tools Display Modes
Old 2008-08-26, 11:48   #1 (permalink)
MP Donator
 
Join Date: Apr 2007
Location: Melbourne
Posts: 98
Thanks: 14
Thanked 10 Times in 7 Posts

Country:

My System

Default XMLTV Import Doesn't Parse Rating (Classification) Tag Correctly

I was poking around in the SQL Server Database recently, and noticed that the classification field in the Program table was not properly being populated. I checked my tvguide.xml and it is correctly encapsulating the appropriate values according to the xmltv dtd, but this isn't making it into the DB.

According to the docs, xmltv files should encapsulate program ratings (ie. classifications) as follows:

<rating>
<value>PG</value>
</rating>

What I am seeing in the DB is the entire contents of the <rating> tag, including the white space characters, and the <value> </value> tags.

Here is a snippet of my tvguide.xml (copied and pasted directly from a text editor with no edits), and a screenshot of the corresponding DB entry:

Code:
  <programme start="20080829083000 +1000" stop="20080829090000 +1000" channel="ABC-Vic">
    <title>Sesame Street</title>
    <desc>Join Big Bird, Oscar, Elmo, Bert, Cookie Monster, the Count and many other characters to learn the alphabet and to count with Count von Count, but most of all just have a good time, in this age old favourite children's educational program.</desc>
    <category>Educational</category>
    <category>Children</category>
    <category>Educational Group</category>
    <category>Childrens Group</category>
    <rating>
      <value>G</value>
    </rating>
    <star-rating>
      <value>0/10</value>
    </star-rating>
  </programme>
Cheers,

Rob.

Last edited by rmeredit; 2008-08-26 at 12:03..
rmeredit is offline   Reply With Quote
Reply

Bookmarks

Tags
classification, correctly, parse, rating, tag, xmltv

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
xmltv import fails ulf 1.0 RC1 and SVN Builds 15 2008-07-16 08:16
XMLTV Import does nothing leo212 Installation, configuration support 2 2008-04-22 10:45
xmltv import problems brumbrum Television (MyTV frontend and TV-Server) 2 2008-02-04 03:27
XMLTV import failure HanuIv Television (MyTV frontend and TV-Server) 4 2007-07-01 12:33
Manueal xmltv import xabib Improvement Suggestions 7 2007-03-05 12:28


All times are GMT +1. The time now is 20:38.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden