New built-in commands - "LockVideoDatabase" and "UnlockVideoDatabase"?
#1
Question 
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
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#2
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
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
Cool, ...could you please explain that to phunkyfish so that he does it that way instead?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply

Logout Mark Read Team Forum Stats Members Help
New built-in commands - "LockVideoDatabase" and "UnlockVideoDatabase"?0