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

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 11-07-2018, 11:10 AM   #1
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Tags not stored when saving to disk?

I recently re-imported a book I'd saved to disk after accidentally deleting my library copy, and noticed that it had no tags. A quick experiment (save book tagged "Fantasy" to disk and then re-importing) shows that tags are not being saved to disk. Other metadata (e.g rating) is being saved and restored correctly.

What spell do I need to incant to ensure that the saved book includes tag data along with the other metadata?
Phssthpok is offline   Reply With Quote
Old 11-07-2018, 11:23 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,855
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I created a Tag 'Testing' (not previously use anywhere in MY library)
Then I used Save To Disk and saved the book to a temp folder
I then open said book with the e-book viewer from Explorer
I the clicked the 'show book metadata' button (color spokes)
There it is:
Code:
Published:	Mar 2018
Tags:	Testing
theducks is online now   Reply With Quote
Advert
Old 11-07-2018, 03:15 PM   #3
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,565
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Phssthpok View Post
I recently re-imported a book I'd saved to disk after accidentally deleting my library copy, and noticed that it had no tags. A quick experiment (save book tagged "Fantasy" to disk and then re-importing) shows that tags are not being saved to disk. Other metadata (e.g rating) is being saved and restored correctly.

What spell do I need to incant to ensure that the saved book includes tag data along with the other metadata?
Click image for larger version

Name:	3.JPG
Views:	349
Size:	43.8 KB
ID:	167506

BR
BetterRed is online now   Reply With Quote
Old 11-07-2018, 03:30 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,855
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by BetterRed View Post
That was set (or mostly Defaulted) so long ago, I had forgotten.
I know I turned OFF the separate cover and OPF, but I never would think of not updating metadata inside
theducks is online now   Reply With Quote
Old 11-07-2018, 04:05 PM   #5
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,565
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Yes, by default its on.

I put what I want in a 'jacket' which I shift to the back of the book, strip out non-dc items with Modify, and then use the Sigil MDE to remove subjects, description and identifiers.

Less is better, least is best

BR
BetterRed is online now   Reply With Quote
Advert
Old 11-08-2018, 05:55 AM   #6
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Quote:
Originally Posted by BetterRed View Post
I already have "Update metadata in saved copies" checked, and ratings are saved, but tags are not.
Phssthpok is offline   Reply With Quote
Old 11-08-2018, 06:27 AM   #7
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Quote:
Originally Posted by Phssthpok View Post
I already have "Update metadata in saved copies" checked, and ratings are saved, but tags are not.
OK, further investigation reveals that it's not a save-to-disk problem but an "add books" problem.

Looking at the OPF using the editor, the tags appear as a series of <dc:subject> entries. These are also present in the saved copy, but they are stripped out when the book is re-imported.

Under "Adding Books" I have "Read metadata from file contents rather than file name" checked. I can't find anything else that might cause the <dc:subject> entries to be stripped out.

Any ideas?
Phssthpok is offline   Reply With Quote
Old 11-08-2018, 06:57 AM   #8
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,565
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Phssthpok View Post
OK, further investigation reveals that it's not a save-to-disk problem but an "add books" problem.

Looking at the OPF using the editor, the tags appear as a series of <dc:subject> entries. These are also present in the saved copy, but they are stripped out when the book is re-imported.

Under "Adding Books" I have "Read metadata from file contents rather than file name" checked. I can't find anything else that might cause the <dc:subject> entries to be stripped out.

Any ideas?
Open the epub you're importing in the editor and look in the content.opf, do you see any dc:subject entries? If you do then I have no idea what the problem is.

But, maybe you are referring to a loose metadata.opf; if so, try adding it as a book, then add the epub to the the newly created book by dropping onto its details panel, then remove the OPF format file with the Remove Books->Remove specific format tool.

BR
BetterRed is online now   Reply With Quote
Old 11-08-2018, 10:58 AM   #9
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Quote:
Originally Posted by BetterRed View Post
Open the epub you're importing in the editor and look in the content.opf, do you see any dc:subject entries? If you do then I have no idea what the problem is.
Yes I do. They're there in the saved file and they disappear when the file is imported. There is no saved metadata.opf; I'm just dragging & dropping a saved epub file into the Calibre library window.

I assume there's a tweak or something somewhere that's set wrongly, and I've looked and tried a couple of likely-looking ones (e.g. add_new_book_tags_when_importing_books) but nothing I've tried makes any difference.
Phssthpok is offline   Reply With Quote
Old 11-08-2018, 11:36 AM   #10
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
If you're on Windows try a brand new install of "Calibre Portable" and add the exported ebook to that. Don't change any settings on the portable install.

If the tags show up in portable, then there's something weird going on with your normal install.
ilovejedd is offline   Reply With Quote
Old 11-08-2018, 12:55 PM   #11
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Quote:
Originally Posted by ilovejedd View Post
If you're on Windows try a brand new install of "Calibre Portable" and add the exported ebook to that. Don't change any settings on the portable install.

If the tags show up in portable, then there's something weird going on with your normal install.
Aha. Tried this, and it seems there's something weird going on with my normal install.
Phssthpok is offline   Reply With Quote
Old 11-08-2018, 12:58 PM   #12
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by Phssthpok View Post
Aha. Tried this, and it seems there's something weird going on with my normal install.
In that case, time to compare settings and tweaks on normal and portable (you can't run both at the same time so maybe take some screenshots?).

Are you using tag mapper? Any plugins installed on the normal install that might interfere with default behavior?
ilovejedd is offline   Reply With Quote
Old 11-08-2018, 01:25 PM   #13
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Quote:
Originally Posted by Phssthpok View Post
Aha. Tried this, and it seems there's something weird going on with my normal install.
I finally found the problem. In Adding Books -> Adding Actions, there's a set of "Rules to filter tags read from metadata". In there, there is a rule "Remove the tag, if it matches pattern .*". I have no idea how it got there, and I cannot delete it -- clicking "Remove the rule" removes it, but if I click OK and then open it again, it's still there. In the end I changed it to "Remove the tag, if it does not match pattern .*" and all now seems to be well.

Can't understand how the rule got there, or why its unremovable...
Phssthpok is offline   Reply With Quote
Old 11-08-2018, 03:21 PM   #14
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,565
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Phssthpok View Post
I finally found the problem. In Adding Books -> Adding Actions, there's a set of "Rules to filter tags read from metadata". In there, there is a rule "Remove the tag, if it matches pattern .*". I have no idea how it got there, and I cannot delete it -- clicking "Remove the rule" removes it, but if I click OK and then open it again, it's still there. In the end I changed it to "Remove the tag, if it does not match pattern .*" and all now seems to be well.

Can't understand how the rule got there, or why its unremovable...
Did you click the Apply button in the Adding Books window after you removed offending rule or did you just hit Esc - I've been caught with that before. -- If an Apply button gets 'activated' maybe it should blink.

BR
BetterRed is online now   Reply With Quote
Old 11-09-2018, 01:48 AM   #15
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Quote:
Originally Posted by BetterRed View Post
Did you click the Apply button in the Adding Books window after you removed offending rule or did you just hit Esc - I've been caught with that before. -- If an Apply button gets 'activated' maybe it should blink.

BR
You're right. What I did was remove the rule, click OK, then immediately open the dialog again to check (before clicking either Apply or Discard) and the rule was still there. What is needed is OK, then Apply, then go back to Adding Books, then Adding Actions, then re-open the dialog, and only then do you get to see that the rule has been deleted. Clicking OK basically just closes the dialog and activates the Apply button. A bit counter-intuitive IMHO.

Last edited by Phssthpok; 11-09-2018 at 01:51 AM.
Phssthpok 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
Need a little help with saving to disk svda Conversion 35 03-03-2014 03:08 PM
Saving to Disk paulfiera Calibre 3 07-20-2011 10:21 AM
Losing files when saving saving to disk theaccountant Library Management 4 03-10-2011 02:38 PM
Where are modified tags stored Giuseppe Chillem Calibre 12 05-18-2010 03:33 PM


All times are GMT -4. The time now is 06:32 PM.


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