I'm trying to get the squeezecenter package working on my MBW II (the white light one). I've read all the posts I could find and have gathered:
-If I can get it working it will probably be slow
-While some have gotten the slimserver package working it doesn't seem like anyone has gotten squeezecenter working
Here's what I've tried:
First I installed squeezecenter:
# ipkg install squeezecenterthat seems to install squeezecenter and all of its components.
I then tried the obvious:
# /opt/etc/init.d/S99squeezecenter startwhich appears to work, with an output of:
Starting SlimServerSlimserver daemon started OK. PID is 6930.. When I check the status right after sometimes it will say that its running but it will eventually quit and I'll get:
# /opt/etc/init.d/S99squeezecenter status
Checking for SlimServer: not running - last PID 6930)I looked at the log file and only found a problem with the IPDetect.pm file, but that seems to be benign as it still returns the proper ip address:
Use of uninitialized value $proto in getprotobynumber at /opt/share/squeezecenter/Slim/Utils/IPDetect.pm line 76.
Use of uninitialized value $proto in socket at /opt/share/squeezecenter/Slim/Utils/IPDetect.pm line 90.I did also try removing the AutoCommits as this forum suggested (http://forums.slimdevices.com/showthread.php?t=62842) with this script, but it didn't seem to do anything.
#! /opt/bin/bash
chmod 644 /opt/lib/perl5/site_perl/5.10.0/arm-linux/DBI.pm
cd /opt/share/slimserver
if [ ! -f /opt/lib/perl5/site_perl/5.10.0/arm-linux/DBI.pm.orig ]
then
cp /opt/lib/perl5/site_perl/5.10.0/arm-linux/DBI.pm /opt/lib/perl5/site_perl/5.10.0/arm-linux/DBI.pm.orig
/opt/bin/sed -e '/dbh->STORE.*AutoCommit.*0/s/^/#/' /opt/lib/perl5/site_perl/5.10.0/arm-linux/DBI.pm
fi
if [ ! -f CPAN/DBI.pm.orig ]
then
cp CPAN/DBI.pm CPAN/DBI.pm.orig
/opt/bin/sed -e '/dbh->STORE.*AutoCommit.*0/s/^/#/' CPAN/DBI.pm
fi
if [ ! -f scanner.pl.orig ]
then
cp scanner.pl scanner.pl.orig
/opt/bin/sed -i.orig -e "/Slim::Schema->storage->dbh->{'AutoCommit'} = 0/s/^/#/" scanner.pl
fi
if [ ! -f Slim/Schema/Playlist.pm.orig ]
then
cp Slim/Schema/Playlist.pm Slim/Schema/Playlist.pm.orig
/opt/bin/sed -i.orig -e "/Slim::Schema->storage->dbh->{'AutoCommit'} = 0/s/^/#/" Slim/Schema/Playlist.pm
fi
if [ ! -f Slim/Music/Import.pm.orig ]
then
cp Slim/Music/Import.pm Slim/Music/Import.pm.orig
/opt/bin/sed -i.orig -e "/Slim::Schema->storage->dbh->{'AutoCommit'} = 0/s/^/#/" Slim/Music/Import.pm
fiI've played with this for quite a while and can't figure out how to debug this further. Does anyone have any tips?














