I use a link to start a media scan but I wish to create a shell script that will start a scann after new music is imported.
http://host:4040/rest2/startRescan.view ... rest&f=xml
I tried with curl, but I always get an error message.
Anybody can help?
Shell script to start media scan
Re: Shell script to start media scan
What error message do you get?
This works fine for me on version 6.0.7760.
curl 'http://localhost:4040/rest2/startRescan ... est&f=json'
This works fine for me on version 6.0.7760.
curl 'http://localhost:4040/rest2/startRescan ... est&f=json'