PDA

View Full Version : Scan fails to detect music in new install of SC7



Diana
2007-12-19, 04:02
Folks >>> I'd be grateful for any suggestions:

I just thought I'd try SC7 on my 'testing' box, which runs Ubuntu Gutsy.
I added <deb http://debian.slimdevices.com unstable main > to my
sources.list, and used aptitude from the command line to install
'slimserver'

I started the web interface and entered the data requested. The scan
did not pick up the 'test' music, which is in /home/diana/music on the
hard drive in the box and comprises two artist folders containing five
albums with a total of 75 songs. I did a 'clear and rescan', which also
failed.

The log shows 28 entries of the form

[07-12-19 09:37:27.5674] Slim::Utils::Scanner::__ANON__ (158) Warning:
Use of uninitialized value in concatenation (.) or string at
/usr/share/perl5/Slim/Utils/Scanner.pm line 158.
[07-12-19 09:37:27.5948] Slim::Utils::Misc::msg (1228) Warning:
[09:37:27.5683] ERROR:

I'm using

SqueezeCenter Version: 7.0 - 15454 - Debian - EN - utf8
Perl Version: 5.8.8 i486-linux-gnu-thread-multi
MySQL Version: 5.0.45-Debian_1ubuntu3

Platform Architecture: i686-linux

I 'aptitude removed' and 'purged' slimserver, and deleted
/etc/slimserver, then reinstalled. No joy - same problem.

Any ideas would be welcome.

--
Diana

mherger
2007-12-19, 04:19
> I started the web interface and entered the data requested. The scan
> did not pick up the 'test' music, which is in /home/diana/music on the

Does the slimserver user have the permission to access that folder? Sounds like your own home folder to me.

Diana
2007-12-19, 04:35
Michael Herger wrote:
>> I started the web interface and entered the data requested. The
>> scan did not pick up the 'test' music, which is in
>> /home/diana/music on the
>
> Does the slimserver user have the permission to access that folder?
> Sounds like your own home folder to me.


Michael >>> Yes, it is. Is SC expecting something else?

Anyway, I'll check the permissions - I guess I just add 'slimserver' to
the group. Will that do it?

(BTW I don't think I saw any warning / advice about this during the
interactive initialisation. Good job I've got friends in high places,
and know how to get their advice!)

Best wishes

Diana

mherger
2007-12-19, 04:54
>> Does the slimserver user have the permission to access that folder?
>> Sounds like your own home folder to me.
>
> Michael >>> Yes, it is. Is SC expecting something else?

SC isn't expecting anything but the permission to access the path you define as the music path.

> Anyway, I'll check the permissions - I guess I just add 'slimserver' to
> the group. Will that do it?

Should do, yes.

> (BTW I don't think I saw any warning / advice about this during the
> interactive initialisation. Good job I've got friends in high places,
> and know how to get their advice!)

Hmm... the path should be verified and flash red if it's not accessible. You could try the browse button: are you able to browse to the music folder?

Diana
2007-12-19, 06:34
Michael Herger wrote:
> Hmm... the path should be verified and flash red if it's not
> accessible. You could try the browse button: are you able to browse
> to the music folder?

I didn't get the red flash warning, but I could browse to the music
folder (though the files were not added to the library).

However, you were right about this being a permissions issue. I'd drag
the music across from a network drive, and forgot to check the
permissions...

I've just done a chmod -R 755, and the scan then worked fine. (So no
need to mess about with slimserver's groups.)

Doh!

Sorry for bothering you (though I guess you're interested to hear that I
didn't get a warning about inaccessible files?)

Best wishes

Diana

mherger
2007-12-19, 06:36
> Sorry for bothering you (though I guess you're interested to hear that I
> didn't get a warning about inaccessible files?)

We only verify the folder, not every file in there. The files are only checked when the scan is started.

Michael

Diana
2007-12-19, 06:39
Michael Herger wrote:
> We only verify the folder, not every file in there. The files are
> only checked when the scan is started.


Of course. Checking the files might slow things down a tad! ;-)


Diana