INTERACT FORUM

Please login or register.

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

Author Topic: MCWS Library/Import - need blocking form  (Read 1363 times)

MrBiff

  • World Citizen
  • ***
  • Posts: 151
MCWS Library/Import - need blocking form
« on: July 03, 2016, 11:57:14 am »

Using MCWS Library/Import call:

    http://localhost:52199/MCWS/v1/Library/Import

is non-blocking, OK for most cases.  But when one needs to know when file import is finished, you can only POLL Recently Imported playlist for results.  It would be very helpful for a blocking form of Library/Import, and nice if it returns MPL list of imported files.

Video importing can take a long time.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42445
  • Shoes gone again!
Re: MCWS Library/Import - need blocking form
« Reply #1 on: July 05, 2016, 10:29:55 am »

In the first builds of MC22:
NEW: The function MCWS/v1/Library/Import has a new parameter "Block" to tell the function to wait until the import finishes to return.
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up