INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Get Media Type for a track (Resolved)  (Read 1122 times)

Mr ChriZ

  • Citizen of the Universe
  • *****
  • Posts: 4375
  • :-D
Get Media Type for a track (Resolved)
« 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.
Pages: [1]   Go Up