home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Database for MP plugin
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="jameson_uk" data-source="post: 756226" data-attributes="member: 11220"><p>Creating a sqllite database is fairly simple. Have a look in the mp source, look at the music code within the database project. All you would need in your plugin is a reference to the sqllite dll</p><p></p><p>Something like</p><p>[code]using SQLite.NET;</p><p>...</p><p>Private SQLiteClient MyDB = new SQLiteClient(Config.GetFile(Config.Dir.Database, "mydatabase.db3"));</p><p></p><p> string strSQL;</p><p> strSQL = String.Format("select xxxx some sql {0} ", strFileName);</p><p></p><p> SQLiteResultSet results;</p><p> results = MyDB.Execute(strSQL);[/code]</p></blockquote><p></p>
[QUOTE="jameson_uk, post: 756226, member: 11220"] Creating a sqllite database is fairly simple. Have a look in the mp source, look at the music code within the database project. All you would need in your plugin is a reference to the sqllite dll Something like [code]using SQLite.NET; ... Private SQLiteClient MyDB = new SQLiteClient(Config.GetFile(Config.Dir.Database, "mydatabase.db3")); string strSQL; strSQL = String.Format("select xxxx some sql {0} ", strFileName); SQLiteResultSet results; results = MyDB.Execute(strSQL);[/code] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Database for MP plugin
Contact us
RSS
Top
Bottom