Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-30-2014, 03:46 AM   #1
CC-GoE
Junior Member
CC-GoE began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2014
Device: none
Metadata Change->Library Folder Structure?

HI!
Noob here...
I did my first change in metadata of some books.
Specifically, I changed an author name, and also some book titles.
And saved my changes.
I went to the Library folder, which is handled by Calibre.
But, I see that both the author name, and the titles, have not been changed.
They are the same as before...
Can I do something, so that the folder corresponds to the actual new metadata?
CC-GoE is offline   Reply With Quote
Old 03-30-2014, 04:13 AM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
It should automatically do that.

Are you running a cloud sync program? If so, you may have ended up with duplicated folders -- calibre moved them, but Dropbox/SkyDrive/Box/Copy.com/whatever restoredthe old versions.

Or storing the library on a NAS? that would prevent calibre from making the necessary changes -- NAS storage is heavily recommended against.

To test, can you try running Library Maintenance from the dropdown under the switch Library icon in the toolbar. Use Check Library. It will go in two stages, the first checks for database errors, the second stage will ask if you want to check that the database matches the actual files/folders. That includes a check for extra files/folders not associated with the database at all.
eschwartz is offline   Reply With Quote
Advert
Old 03-30-2014, 04:45 AM   #3
CC-GoE
Junior Member
CC-GoE began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2014
Device: none
Thanks for the quick reply.

Quote:
Originally Posted by eschwartz View Post
It should automatically do that.

Are you running a cloud sync program? If so, you may have ended up with duplicated folders -- calibre moved them, but Dropbox/SkyDrive/Box/Copy.com/whatever restoredthe old versions.
No. Not using any could sync program.

Quote:
Originally Posted by eschwartz View Post
Or storing the library on a NAS? that would prevent calibre from making the necessary changes -- NAS storage is heavily recommended against.
Nope. Don't even know what a NAS is.

Quote:
Originally Posted by eschwartz View Post
To test, can you try running Library Maintenance from the dropdown under the switch Library icon in the toolbar. Use Check Library. It will go in two stages, the first checks for database errors, the second stage will ask if you want to check that the database matches the actual files/folders. That includes a check for extra files/folders not associated with the database at all.
Did that. First stage says:
Code:
Found no errors...
Then asks:
Code:
Do you want calibre to check...
I press yes.
And...
Code:
The files in your library match the information in the database.
Still, some book titles are the same as I inserted them in the first place.
Did some changes to them, but the actual folders have not been changed, but just left intact as in the first place...
CC-GoE is offline   Reply With Quote
Old 03-30-2014, 05:23 AM   #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,721
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@CC-GoE - what Operating System and File System are you using - and can you give an example of what you changed?

BR
BetterRed is offline   Reply With Quote
Old 03-30-2014, 09:12 AM   #5
CC-GoE
Junior Member
CC-GoE began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2014
Device: none
Quote:
Originally Posted by BetterRed View Post
@CC-GoE - what Operating System and File System are you using - and can you give an example of what you changed?

BR
Yeah sure.
OS: Windows 7 SP1 Home Premium 32bit
File System: NTFS (2 Drives: C And D)
(Calibre installed in C Program Files)
(Calibre Library located in D)

Examples:
1. Had some books of Plato (http://en.wikipedia.org/wiki/Plato)
(Actually hehe I had it wrong before in English. Had used Platon and not Plato. Nevermind that.)
Change: Changed the author name, from Platon to Πλάτων (Greek)
The folder remains: Platon

2. Had some books of Paulo Coelho.
Those are books in Greek language.
I went and changed the titles of those books from Greeklish to Greek.

IE: Enteka Lepta -> Έντεκα Λεπτά

The folders under Coelho Paulo, remain the same in Greeklish.

3. Actually, in my Library folder, some titles are truncated and they are not even in correspondence to my actual titles in previous metadata changes.

IE1:
Title as I have in metadata:
Sams Teach Yourself SQL in 10 Minutes
Actual folder in Library:
Sams Teach Yourself SQL in 10 Minute (54)

IE2:
Title as I have in metadata:
Apache Maven 2 Effective Implementation
Actual folder in Library:
Apache Maven 2 Effective Implementat (39)

And others too...


So, it seems like my folders in Library, are not been updated to changes in metadata. Is this normal?

Last edited by CC-GoE; 03-30-2014 at 09:15 AM.
CC-GoE is offline   Reply With Quote
Advert
Old 03-30-2014, 09:53 AM   #6
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
If you update author or title, then that information is used to give path and filename of your books. However calibre takes some liberties with the metadata. Characters are replaced and the items may be truncated to ensure that the path and filename is valid. And since calibre is cross platform, calibre is rather strict when replacing characters. Also a number is added inside parentheses.

The folder and filenames are automatically updated when you change author and title in the GUI. No need to save anything.

If you can't see the effects of the update, then you are looking at the wrong place, are mistaken about the current metadata or your calibre library is corrupt. Or perhaps all of this at the same time.

You typically shouldn't access the books from inside the calibre library. Instead use the GUI or save the books to an external folder using the save to disk template. If you access the books directly in the calibre library, then you may make the library corrupt.

As has already been suggested, run the library maintenance tools to ensure the library is OK.
Adoby is offline   Reply With Quote
Old 03-30-2014, 10:43 AM   #7
CC-GoE
Junior Member
CC-GoE began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2014
Device: none
Quote:
Originally Posted by Adoby View Post
If you update author or title, then that information is used to give path and filename of your books. However calibre takes some liberties with the metadata. Characters are replaced and the items may be truncated to ensure that the path and filename is valid. And since calibre is cross platform, calibre is rather strict when replacing characters. Also a number is added inside parentheses.

The folder and filenames are automatically updated when you change author and title in the GUI. No need to save anything.

...
WoW!
Hey ppl!
Actually, I found out the cause of my issues.
Everything is at is should be.
Except from this amazing little detail:

The Greek characters, are been translated/transformed to English ones!
Examples:

Πλάτων -> Platon
Τόμος Γ' -> Tomos G'
Ο Διάβολος Και Η Δεσποινίδα Πριμ -> O Diabolos Kai E Despoinida Prim
...

Together of course with the things you said, like truncating some filenames, and adding a number in parentheses afterwards.

So, it seems now, that my questions shifts to this more specific one:
Can Calibre support Greek and other Unicode characters in its folder structure hierarchy? Or is it, that Calibre will handle all Greek and other Unicode letters internally, and do those translations in its internal folder library structure?

NOTE: My metadata as shown in the GUI is 100% correct.
All Greek letters are shown correctly after I changed them...

CHEERS!

Last edited by CC-GoE; 03-30-2014 at 10:46 AM.
CC-GoE is offline   Reply With Quote
Old 03-30-2014, 12:43 PM   #8
Divingduck
Wizard
Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.
 
Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
Quote:
Originally Posted by CC-GoE View Post
WoW!
...
The Greek characters, are been translated/transformed to English ones!
Examples:

Πλάτων -> Platon
Τόμος Γ' -> Tomos G'
Ο Διάβολος Και Η Δεσποινίδα Πριμ -> O Diabolos Kai E Despoinida Prim
...
So, it seems now, that my questions shifts to this more specific one:
Can Calibre support Greek and other Unicode characters in its folder structure hierarchy? Or is it, that Calibre will handle all Greek and other Unicode letters internally, and do those translations in its internal folder library structure?
Guess this have to do with compatibility of file systems. Some do not support Unicode and / or special characters. The library design is set up in a way to support them all, what means with a limited common set of characters (ASCII code w/o special characters).
Using save book to disc, you have more control on this.
Divingduck is offline   Reply With Quote
Old 03-30-2014, 01:44 PM   #9
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: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
It really does not matter what name Calibre stores files as internally.
Its other job is to deliver the book to the device without you needing to know where it was stored in the library.
Project Gutenberg has been filing books as PG#### all along. Unfortunately, they also deliver them with that as the filename
theducks is offline   Reply With Quote
Old 03-30-2014, 04:05 PM   #10
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,721
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post
It really does not matter what name Calibre stores files as internally.
Its other job is to deliver the book to the device without you needing to know where it was stored in the library.
When you edit a format file the name of the file (in some cases the full path name) is displayed by the editor you use, usually in the window title - including the calibre book editor, sigil, word processors, text editors etc.

If nothing else it can be disconcerting to find one is editing a file whose name is absolute gobbledegook - as happens with books whose titles and authors are written in Arabic, Farsi, Korean etc. Such as the EPUB for الأسود يليق بك by أحلام مستغانمي appearing in the calibre book editor title as al'swd ylyq bk - 'Hlam mstGanmy.epub

Imagine you had the Swedish book 'Snabb brun räv' in your library, and when you opened the PDF in Acrobat reader you saw الثعلب البنى السريع, rather than 'Snabb brun rav'

I am not suggesting anything should be done about it, but I am suggesting that one should try to appreciate the perspective of people whose language doesn't use the Latin alphabet.

BR

Last edited by BetterRed; 04-02-2014 at 03:32 PM.
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Library - default folder and filename structure diazlaz Library Management 4 12-27-2013 01:49 PM
Library Folder Structure TedBronson Library Management 1 04-03-2013 05:39 PM
changing the structure of library folder? devilly Library Management 6 01-17-2013 11:32 AM
non-English characters in calibre library folder structure ursus101 Library Management 3 09-11-2011 07:37 PM
Want to change folder structure or file names in the Calibre library? Manichean Library Management 0 01-30-2011 10:51 AM


All times are GMT -4. The time now is 07:25 AM.


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