INTERACT FORUM

Windows => Plug-in Development => Topic started by: Nikolay on May 16, 2003, 11:18:13 am

Title: Updated -- Trak Info template SDK
Post by: Nikolay on May 16, 2003, 11:18:13 am
cA new version of the Track Info template SDK for Media Center is available:  
 
http://www.musicex.com/mediacenter/devzone.html  
 
The source code for the new Track Info plug-in is available as well.

You can download new plug-in (1.0.26) at:
http://www.musicex.com/mediacenter/mc_data/plugins/vis_trackinfo.mjp

It will be included in next build of Media Center (9.0.175)

Also, download new Dreamstate template to see example of how to use new keywords.

http://www.musicex.com/cgi-bin/downloads/mcplugins.pl?type=3
 
Nikolay  
 
Title: Re: Updated -- Trak Info template SDK
Post by: Soundman on May 20, 2003, 05:37:01 pm
Nikolay,

One question I have about Track Info SDK that is not completely clear to me....  Since a track info page is an HTML file, can I use scripts, DHTML, and the MJAutomation interface within a track-info HTML page.?

Assuming the answer is Yes, can I make a track info PIP within Hairstyle or within the "normal" full-screen view?

Thanks!
Soundman
Title: Re: Updated -- Trak Info template SDK
Post by: dloneranger on May 21, 2003, 06:43:38 am
This is great, nice to see it being extended
but...
you knew there would be a but  ;)

It'd be even nicer to be able to queries as well
Something along the lines of

TrackInfo_Has(Lyrics)
inserting 0 or 1 into the generated html (or True/False)

This would simplify decision making in javascript,
eg automatically swapping to a lyrics page if it has them etc

What do you think  ?
Title: Re: Updated -- Trak Info template SDK
Post by: Nikolay on May 21, 2003, 01:46:56 pm
Quote
TrackInfo_Has(Lyrics)
inserting 0 or 1 into the generated html (or True/False)


New Track Info plug-in in the new build will have the ability to query if a field is empty or not. (look for TrackInfo_IsEmpty)

http://www.musicex.com/mediacenter/DevZone/Track Info.html

Nikolay
Title: Re: Updated -- Trak Info template SDK
Post by: dloneranger on May 21, 2003, 02:09:02 pm
Thats great news  :)
Cheers
Title: Re: Updated -- Trak Info template SDK
Post by: dloneranger on May 21, 2003, 02:36:35 pm
Oops, spoke too soon
We have a teeny problem here

Javascript is case sensitive  ;)
Could you change it to lowercase true and false please

We can work around it with string comparisons, but plain boolean would just be 'nicer'  :)