Register Guidelines E-Books Search Today's Posts Mark Forums Read

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 juggles running chainsaws for a bit of light exercisechrisparker juggles running chainsaws for a bit of light exercisechrisparker juggles running chainsaws for a bit of light exercisechrisparker juggles running chainsaws for a bit of light exercisechrisparker juggles running chainsaws for a bit of light exercisechrisparker juggles running chainsaws for a bit of light exercisechrisparker juggles running chainsaws for a bit of light exercisechrisparker juggles running chainsaws for a bit of light exercisechrisparker juggles running chainsaws for a bit of light exercisechrisparker juggles running chainsaws for a bit of light exercisechrisparker juggles running chainsaws for a bit of light exercise
 
chrisparker's Avatar
 
Posts: 62
Karma: 38776
Join Date: May 2011
Location: London, UK
Device: iPad mini, Kobo Aura HD, 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: 24,817
Karma: 4369673
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
 
Enthusiast
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: 3,949
Karma: 777817
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 juggles running chainsaws for a bit of light exercisechrisparker juggles running chainsaws for a bit of light exercisechrisparker juggles running chainsaws for a bit of light exercisechrisparker juggles running chainsaws for a bit of light exercisechrisparker juggles running chainsaws for a bit of light exercisechrisparker juggles running chainsaws for a bit of light exercisechrisparker juggles running chainsaws for a bit of light exercisechrisparker juggles running chainsaws for a bit of light exercisechrisparker juggles running chainsaws for a bit of light exercisechrisparker juggles running chainsaws for a bit of light exercisechrisparker juggles running chainsaws for a bit of light exercise
 
chrisparker's Avatar
 
Posts: 62
Karma: 38776
Join Date: May 2011
Location: London, UK
Device: iPad mini, Kobo Aura HD, Nook ST Glowlight
OK, thanks, just an idea...
chrisparker is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:12 PM.


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