![]() |
#376 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
If there is a record in the db (id#) and no corresponding folder in the library, do you know if it removes that record? What happens if you have an "empty" record - added with the Add books function, which allows empty records? Does it remove that record? (I'm not sure if those cases differ.) I've tried to run the integrity check, but it's always failed. I know there was a bug, later fixed, so that may be the cause.
|
![]() |
![]() |
#377 |
Connoisseur
![]() ![]() Posts: 52
Karma: 128
Join Date: May 2010
Device: Pocketbook 360
|
I'm trying to check the database integrity... but it stays at '0 %'..
|
![]() |
Advert | |
|
![]() |
#378 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
@crangirl: did it ever finish, or at least say something? The process can take a long time on a big library. |
|
![]() |
![]() |
#379 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The integrity checker does two things:
1) Dump and reload the SQL to fix any small errors in it and automatically optimize the database 2) Go over every book, check if every format listed in the books actually has a corresponding file, if not, remove the reference to that format. |
![]() |
![]() |
#380 |
Connoisseur
![]() ![]() Posts: 52
Karma: 128
Join Date: May 2010
Device: Pocketbook 360
|
|
![]() |
Advert | |
|
![]() |
#381 |
Connoisseur
![]() ![]() Posts: 52
Karma: 128
Join Date: May 2010
Device: Pocketbook 360
|
Ah, checking the database worked (had to wait longer). Then I searched for format:false and now it did show more books/entries.
|
![]() |
![]() |
#382 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2010
Device: Iphone
|
Batch ebook-meta
Is it possible to batch edit a lot of ebook with "ebook-meta" command?
I have 500 ".epub" books. Their languages is set to UND. I want to change them into "en". I can change one by one with ebook-meta command. but when I want to change all them I recive this error: Code:
C:\Program Files\Calibre2>ebook-meta G:\Ebook\*.epub -l en Python function terminated unexpectedly (22, "invalid mode ('r+b') or filename") (Error Code: 1) Traceback (most recent call last): File "site.py", line 103, in main File "site.py", line 85, in run_entry_point File "site-packages\calibre\ebooks\metadata\cli.py", line 156, in main IOError: [Errno 22] invalid mode ('r+b') or filename: u'G:\\Ebook\\*.epub' when I use it for only one Ebook, it does the job. Although I have to change the filename to something simple. I have windows xp. I can't use GUI (Calibre 0.7.5) to convert them all to epub again, because it takes so long and my cpu temp goes to 75 C. |
![]() |
![]() |
#383 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
![]() |
![]() |
#384 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 95
Karma: 8282
Join Date: Jan 2010
Device: Kindle PW, Kobo Aura HD, Galaxy Note 10.1
|
Quote:
for %f in (*.epub) do ebook-meta %f -l en This will find all the .epub files in the current folder and run the command after the "do" on each one. |
|
![]() |
![]() |
#385 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2010
Device: Iphone
|
Quote:
for anyone who may have the same problem here is the code: Code:
for %X in ("G:\Ebook\*.*") do ( ebook-meta "%X" -l en |
|
![]() |
![]() |
#386 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2010
Device: Iphone
|
Quote:
I wish you were here sooner. It took me 2 hours of googling to learn how to use FOR. |
|
![]() |
![]() |
#387 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jul 2010
Device: nook
|
While you're doing fun DOS tricks - I created a batch file of one line:
"c:\Program files\Calibre2\ebook-convert.exe" %1 %1.pdf Now I can right click on a file and have it converted to PDF. At least the name doesn't get mangled (maybe the GUI can be told not to change the name??) and the right click is way faster than dragging/ converting / open folder / dragging back / deleting to my directory. Of course, a right click to convert *could* be a handy feature to add...just saying... |
![]() |
![]() |
#388 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jul 2010
Device: Sony PRS 505
|
Google Reader fetching - skipping tags
Hello Kovid! First of all thank you so much for Calibre! That is an incredible tool indeed :-)
And here comes a question (i ve searched through the forum, guess there was no info). Is there a way to skip some tags (proccessing the others of course), while fetching Google Reader entries with Calibre? ps: I ve found a bug ticket (Ticket #1783), where you wrote that the tags would not be proccessed with non-ASCII characters in their names. I guess something has been changed since than, unfortunately (hehe) the non-ASCII tags (Cyrrilic in my case) are currently proccessed just great :-) |
![]() |
![]() |
#389 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You'd have to modify the recipe code to do it. Try asking in the custom recipes thread, the people who wrote the recipe can usually be found there.
|
![]() |
![]() |
#390 |
Bah, humbug!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 39,072
Karma: 157049943
Join Date: Jun 2009
Location: Chesapeake, VA, USA
Device: Kindle Oasis, iPad Pro, & a Samsung Galaxy S9.
|
Another word of thanks as well, Kovid! I've given up on that crappy computer software that came with my Sony PSR-600, and am now using calibre exclusively to manage my Sony Touch library.
|
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions (and answers too!) | Stinger | Kobo Reader | 112 | 05-12-2017 11:40 AM |
PRS-300 Reader freezing frequently | paddy77 | Sony Reader | 15 | 01-17-2011 02:33 AM |
PRS-600 Do you frequently read PDFs on your PRS600? | drmaxx | Sony Reader | 20 | 09-22-2009 07:15 PM |
Questions we wish we had asked before buying a Reader | Dr. Drib | Sony Reader | 15 | 05-22-2009 06:13 AM |
Three not asked earlier questions about iLiad | Malder1 | iRex | 9 | 08-14-2006 02:10 PM |