INTERACT FORUM

Please login or register.

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

Author Topic: ImportFile vs ImportFileBackground  (Read 1594 times)

pbair

  • Recent member
  • *
  • Posts: 33
ImportFile vs ImportFileBackground
« on: October 21, 2009, 01:29:47 pm »

What is the difference between MJFileAutomation * ImportFile and ImportFileBackground?

patrick
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: ImportFile vs ImportFileBackground
« Reply #1 on: October 21, 2009, 03:30:33 pm »

ImportFile(...) blocks and doesn't return until the file has been analyzed / imported.  It returns the new file.

ImportFileBackground(...) returns right away and the file is imported in a background thread.
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up