Jump to content

How is the db file created?


scalda
 Share

Recommended Posts

Hi all,

 

Not sure if anyone can help, but i would like to know what is used to create the database files that media-browser reads and writes to, is it a mysql database or an alternative.

 

As i would like to tie xbmc into MB3's database not just MB3 creating metadata in the folders and still have xbmc create its own database locally?

 

Any help is considered

 

TIA

 

Scalda

Link to comment
Share on other sites

Hi all,

 

Not sure if anyone can help, but i would like to know what is used to create the database files that media-browser reads and writes to, is it a mysql database or an alternative.

 

As i would like to tie xbmc into MB3's database not just MB3 creating metadata in the folders and still have xbmc create its own database locally?

 

Any help is considered

 

TIA

 

Scalda

 

I believe it is SQLite, but I could be wrong.

 

I am sure a dev will chime in with the for sure answer

 

Cheers

Link to comment
Share on other sites

Sqlite. Tying in xbmc is a great idea, but it shouldn't go directly to the db, because that's hidden behind the scenes and can change at anytime. It should go through our web based api.

 

Perhaps you can contribute to xnappo's project:

 

http://mediabrowser.tv/community/index.php?/topic/1286-mb3-addon-in-xbmc

 

Hi luke, 

 

i am an xbmc user and xnappo's app doesn't entice me over to to using Mb3, as if i want to access the files i can just browse to the video location and play it without the need to go through an addon

 

if xbmc could directly access the MB3 Database then it wouldn't need to create its own database locally which kind of creates MB3 as a backend pointless, as xbmc can and does get its own metadata if it isn't available locally.

 

I don't think you are going to get many xbmc users over just because MB3 creates a few bits of metadata unless you have something else in mind that we don't know about??

Link to comment
Share on other sites

Yea, all of the mb3 features that the api has. I think when you see MBT you'll understand.

sorry but my first impressions of MBT is not great to be honest

Link to comment
Share on other sites

And that's fine, but that's only one client. The api still has a vast feature set, which is anyone who wants to tap into the data should go through that.

Link to comment
Share on other sites

Please, do not try to directly access our DB.  That will certainly only create problems for both you and us.  The published API can get you anything that is in our DB.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...