Amp is displayed as & in EPG (2 Viewers)

jonywee

Portal Member
September 7, 2007
21
19
Home Country
Netherlands Netherlands
Thank you all for your effort in fixing this bug. Or maybe I should say: making the import more robust.

I dont know the origin of the malformed star-rating data (btw thank u for pointing out). It might be a flaw in the grabber or just changes to a website. Malformed data did not cross my mind because MP 2.2.0 and GBPVR do not error-out on any of the files from this grabber.

I installed the fix and re-enabled star-rating in my grabber. Tomorrow I will have my malformed data and see if it errors out or not.
 

lewi0146

Portal Member
May 14, 2007
17
0
Home Country
Hey Grubi,

using the latest dll it seems to work, no more errors, lots of "9/10/2007 6:20:42 PM B XMLTVImport: star-rating could not be used - 6/10,()" in the tv.log, but the XMLTV plugin page states import was sucessful and lots of TV programs imported.

so, i guess the star-rating issues has been side-stepped...well, at least for me :)

WAF *= 110

cheers,

Trent
 

rtv

Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    Please notify the author of "your" grabber that he's misusing the star-rating field.
     

    grubi

    Portal Pro
    June 16, 2007
    1,216
    80
    127.0.0.1
    Home Country
    Germany Germany
    Sorry for beeing such persitent but I'm still not happy with the current state. Investigating the whole thread again I noticed that we are dealing with two different issues here. As rtv stated there seems to be a grabber using the star-rating tag in an invalid way. However the snippet of the tvguide.xml lewi0146 presented seems to be well formed and is still regarded invalid by the importer. It seems that start-rating was not considered at all in previous versions as RedInnerXml returned a null string on that node. It seems that the change to ReadAsString has uncovered subsequent errors here.

    Anybody ready for a discussion?
    First question: What the star-rating field has to be looked like exactly to be cosidered valid, and what is the exaclty meaning of that field?

    grubi.
     

    lewi0146

    Portal Member
    May 14, 2007
    17
    0
    Home Country
    Hi Grubi,
    I was trying to figure out what the "misuse" was of the star-rating field the rtv mentioned, this is an example from the dtd on the xmltv site, http://xmltv.cvs.sourceforge.net/xmltv/xmltv/xmltv.dtd?view=markup

    53 <star-rating>
    54 <value>3/3</value>
    55 </star-rating>


    with the definition of

    513 <!-- 'Star rating' - many listings guides award a programme a score as
    514 a quick guide to how good it is. The value of this element should be
    515 'N / M', for example one star out of a possible five stars would be
    516 '1 / 5'. Zero stars is also a possible score (and not the same as
    517 'unrated'). You should try to map whatever wacky system your listings
    518 source uses to a number of stars: so for example if they have thumbs
    519 up, thumbs sideways and thumbs down, you could map that to two, one or
    520 zero stars out of two. Whitespace between the numbers and slash is
    521 ignored.
    522 -->
    523 <!ELEMENT star-rating (value, icon*)>

    with value defined as

    330 <!-- The value of the element that contains it. This is for elements
    331 that can have both a textual 'value' and an icon. At present there is
    332 no 'lang' attribute here because things like 'PG' are not translatable
    333 (although a document explaining what 'PG' actually means would be).
    334 It happens that 'value' is used only for this sort of thing.
    335 -->
    336 <!ELEMENT value (#PCDATA)>


    hope that helps

    cheers,

    Trent
     

    grubi

    Portal Pro
    June 16, 2007
    1,216
    80
    127.0.0.1
    Home Country
    Germany Germany
    lewi0146

    Thank's for the link to the DTD. What is still unanswered is:

    1.) are fractions allowed (is 5.2/10) valid?
    2.) If fractions are valid what is the decimal separator (always "." or country specific)
    3.) What has it mapped to in the TvDababase. There is no point in simply stripping the first of the two values what is currently done. So it should be mapped to the numer of stars MP is working with or a percentage value.
    The description of the dbfield is not very helpful (at least for me). It reads:

    /// <summary>
    /// A rating for a movie (EPG standard is 0/5 stars = 10)
    /// </summary>

    Any idea what this means exactly?

    grubi.
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    1 = yes (at least they are common)
    2 = always "."
    3 = MP is using a star container GUI element which "value" property expects a double from 0. to 10.0 where 10 = 100% rating = 5/5 or 3/3 or whatever. However the GUI control currently does not display "half stars" therefore storing an int value in "starRating" is okay.
     

    grubi

    Portal Pro
    June 16, 2007
    1,216
    80
    127.0.0.1
    Home Country
    Germany Germany
    1 = yes (at least they are common)
    2 = always "."
    3 = MP is using a star container GUI element which "value" property expects a double from 0. to 10.0 where 10 = 100% rating = 5/5 or 3/3 or whatever. However the GUI control currently does not display "half stars" therefore storing an int value in "starRating" is okay.

    Thank's for clarification.
    I will implement this and post back the result.

    grubi.
     

    jonywee

    Portal Member
    September 7, 2007
    21
    19
    Home Country
    Netherlands Netherlands
    Could not install grubi's updated assembly (9 sept, 17:31). I have some callstack in the logs and I think I need to update other stuff as well. That's a no-go right now, I just installed tvengine which took me 3 nights (1 svr, 2 clnts). WAF has lowered significantly.
    lewi0146 has confirmed the fix, I think that will do. Next step for me is to inform my grabber about the star-rating.
     

    Users who are viewing this thread

    Similar threads

    done: Loading...
    done: Loading...
    Hi. I have a problem with a WebEPG grabber I'm trying to do. The problem is that the site returns a json-file and I cant get my...
    Replies
    25
    Views
    4K
    I'm using MP1 Ukraine ( as a side issue Trend antivirus says later versions are ransomwear ) and I've used MP for many years. Have I missed something all this time? Is there a way of marking recordings as favourites, and an easy way to display them? Thank you
    I'm using MP1 Ukraine ( as a side issue Trend antivirus says later versions are ransomwear ) and I've used MP for many years. Have...
    I'm using MP1 Ukraine ( as a side issue Trend antivirus says later versions are ransomwear ) and I've used MP for many years. Have...
    Replies
    0
    Views
    475
    And this is the follow-up thread, which includes log files: PiP audio problem
    And this is the follow-up thread, which includes log files: PiP audio problem
    I just updated from 2.4. Update did not conserve my channels or epg plug-in or anything, looks like, which of course was a...
    Replies
    5
    Views
    636
    I have looked at your log files, but as usual they are unintelligible gobbledegook. (I am sure that the original developers who wrote that code know what the log entries mean, but those developers have long since retired from the MP team.) I regret to say that I think that you will have to use the "brute force" method to track down...
    I have looked at your log files, but as usual they are unintelligible gobbledegook. (I am sure that the original developers who...
    Sometimes when displaying the OSD whilst playing a recorded TV show the video freezes and the sound continues for about 30 seconds...
    Replies
    1
    Views
    659
    @CyberSimian As I have just posted in the MP2 subforum I will stay with MP1 for the time being. Many thanks for all your very informative and detailed responses. I will take your advice and monitor the Scheduled recordings list for the discrepancies you have described. Cheers.
    @CyberSimian As I have just posted in the MP2 subforum I will stay with MP1 for the time being. Many thanks for all your very...
    I am in Australia. My problem is with recorded tv programs. Most times the program title and info are correct but quite often the...
    Replies
    36
    Views
    3K
    Top Bottom