INTERACT FORUM

Windows => Plug-in Development => Topic started by: petrossa on December 09, 2010, 02:34:08 am

Title: Not so much a plugin but...
Post by: petrossa 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.
Title: Re: Not so much a plugin but...
Post by: Reonekot 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);
Title: Re: Not so much a plugin but...
Post by: petrossa on December 10, 2010, 04:57:49 am
Much obliged. Thanks. Simple if you know it  :D