INTERACT FORUM

Windows => Plug-in Development => Topic started by: Mr ChriZ on March 22, 2006, 05:47:48 am

Title: Get Media Type for a track (Resolved)
Post by: Mr ChriZ on March 22, 2006, 05:47:48 am
Is there anyway to get the media type for a given track using the MC interface?
I can find FileType, but not media type.


Answer: Yes.
Using the Get method you can retrieve any field,
for example
currentTrack.get("Media Type", true);
returns the string "Audio" when
playing an audio track.
Where currentTrack is an IMJPlaybackAutomation object declared and retrieved elsewhere.