INTERACT FORUM

Networks and Remotes => Media Network => Topic started by: prahl on March 17, 2015, 10:29:45 am

Title: MCWS Command for import a single folder (without gui)
Post by: prahl on March 17, 2015, 10:29:45 am
Hi,

is there command for importing a single folder without calling auto-import?

I have tried commands like:
http://localhost:52199/MCWS/v1/Control/MCC?Command=23000
This request only shows the import window, but I want to call "Import a single folder" without a window.

My target URL something like:
http://localhost:52199/MCWS/v1/Control/MCC?Command=23000&Parameter=/path/to/folder

Greetings,
Tino
Title: Re: MCWS Command for import a single folder (without gui)
Post by: Matt on March 17, 2015, 10:44:01 am
We added this recently.

20.0.82 (3/12/2015)
9. NEW: Added MCWS/v1/Library/Import to import a folder.

Hope it does the trick for you.
Title: Re: MCWS Command for import a single folder (without gui)
Post by: prahl on March 19, 2015, 02:10:25 am
Thanks ;D

works perfect
Title: Re: MCWS Command for import a single folder (without gui)
Post by: mmam on February 20, 2016, 01:07:44 am
Hi

I am a new user and i am trying to use the import function (but failed). 

Currently my music files are stored in the qnap nas and is connected to MC by network.

I tried the followings but failed:

Http://localhost:52199/MCWS/v1/library/import nas_addr/musicfolder

What is the correct syntax?

Thks
MM
Title: Re: MCWS Command for import a single folder (without gui)
Post by: Matt on February 20, 2016, 09:22:54 am
It's like this:
http://localhost:52199/MCWS/v1/Library/Import?Path=C:\Temporary\Test\