View Single Post
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#290
Originally Posted by kazuki View Post
ok i really need some help now. now every time i start cutetube qml, my download list is x^2. i went to the download list and delete them. but next time i come back to cutetubeqml, its back again only x^2 again. is there a list file i can remove? or is there some file with improper permissions?
There was an error in 0.3.4, which meant that the filepath was not set for downloads. If you update using HAM/FapMan, you should be able to delete the downloads. If the problem persists, you can delete the download database table by inserting a DROP TABLE command in the settings initialisation:

Code:
function initialize() {
    var db = getDatabase();
    db.transaction(
                function(tx) {
                    // Create the settings table if it doesn't already exist
                    // If the table exists, this is skipped
                    tx.executeSql('CREATE TABLE IF NOT EXISTS accounts(username TEXT UNIQUE, password TEXT, isDefault INTEGER)');
                    tx.executeSql('CREATE TABLE IF NOT EXISTS settings(setting TEXT UNIQUE, value TEXT)');
                    tx.executeSql('CREATE TABLE IF NOT EXISTS searches(searchterm TEXT UNIQUE)');
                    tx.executeSql('DROP TABLE downloads');
                    tx.executeSql('CREATE TABLE IF NOT EXISTS downloads (filePath TEXT UNIQUE, playerUrl TEXT, title TEXT, thumbnail TEXT)');
                    tx.executeSql('CREATE TABLE IF NOT EXISTS archive (filePath TEXT UNIQUE, title TEXT, thumbnail TEXT, quality TEXT, isNew INTEGER)');
                    setDefaultSettings();
                });
}
This will delete the old table and replace it with a clean one. You will then need to remove the inserted line.
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub

Last edited by marxian; 2011-04-11 at 16:56.