mpRating

Post Reply
hepple
Posts: 44
Joined: Sun Mar 21, 2010 8:16 pm

mpRating

Post by hepple »

How do I access the rating of a movie within a script?
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: mpRating

Post 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.
hepple
Posts: 44
Joined: Sun Mar 21, 2010 8:16 pm

Re: mpRating

Post 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?
Post Reply