Fandom

MusicBee Wiki

Using MusicBee's Own SQLite Library

180pages on
this wiki
Add New Page
Comments8 Share

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();

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.