PDA

View Full Version : Newbie question: how to rescan from CLI



Mark Lanctot
2007-10-10, 09:27
Since the rescan on the latest 7.0 nightly seems to fail, I wanted to take a look at the log.

The web interface rescan isn't generating a log so I'd like to do this by the CLI. I've searched the forums and I haven't quite found how to do it - some mention of scanner.pl but that doesn't appear on my system. I also tried:


slimserver --rescan -d_scan

and it didn't return anything specific to rescanning. I see /usr/sbin/slimserver-scanner but I don't know how to use it.

I feel stupid, but I have to ask. Thanks.

SqueezeCenter Version: 7.0 - 13701 - Debian - EN - utf8
Server IP address: 192.168.1.8
Perl Version: 5.8.8 i486-linux-gnu-thread-multi
MySQL Version: 5.0.38-Ubuntu_0ubuntu1

mherger
2007-10-11, 00:36
> The web interface rescan isn't generating a log so I'd like to do this
> by the CLI. I've searched the forums and I haven't quite found how to

Well, there's an excellent documentation right on your slimserver:
http://localhost:9000/html/docs/cli-api.html

The command is simply "rescan".

> slimserver --rescan -d_scan

you'll have to use the scanner.exe/pl, not slimserver.

Michael

Mark Lanctot
2007-10-11, 05:24
slimserver --rescan -d_scan

Thanks Michael - as you saw, I tried that out. But it turned out that scanning wasn't executing:

http://forums.slimdevices.com/showthread.php?t=39160

Working fine now, and I have this for reference. Thanks.