How to show a movie rating in VideoFullScreen.xml

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Typhoid Mary Offline
Senior Member
Posts: 128
Joined: Aug 2007
Reputation: 0
Post: #21
I just wanted to say:

Works like a treat! Very nice addition to the xml J_K_M_A_N.

Cant think of a thing for movies, but I was wondering if anything can be added for TV shows...I'll think on it this weekend.
find quote
J_K_M_A_N Offline
Fan
Posts: 443
Joined: Feb 2006
Reputation: 1
Location: Minnesota
Post: #22
I have tried to think of other things myself. I would make the thing bigger if I had to but I don't know what else I might want to see that wouldn't make it look all cluttered. If you come up with something, let me know.

J_K_M_A_N
find quote
RockDawg Offline
Posting Freak
Posts: 1,256
Joined: Jun 2005
Reputation: 0
Post: #23
What would be really cool is if there were a way to display the rating image or whatever they call it. You know like this:

[Image: 1289625734_f58c194541_o.png]
find quote
Typhoid Mary Offline
Senior Member
Posts: 128
Joined: Aug 2007
Reputation: 0
Post: #24
I dont think that would be as easy to implement RockDawg.

J_K_M_A_N - The only things I could think of is to add the some other fields after the mpaa rating information. Actor, Director...whatever. But I think it may be overkill. I personally like how it is now, mostly for the time information as I dont really care about the rating or why. I guess I would if I had kids, which I'm guessing is why you added it.

Ill keep on thinking but I really dont know what more anyone would want that wouldnt make it all look cluttered and/or overkill as the information is available by other means.

Now i just have to remember to swap your version when I upgrade (usually every week) and I'll have to be on the look out for any changes made to xml by the devs. Hopefully if there is a change to the xml by the devs you would be kind enough to release a new version to the masses Smile

Thanks again Smile
find quote
Nuka1195 Online
Skilled Python Coder
Posts: 3,914
Joined: Dec 2004
Reputation: 17
Post: #25
This ability is new thanks to JMarshall.

Code:
<texture>$INFO[ListItem.MPAA,,.png]</texture>

Then name your graphics appropriately. e.g. "R.png"

Actually looking at what the mpaa rating holds, the full text. the above won't work.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
(This post was last modified: 2007-09-02 02:28 by Nuka1195.)
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,595
Joined: Sep 2003
Reputation: 9
Location: Sweden
Thumbs Up  MPAA rating system Post: #26
http://en.wikipedia.org/wiki/MPAA_rating
find quote
RockDawg Offline
Posting Freak
Posts: 1,256
Joined: Jun 2005
Reputation: 0
Post: #27
I'm confused. It is or isn't possible to display the rating image?
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,520
Joined: Oct 2003
Reputation: 138
Post: #28
It would be if just the rating (eg R) was listed, as you could use the trick that Nuka1195 suggests.

However, as the rating has a bunch of other stuff, it's probably not doable.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
Nuka1195 Online
Skilled Python Coder
Posts: 3,914
Joined: Dec 2004
Reputation: 17
Post: #29
if MPAA rating would be useful for label2 and would be used. Another infolabel that parsed MPAA looks like it could work.

Quote:Rated PG-13 for sequences of action violence, sexual content, nudity and language

It looks like they may be similar format, with the rating second. This is only IMDB though. In python it would be as simple as MPAA.split()[1]. I don't know what it would be in C++.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
J_K_M_A_N Offline
Fan
Posts: 443
Joined: Feb 2006
Reputation: 1
Location: Minnesota
Post: #30
Well, I did notice on IMDB also that movies older than about 1990 so no rating available. I am guessing that is because they changed the rating system around that time. I am not sure. But there is another line that says 'Certification:' that shows just the rating but for each country so the scraper would have to be set up for which country's rating you wanted. So, do we want to change the current scraper to grab that instead of the MPAA rating or can we add another entry in the database for that certification? I would prefer another entry so you could display both the picture rating and the MPAA rating if available.

Spiff? Any ideas on this one? I only ask because you have been there for the other MPAA part and when I was trying to help with the IMDB scraper before. If you really couldn't give a crap, I will see if I can figure out how to add it. I could probably figure out the scraper for the USA version if you want.

J_K_M_A_N
find quote