2009-05-04, 19:57
I would like to write some tools to work with the data in XBMC's database files. I'm having trouble opening the database files under Linux though.
I made a backup copy of MyVideos34.db and then tried to open it using sqlite, but I get the following error:
Trying to open the file using a simple PHP script to call "sqlite_open" gives the same error as well.
XBMC itself (under Linux) doesn't have any problems using the database and I can access it fine using SQLiteSpy under Windows.
Is there anything I need to do with the database file before I can open it using sqlite?
I made a backup copy of MyVideos34.db and then tried to open it using sqlite, but I get the following error:
Code:
sqlite MyVideos34.db
Unable to open database "MyVideos34.db": file is encrypted or is not a database
Trying to open the file using a simple PHP script to call "sqlite_open" gives the same error as well.
XBMC itself (under Linux) doesn't have any problems using the database and I can access it fine using SQLiteSpy under Windows.
Is there anything I need to do with the database file before I can open it using sqlite?