|01-10-2012, 06:18 AM||#1|
Join Date: May 2011
Location: London, UK
Device: iPad Pro 9.7, iPad mini 4, Kobo Aura One, Nook ST Glowlight
Test for Calibre open on another computer
I use Dropbox to store my Calibre library so it's available to all my machines.
Since it's a bad idea to run more than one copy of Calibre at a time, would it be possible for Calibre to check, at start-up, whether the metadata.db file is open and then warn the user that the library is already in use? Would this be useful?
|01-10-2012, 06:32 AM||#3|
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Because of the way that DropBox works this is not technically possible. There is no feature in DropBox that informs the local app that the file in question is open elsewhere.
You could probably write your own crude check mechanism if you wrote a script/batch file (depending on OS) to check if a marker file that you created during the Calibre launch existed. However you would have to handle issues like making sure that the file was removed when Calibre cleanly exited; having an over-ride capability for case where Calibre crashed and also making sure that wherever you started Calibre you had an active internet connection so that DropBox could replicate the required file changes. Therefore whether it is worth it might be something to consider.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|How do I make all .pdf's in my calibre library open in calibre instead of preview||morbo3000||Library Management||9||07-30-2011 11:39 AM|
|Calibre test email not working||slade||Calibre||7||06-04-2011 01:59 AM|
|calibre Portable 0.6.23 Development Test 1||Dopedangel||Calibre||5||11-30-2009 11:29 AM|
|eReader test book request for Calibre||user_none||Other formats||17||04-25-2009 01:58 PM|
|Open Office PDF Font Test Poll||scottcstoness||Sony Reader||2||11-24-2006 03:04 AM|