This page is still under construction. Feel free to help out! If you're not able to find what you need on this topic, try asking at the MusicBee Forum. See Category:Under Construction for other incomplete pages. |
In build file, include Musicbee's own SQLite dll: <code=xml>
<references> <include name='C:\Program Files (x86)\MusicBee\System.Data.SQLite.dll'/> </references>
In plugin, just SQlite away:
<code=csharp>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();