INTERACT FORUM

More => Old Versions => JRiver Media Center 21 for Windows => Topic started by: MrBiff on July 03, 2016, 11:57:14 am

Title: MCWS Library/Import - need blocking form
Post by: MrBiff 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.
Title: Re: MCWS Library/Import - need blocking form
Post by: Matt 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.