getmusicbee.com

Support => Tips and Tricks => Topic started by: e-motiv on July 03, 2011, 07:51:41 PM

Title: [OBSOLETE] API Docs, HowTo's etc..
Post by: e-motiv on July 03, 2011, 07:51:41 PM
[Edit]
OBSOLETE!!
Everything is here now:
http://musicbee.wikia.com/wiki/API_Documentation
http://musicbee.wikia.com/wiki/API_method_reference


First check this post and download the latest example files for your choice of language: 
MusicBee API (http://getmusicbee.com/forum/index.php?topic=1972.0)
Then get the latest weekly Musicbee build:
MusicBee latest build (http://getmusicbee.com/forum/index.php?topic=551.999#footerarea)

Here is my "very basics" for starting with the MB API, based on help from people on this forum:
Musicbee API - Very Basics.html (http://dl.dropbox.com/u/10044846/Musicbee/Musicbee%20API%20-%20Very%20Basics.html)

Feel free to add API howto's to this thread. (No discussions please.)
Title: Function reference
Post by: e-motiv on July 05, 2011, 12:06:35 PM
Trial to get a function help / reference. Please update this list if you find the time:

Title: Re: API Docs, HowTo's etc..
Post by: e-motiv on April 10, 2012, 01:43:43 PM
NotificationType.TrackChanged means that the player changes track (to another), not the track itself being changed
Title: Using Musicbee's own SQLite library
Post by: e-motiv on June 29, 2013, 11:22:39 PM
In build file,reference MB dll:
Code
			<references>
        <include name='C:\Program Files (x86)\MusicBee\System.Data.SQLite.dll'/>
</references>
In plugin, just SQlite away:
Code
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();