View Full Version : how to get a rating of any track in an album or a playlist??

March 12th, 2005, 06:45 PM
Hello I am new to this and trying to learn some CCF coding,

Am I correct to say that the following code gets a rating of a currently playing track?? And there a way to get a rating of any track in an album or a playlist???

val = NetRemote.GetVariable('MP.Rating');
if (val == '') then
return 0;
return tonumber(val)>=<LoopIndex>;


Ben S
March 13th, 2005, 07:29 AM
Hi yp,
You are correct as to what that does.

Unfortunately there is not (currently) a way to get information about a track other than the current one.

There is a way to get album info for a full album, not sure if that helps.

GAI &#91;path to album&#93; &#91;var name&#93;


GAI "Media Library\Albums\My Album" AI

would get album info with the variables named "AI.Album", "AI.Composer", etc. No rating, unfortunately.

March 13th, 2005, 05:09 PM
ok, thanks for that but I needed the rating info. to choose tracks from album listing.
hope it gets implemented in the future...!!!

Ben S
March 21st, 2005, 08:31 PM
Stay tuned. Some work is being done on the MediaBridge to enable new features like this much more easily.