2012-01-10, 15:33
Ok, time for an update.
I've redone quite a lot now, biggest change is that I use the httpAPI to query the database.
What that means is that I don't have to care what database type you are using.
Tried it on the Eden beta with mysql and it seems fine also.
The downside is that it's slower then a direct access to the db, but it's not like you do this every day... but I added a progress bar for the import part so at least there is something to look at.
I did a test with a file that had ~3000 watched statuses and it took about 5minutes. Later on I might have a look and see if I can speed it up but I'm not too worried about it atm.
The export is as quick as always (~1sec) since it's only one sql query, so if you like to make regular backups of your watched data thats no problem.
Here's the new version (1.2.1) --> http://dl.dropbox.com/u/3317056/script.watched.flag.zip
I've redone quite a lot now, biggest change is that I use the httpAPI to query the database.
What that means is that I don't have to care what database type you are using.
Tried it on the Eden beta with mysql and it seems fine also.
The downside is that it's slower then a direct access to the db, but it's not like you do this every day... but I added a progress bar for the import part so at least there is something to look at.
I did a test with a file that had ~3000 watched statuses and it took about 5minutes. Later on I might have a look and see if I can speed it up but I'm not too worried about it atm.
The export is as quick as always (~1sec) since it's only one sql query, so if you like to make regular backups of your watched data thats no problem.
Here's the new version (1.2.1) --> http://dl.dropbox.com/u/3317056/script.watched.flag.zip