OK, let's say that I am still a neophyte with linux.  Do I just open
/usr/share/perl5/Slim/Schema.pm in gedit and add this line:


Slim::Utils::SQLHelper->executeSQLFile(
$class->driver, $class->storage->dbh,
"/usr/share/slimserver/SQL/mysql/schema_clear.sql"
);

Is this correct?  Then do I have chmod the file?  Sorry if these are
stupid questions.



snarlydwarf Wrote: 
> No, it hasn't been fixed, but it's not hard to fix yourself:  Look in
> /usr/share/perl5/Slim/Schema.pm
> 
> At line 267, youĺl see the reference to schema_clear.sql.
> 
> I'm lazy and didn't feel like doing a "real" fix (ie, using a function
> call to find the right place for the file).   I just hardcoded it:
> 
> Slim::Utils::SQLHelper->executeSQLFile(
> $class->driver, $class->storage->dbh,
> "/usr/share/slimserver/SQL/mysql/schema_clear.sql"
> );
> 
> Now it can clear the database before rescanning.  (Without that, it
> would think it cleared it... and would double your tracks.)
> 
> Oh, yeah, one other bug: the "Now Playing" playlist keeps getting
> inserted into the playlist every track.  Not a huge deal, not even
> noticable other than the track count keeps increasing, but it's not
> real.
> 
> Unlike prior versions, rescan does wipe your database, then you have
> nothing in it until it is done scanning.  So try to only listen to
> netradio while it does that... adding stuff through browse music folder
> while rescan is running tends to duplicate entries.
> 
> A bug has been filed on the bad path
> http://bugs.slimdevices.com/show_bug.cgi?id=3515 so it should be fixed
> when Dan gets a chance to make it pretty, but it's easy enough to do it
> the ugly way. :)


-- 
DarthOverlord
------------------------------------------------------------------------
DarthOverlord's Profile: http://forums.slimdevices.com/member.php?userid=3863
View this thread: http://forums.slimdevices.com/showthread.php?t=20603

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

Reply via email to