PDA

View Full Version : scanner.exe



BKDotCom
2008-04-17, 07:25
Where do i find all the command-line options for scanner.exe
(at one point I had this info)

I'm trying to get scanner.exe to create a logfile

used to work via
scanner.exe --logfile c:\log.txt

but no luck with the version that came with 7.0

mherger
2008-04-17, 07:39
> Where do i find all the command-line options for scanner.exe
> (at one point I had this info)

Just run scanner.exe without any parameter. In 7.0.1 there will be a --help parameter too :-)

--

Michael

BKDotCom
2008-04-17, 11:33
simply calling scanner.exe, I get the following after the help:

Log4perl: Seems like no initialization happened. Forgot to call init()?
Can't call method "dbh" on an undefined value at /<C:\Program Files\SqueezeCente
r\server\scanner.exe>Slim/Music/Import.pm line 252, <DATA> line 164.
END failed--call queue aborted, <DATA> line 164.

could this be part of the prob?
-> I'm not getting any output to my --logfile log.txt ?

mherger
2008-04-17, 13:02
> could this be part of the prob?
> -> I'm not getting any output to my --logfile log.txt ?

No, but it's fixed in 7.0.1.

--

Michael

BKDotCom
2008-04-17, 17:38
Ya... I don't think my scanner.exe is working at all...
no debug output isn't helping...

Unrelated?: I did a full directory scan within SqueezeCenter and noticed several of these in scanner.log:
[08-04-17 14:04:58.7156] Slim::Music::Info::cleanTrackNumber (815) Warning: Argument "file" isn't numeric in int at /<C:\PROGRA~1\SQUEEZ~1\server\scanner.exe>Slim/Music/Info.pm line 815.

(how might I get more verbose output to see what files they occurred on?)

mherger
2008-04-17, 22:22
> (how might I get more verbose output to see what files they occurred
> on?)

Set scan.* logging to debug.

Michael