Page 1 of 1

mpRating

Posted: Tue Feb 21, 2012 4:48 pm
by hepple
How do I access the rating of a movie within a script?

Re: mpRating

Posted: Wed Feb 22, 2012 11:46 am
by Eugene
hepple wrote:How do I access the rating of a movie within a script?
For example

Code: Select all

begin
  if WmsCurrentMediaListItem <> nil then
    ShowMessage(WmsCurrentMediaListItem.Properties[mpiRating])                                 
end.

Re: mpRating

Posted: Wed Feb 22, 2012 1:02 pm
by hepple
I tried that but all of the videos seem to have a null rating.

Is rating normally populated?

I have mymoves.xml in the same folder for each movie which does contain the rating, but I don't know if WMS recognises that?

Also, is rating the Rating as in R, PG, PG13 etc or is it something else?