Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-10-2012, 05:18 AM   #1
chrisparker
Connoisseur
chrisparker can load mercury with a pitchforkchrisparker can load mercury with a pitchforkchrisparker can load mercury with a pitchforkchrisparker can load mercury with a pitchforkchrisparker can load mercury with a pitchforkchrisparker can load mercury with a pitchforkchrisparker can load mercury with a pitchforkchrisparker can load mercury with a pitchforkchrisparker can load mercury with a pitchforkchrisparker can load mercury with a pitchforkchrisparker can load mercury with a pitchfork
 
chrisparker's Avatar
 
Posts: 81
Karma: 48014
Join Date: May 2011
Location: London, UK
Device: iPad Air 4, iPad mini 5, Kobo Forma, 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?
chrisparker is offline   Reply With Quote
Old 01-10-2012, 05:29 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That isn't possible to do reliably over a dropbox share.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-10-2012, 05:32 AM   #3
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
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.
itimpi is offline   Reply With Quote
Old 01-11-2012, 05:12 AM   #4
chrisparker
Connoisseur
chrisparker can load mercury with a pitchforkchrisparker can load mercury with a pitchforkchrisparker can load mercury with a pitchforkchrisparker can load mercury with a pitchforkchrisparker can load mercury with a pitchforkchrisparker can load mercury with a pitchforkchrisparker can load mercury with a pitchforkchrisparker can load mercury with a pitchforkchrisparker can load mercury with a pitchforkchrisparker can load mercury with a pitchforkchrisparker can load mercury with a pitchfork
 
chrisparker's Avatar
 
Posts: 81
Karma: 48014
Join Date: May 2011
Location: London, UK
Device: iPad Air 4, iPad mini 5, Kobo Forma, Kobo Aura One, Nook ST Glowlight
OK, thanks, just an idea...
chrisparker is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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 10:39 AM
Calibre test email not working slade Calibre 7 06-04-2011 12:59 AM
calibre Portable 0.6.23 Development Test 1 Dopedangel Calibre 5 11-30-2009 10:29 AM
eReader test book request for Calibre user_none Other formats 17 04-25-2009 12:58 PM
Open Office PDF Font Test Poll scottcstoness Sony Reader 2 11-24-2006 02:04 AM


All times are GMT -4. The time now is 05:31 AM.


MobileRead.com is a privately owned, operated and funded community.