Ok, had a bit of a play this afternoon. I think I'll have to put the app on hold for the mo. Maybe I was a little too excited!!!
I've downloaded a package called SQLite2009 Pro Enterprise Manager from http://osenxpsuite.net/?xp=3&uid=managementtools this is Windows only, but freeware. This enables us to be able to edit/write to the files. WAIT!!!!!!!!
Another package I've looked at is view only, but may also have it's uses. This is SQTView from downloads.com. This is also Windows only. I've also tried a php based package called SQLiteManager, but had problems getting it to upload the database. Mainly cause I was rushing, and couldn't be bothered to figure out any more.
Back to what I was saying.
THIS IS EXPERIMENTAL. DO NOT USE ON REAL DDS LIBRARIES YOU EXPECT TO BE ABLE TO LOAD ON YOUR DDS!!!
If you look inside your .library folder you'll see a number of files (obviously a backup in a safe place!!).
database : the main database library. Contains tables for tracks, playlists, playlist tracks... etc. full details on way.
blobs_database : stores 2 tables. One for blobs.
So far I've been playing with the import and export of these tables to the various formats. It isn't quite as straight forward as I had imagined!!
Here's the scenario so far. If I want to add a record I need to add it via an SQL (either MySQL or SQLite3 syntax). Not too bad, but the app has to send it to a command shell parser.
Now, if I want to get that data back, I'd need to do an SQL Query of the tables. Again not that difficult but then I need to programatically parse the resulted record set and split it into cells and stuff. So the edit is trickier still, but not impossible!!!
I had been hoping that a precompiled VB dll (yes.... VB..... I know, but not going to a masterpiece of a program is it!!) would already exist, but I can't find one. My other option was a PHP program, but you've not seen my PHP!!!.
More Later,
Van.
