Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-08-2022, 08:47 AM   #1
tn4w
Enthusiast
tn4w began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Aug 2022
Device: Windows 10
Read Only Calibre

I'd like to see this feature as I often get the "database is locked" error. There is a script I run which continuously adds books to Calibre. While it is running, sometimes I want to check how many books are added and check added book covers.

What about introducing a command line switch which makes the program copy the default library database file with a temporary file name when starting the program and loads the copied database and deletes it after closing the program?
tn4w is offline   Reply With Quote
Old 12-08-2022, 08:56 AM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by tn4w View Post
I'd like to see this feature as I often get the "database is locked" error. There is a script I run which continuously adds books to Calibre. While it is running, sometimes I want to check how many books are added and check added book covers.

What about introducing a command line switch which makes the program copy the default library database file with a temporary file name when starting the program and loads the copied database and deletes it after closing the program?
Forget the script and just add these eBooks when the GUI is running.
JSWolf is offline   Reply With Quote
Old 12-08-2022, 09:37 AM   #3
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
CalibreSpy GUI Plugin is Always Read-Only & Command Line

Simply use the CalibreSpy plugin that runs from the command line without the Calibre GUI running, and is always read-only. Multiple instances can be executed simultaneously for the same or different Calibre Libraries, while the Calibre GUI is not running.


https://www.mobileread.com/forums/sh...d.php?t=310103





DaltonST

Last edited by DaltonST; 12-08-2022 at 11:21 AM.
DaltonST is offline   Reply With Quote
Old 12-08-2022, 03:19 PM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,731
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
↑ ↑ ↑ ✔

I use calibre-spy for tangentially similar reasons.

Moderator Notice


Moved into a fresh thread, be careful about adding to very old threads ==>> https://www.mobileread.com/forums/sh...d.php?t=192555.


Last edited by BetterRed; 12-09-2022 at 12:06 AM.
BetterRed is offline   Reply With Quote
Old 12-08-2022, 10:24 PM   #5
tn4w
Enthusiast
tn4w began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Aug 2022
Device: Windows 10
Quote:
Originally Posted by DaltonST View Post
Simply use the CalibreSpy plugin that runs from the command line without the Calibre GUI running, and is always read-only. Multiple instances can be executed simultaneously for the same or different Calibre Libraries, while the Calibre GUI is not running.
It just crashes Calibre on my system and I'm unable to even grasp what it does.

Quote:
Originally Posted by BetterRed View Post
Moved into a fresh thread, be careful about adding to very old threads.
The old topic you separated is directly relevant and shows there are users who need it even back in 2012 which is 10 years ago.

Such an action gives an impression to forum visitors that the Calibre project downplays users' feedback.
tn4w is offline   Reply With Quote
Old 12-08-2022, 10:36 PM   #6
slm
Fool
slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.
 
Posts: 468
Karma: 4113712
Join Date: Feb 2003
Device: Kindle: Voyage,PW1,KOA, Kobo: Clara Colour, Nook GLP, Pocketbook verse
Another way to interact with Calibre as "read-only" is to use the Calibre server on a browser. If you don't set up password authorization, the server provides pretty good read-only access to Calibre.
slm is offline   Reply With Quote
Old 12-08-2022, 10:44 PM   #7
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: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The database is only part of a library. copying the metadata file is not sufficient, you need to copy the entire library folder. And make sure you dont use any multi library actions like copy to library or switching libraries. And if you want to do that, write a 5 line script to do it for you.

calibre itself is never going to be read-only (and note that even if it was read only you would still get database locked errors, since reading from a database will prevent other processes from writing to it).
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How could I document my reading history in Calibre (book status read / not-read / fin markus98 Library Management 15 02-15-2020 02:29 AM
wANT TO sync the last read page on my calibre laptop to my calibre cloud pro zetsui Calibre 12 02-18-2016 10:56 AM
Calibre Library vs Calibre Companion (Read column) bhoon Library Management 2 05-11-2015 11:22 PM
updating read-date read from cc to calibre peaceridge Calibre Companion 2 02-11-2015 12:24 PM
Is it possible to get Calibre View to read ebooks not in the Calibre library? photon_man62 Calibre 23 07-16-2014 11:29 PM


All times are GMT -4. The time now is 08:35 AM.


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