Support and General Use > Audio Playback, Database and Playlists

SQLite plugin

<< < (2/2)

saratoga:

--- Quote from: JamClerk on July 23, 2012, 11:47:59 AM ---my files only displays folders, not the music/ video or image files contained within the folders

--- End quote ---

I'm guessing you have the view setting set to something like "playlists only". 

JamClerk:
a fresh build fixed that problem, don't know what happened there,

but the sqlite plugin isn't owrking, it just crashed when run and displayed message 'Plugin returned error', im guessing that is coming from opening the file:

--- Code: ---rc = sqlite3_open(DBFile, &db);
    if (rc)
    {
        sqlite3_close(db);
        return PLUGIN_ERROR;
    }

--- End code ---

error being returned from sqlite3.c is 'no such vfs', what does this mean?

also how do i use the logf functionality for debugging? i looked in the system/debug menu but couldn't find any messages that i tried to write to logf

torne:
The vfs is the layer sqlite uses to access actual files (such as its database). When porting sqlite to a new platform you have to implement an appropriate vfs for that platform.

I haven't actually read the patch in question, but I'm guessing it's not correctly specifying the right vfs implementation to use.

Navigation

[0] Message Index

[*] Previous page

Go to full version