This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Script for Generating HTML Collection

Tags: None
(comma "," separated)
User avatar
dgoemans
Registered Member
Posts
5
Karma
0
Hi, i'm trying to work on something that will generate an HTML page for my collection, including tags that retrieve cover art. I'm a C++ programmer and don't have that much experience with javascript, but i can code. I've looked through the documentation provided, but i can't see anything on using the db query results or what kind of queries i can do. What tables are available to me in the db? Is there a documented layout of the db somewhere? And in the following code ( assuming that columns and tables are filled in based on what i want to select ), what can i do with the results object? The dev documentation claims to return a QStringList which i can't find in the QtScript docs.

var sql = Amarok.Collection.escape( "SELECT columns FROM tables" )
results = Amarok.Collection.query ( sql )

Thanks in advance
David Goemans
User avatar
eean
KDE Developer
Posts
1016
Karma
0
OS
It should be an Array of String.


Amarok Developer


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, sandyvee, Sogou [Bot]