INTERACT FORUM

Please login or register.

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

Author Topic: MCWS Command for import a single folder (without gui)  (Read 2203 times)

prahl

  • Recent member
  • *
  • Posts: 12
MCWS Command for import a single folder (without gui)
« 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
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42376
  • Shoes gone again!
Re: MCWS Command for import a single folder (without gui)
« Reply #1 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.
Logged
Matt Ashland, JRiver Media Center

prahl

  • Recent member
  • *
  • Posts: 12
Re: MCWS Command for import a single folder (without gui)
« Reply #2 on: March 19, 2015, 02:10:25 am »

Thanks ;D

works perfect
Logged

mmam

  • Member
  • *
  • Posts: 2
Re: MCWS Command for import a single folder (without gui)
« Reply #3 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://Http://localhost:52199/MCWS/v1/library/import nas_addr/musicfolder

What is the correct syntax?

Thks
MM
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42376
  • Shoes gone again!
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up