Wild media server (UPnP, DLNA, HTTP)
http://wildmediaserver.com/forum/

mpRating
http://wildmediaserver.com/forum/viewtopic.php?f=19&t=1412
Page 1 of 1

Author:  hepple [ Tue Feb 21, 2012 4:48 pm ]
Post subject:  mpRating

How do I access the rating of a movie within a script?

Author:  Eugene [ Wed Feb 22, 2012 11:46 am ]
Post subject:  Re: mpRating

hepple wrote:
How do I access the rating of a movie within a script?

For example

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

Author:  hepple [ Wed Feb 22, 2012 1:02 pm ]
Post subject:  Re: mpRating

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?

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/