Well, Last night I switched to version 6.5, mainly because the native
ogg and better wma radio support. I must say this was the hardest
upgrade on slimserver aver, and I've been running slimserver when it
still was called slimp3. 
My box runs fedora core 4 x86_64, so the same problem as reported in
this thread; no way mysqld would start. I did not want slimserver
inside my normal mysql install for several reasons. So i 'needed' to
have slimserver use his own mysql instance.
The ln -s trick;
cd /usr/local/slimserver/Bin
ln -s i386-linux/ linux
worked wonderfull. (Although in the course of action somehow slimserver
managed to knock down my mysql4 installation. The thread was still
running, but it did not answer any requests. No clue why that
happened.)
After that slimserver started and stayed running. 
Then the initial scan of my music directory; This was not funny at all,
every 1000 songs or so the scan stopped 
First start;  Found 15929 files in /data/mp3
After that tons and tons of:

Code:
--------------------
    
  Use of uninitialized value in string eq at 
/usr/local/slimserver/lib/MP3/Info.pm line 823, <$fh> line 1.
--------------------

Eventually followed by:

Code:
--------------------
    
  Argument "53 Mb" isn't numeric in addition (+) at 
/usr/local/slimserver/Slim/Formats/MP3.pm line 327, <$mpeg> line 1.
  2006-09-28 02:36:47.1758 ERROR: Error executing 'INSERT INTO genre_track 
(genre, track) VALUES (?, ?)': DBD::mysql::st execute failed: Cannot add or 
update a child row: a foreign key constraint fails (`slimserver/genre_track`, 
CONSTRAINT `genre_track_ibfk_1` FOREIGN KEY (`track`) REFERENCES `tracks` 
(`id`) ON DELETE CASCADE) at 
/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 771.
  
--------------------

Luckily hitting rescan over and over again did manage to get most of
the music scanned and stored in the database. 
I know there are some songs with wrong or unreadable tags, but I think
that the mere existance of these things in a music collection is enough
reason for the scan to die ungracefully like it did on my system.
(Thinking about that, maybe I could try sql injection through MP3 tages
?)

Anyways, now that it's running, no complaints whatsoever. Most of my
problems with the artwork have vanished and ogg out of the box works
like a charm. The wma radio stations suddenly started working again so
it was worth the effort after all. But this could have been a nicer
experience if the simlink exsisted in the first place. Changes that it
will work on a x86_64 are very high and that would mean a less troubled
upgrade for most users like me.

cheers


-- 
xiffy
------------------------------------------------------------------------
xiffy's Profile: http://forums.slimdevices.com/member.php?userid=1043
View this thread: http://forums.slimdevices.com/showthread.php?t=27843

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to