kode54, your version works great
thanks you. Now I can safely use playcounts without touching my files
Wouldn't be better if this version were on the components database and/or be available on the first page of this thread or it's own thread? It's really hard to find it (unless you're really looking for it), ad I think it's does what a lot of users wants: add playcount without tagging the file. I'm sure a lot of users will use this component instead of the original one if they knew it exist and it's so damn easy to install (because when you see that you need SQL stuff, blabla it scares a lot of people (like me the first time) that think you have to install the whole SQL stuff).
Some questions comes to my mind:
- It's this multi-users aware? I mean, does it store my counts separetly for different users accounts?
- Can I reset the playcounts?
- Where is the info stored, in the sqlite.dll file (sorry if I'm dumb

)?
- I guess it could be great if we could have a append function, I mean as requested by someone around here, keep track of everytime a file has been played, as it would allow stuff like 'top played last month' etc...
- And could this approach (store info in SQlite) be implemented in another plugins like rating, etc...)? Because that woud be great to be able to store personal info in a external database, yum....

(i.e. if someone would be interested in making foo_quicktag use sqlite.dll...)
BTW, would you be interested in implementing
thisthis?
It'll be as simple as setting last_played field as default with the following format %Y-%m-%d %H:%M:%S.
Edit: Sorry, not so simple because it also needs to implement a first_played field.
Thanks in advance.