FANDOM


In build file, include Musicbee's own SQLite dll:

<references>
<include name='C:\Program Files (x86)\MusicBee\System.Data.SQLite.dll'/>  
</references>

In plugin, just SQlite away:

using System.Data.SQLite; //http://system.data.sqlite.org

pluginDBFileName = mbApi.Setting_GetPersistentStoragePath()+sep+about.Name+".db"; 

DB = new SQLiteConnection(@"Data Source="+pluginDBFileName);
DB.Open();

Community content is available under CC-BY-SA unless otherwise noted.