INTERACT FORUM

Please login or register.

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

Author Topic: Updated -- Trak Info template SDK  (Read 2379 times)

Nikolay

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1681
  • Former CTO, JRiver, Inc.
Updated -- Trak Info template SDK
« 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  
 
Logged

Soundman

  • Regular Member
  • World Citizen
  • ***
  • Posts: 155
  • Go Music!
Re: Updated -- Trak Info template SDK
« Reply #1 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
Logged

dloneranger

  • Regular Member
  • Recent member
  • *
  • Posts: 27
Re: Updated -- Trak Info template SDK
« Reply #2 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  ?
Logged
Dloneranger

Nikolay

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1681
  • Former CTO, JRiver, Inc.
Re: Updated -- Trak Info template SDK
« Reply #3 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
Logged

dloneranger

  • Regular Member
  • Recent member
  • *
  • Posts: 27
Re: Updated -- Trak Info template SDK
« Reply #4 on: May 21, 2003, 02:09:02 pm »

Thats great news  :)
Cheers
Logged
Dloneranger

dloneranger

  • Regular Member
  • Recent member
  • *
  • Posts: 27
Re: Updated -- Trak Info template SDK
« Reply #5 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'  :)
Logged
Dloneranger
Pages: [1]   Go Up