How to show a movie rating in VideoFullScreen.xml
#1
I am changing the VideoFullScreen.xml in PMIII a little but I want to show the movie rating if it is available. I don't see a label for that here. Am I missing something?

J_K_M_A_N

Not that anyone cares but here is what I have so far. I want to change the director to movie rating.

Image
Reply
#2
The 3D DVD Cover looks nice.

Have you done this with the new 3dguilib functiuons rotatex rotatey?

Maybe you can publish your xml?

I am very interested ;-)
Reply
#3
videoplayer.rating

in general there's pretty much a videoplayer one for every listitem one

feel free to update the wiki
Reply
#4
Quote:The 3D DVD Cover looks nice.

Have you done this with the new 3dguilib functiuons rotatex rotatey?

That is just a 3d cover from mediaicons.org

Quote:videoplayer.rating

in general there's pretty much a videoplayer one for every listitem one

feel free to update the wiki

Will do. Thanks spiff!

J_K_M_A_N
Reply
#5
I should have been more specific. I meant the MPAA rating like PG or R or whatever. I looked in the DialogVideoInfo.xml but I don't see how it displays it. Also, the labels in there say MPPA instead of MPAA in the description not that it matters but it does make it harder to do a search for. Wink

J_K_M_A_N
Reply
#6
added @ rev 10081.

videoplayer.mpaa, listitem.mpaa

please update the wiki
Reply
#7
Holy hell that was fast! Thanks again spiff!

J_K_M_A_N
Reply
#8
Just out of curiosity...how DOES the DialogVideoInfo.xml display the MPAA rating? It shows a label with a '-'. How does that work? I understand the 20074 for the english strings.xl reference to display 'MPAA Rating:' but not the other part.

J_K_M_A_N
Reply
#9
Cool thanks spiff. I was in need of this Smile
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#10
The Dialog Video Info is currently filled in by the C++ code (i.e. it works off the id). It can probably be changed at this point to use the listitem.* code instead.
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
Reply
#11
Thanks for the explanation jmarshall. I thought maybe I was losing my mind. I saw some numbers and some I could figure out but I couldn't figure out where the actual text was coming from.

J_K_M_A_N
Reply
#12
Big Grin 
PANIC! Wrote:Maybe you can publish your xml?

I am very interested ;-)

I am also very interested if you could post the xml changes you made to your videofullscreen file.
Reply
#13
Here is how it looks now that the MPAA rating is available (Thanks again spiff). The title and mpaa rating labels scroll if needed. Also the year only shows if it is available.

Image

I am not sure where to post the xml file. I don't really have any storage online. Is there somewhere you can recommend?

J_K_M_A_N
Reply
#14
Would http://pastebin.ca/ be sufficient for such a task, otherwise not sure about posting it. Would the relevant section of code be too long for one post here?
Reply
#15
Well, I think it would be much easier to just post the whole thing. It would be much harder to explain all the changes I made. (I removed some and added some and I am not sure even what all I did)

Here is the link to the pastebin.

J_K_M_A_N
Reply

Logout Mark Read Team Forum Stats Members Help
How to show a movie rating in VideoFullScreen.xml1