INTERACT FORUM

Please login or register.

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

Author Topic: Not so much a plugin but...  (Read 1431 times)

petrossa

  • World Citizen
  • ***
  • Posts: 127
Not so much a plugin but...
« on: December 09, 2010, 02:34:08 am »

I just want to display current Trackinfo in another app on another screen. I have no issues getting the interface to work, however which way does one get current trackinfo (name, filename etc) via the Automation Objects? I know RTFM but i hope soemone cna point in the right direction and save me lot of time.
Logged

Reonekot

  • Recent member
  • *
  • Posts: 5
Re: Not so much a plugin but...
« Reply #1 on: December 09, 2010, 05:01:55 pm »

Get the IMJFileAutomation object from current playlist: (C# code)
Code: [Select]
IMJCurPlaylistAutomation playlist = MediaJukeboxInstance.GetCurPlaylist();
if (playlist != null)
IMJFileAutomation file =playlist.GetFile(playlist.Position);
Logged

petrossa

  • World Citizen
  • ***
  • Posts: 127
Re: Not so much a plugin but...
« Reply #2 on: December 10, 2010, 04:57:49 am »

Much obliged. Thanks. Simple if you know it  :D
Logged
Pages: [1]   Go Up