INTERACT FORUM

Please login or register.

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

Author Topic: Lifetime of IMJCurPlaylist & IMJPlayback?  (Read 1580 times)

Zoner

  • Regular Member
  • World Citizen
  • ***
  • Posts: 198
  • nothing more to say...
Lifetime of IMJCurPlaylist & IMJPlayback?
« on: July 27, 2004, 09:21:49 am »

If I get an IMJCurPlaylistAutomationObject or an IMJPlaybackAutomationObejct from MC, can I store it away and then use it later, even if a new playlist is selected in that zone in the meantime, or other significant changes occur?

That is, should I keep on calling GetPlayback() and GetCurPlaylist() every time I need to access one of these objects, or is it OK just to call those methods once at startup?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42382
  • Shoes gone again!
Re:Lifetime of IMJCurPlaylist & IMJPlayback?
« Reply #1 on: July 27, 2004, 09:26:12 am »

It's safe to use the objects for the life of MC.  There is no expiration, and any changes will show up as soon as you use the object.
Logged
Matt Ashland, JRiver Media Center

Zoner

  • Regular Member
  • World Citizen
  • ***
  • Posts: 198
  • nothing more to say...
Re:Lifetime of IMJCurPlaylist & IMJPlayback?
« Reply #2 on: July 27, 2004, 05:05:25 pm »

Thanks!
Logged
Pages: [1]   Go Up