Kodi Community Forum

Full Version: New built-in commands - "LockVideoDatabase" and "UnlockVideoDatabase"?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
http://forum.xbmc.org/showthread.php?tid=27990&page=5

Video and music, etc. databases should be able to be locked/unlocked seperatly

Good idea? Huh
ATM you won't be able to overwrite any of the db's while you are browsing them (even if you are just sitting in My Music for instance).

Whether this is sensible or not I'm not sure - but certainly some sort of "global lock" is not IMO the way to go as it means a single thread can access the db at a time, whereas sqLite (to my knowledge) handles multi threading just fine.

You should be able to update the tables etc. instead of simply overwriting the files as it is.

Cheers,
Jonathan
Cool, ...could you please explain that to phunkyfish so that he does it that way instead?