Let me refine my 2nd question:

In my plugin, is something along the lines of...

Code:
--------------------
    
  my $serverprefs = preferences('server');
  my $dbsource = $serverprefs->get('dbsource');
  my $dbconnect = sprintf($dbsource, $cachedir . 'squeezebox.db');
  $dbh = DBI->connect( $dbconnect );
  $dbh->do($SQL_query);
  $dbh->disconnect;
  
--------------------

..the way to go, or do I need to somehow using SBS's already open
connection?

Again, thanks, and sorry about the rudimentary nature of this question.
I generally only need a small amount of spoon-feeding to get me headed
in the right direction.


-- 
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=75024

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

Reply via email to