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-14-2013, 11:44 PM   #1
Bigo2
Zealot
Bigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchfork
 
Posts: 130
Karma: 48786
Join Date: Oct 2010
Location: Australia - Adelaide
Device: Kindle3
The names again

Hi

In my Calibre I like the following way of naming my books (the reason is that I like to have them displayed according to the series in my Kindle:

Title:
[Known Space Series 4] Betrayer of Worlds

Author(s):
Niven, Larry

Also in my Calibre database this book name looked like this:
“D:\Calibre My\Niven, Larry\[Known Space Series 4] Betrayer of Worlds (114)\[Known Space Series 4] Betrayer of Worlds - Niven, Larry.epub"

If the name is longer, then some letters of the name are lost - that’s probably the Calibre database limitation, but this was still quite acceptable…

However recently I have found that even more letters are lost than before, now even with shorter names. I deliberately edited the metadata in Calibre for the above book name to see the resulting change in the database book name, now it is like this:

"D:\Calibre My\Niven, Larry\[Known Space Series 4] Betrayer of (114)\[Known Space Series 4] Betrayer - Niven, Larry.epub"
Instead
“D:\Calibre My\Niven, Larry\[Known Space Series 4] Betrayer of Worlds (114)\[Known Space Series 4] Betrayer of Worlds - Niven, Larry.epub"

The name of the book in Calibre itself is still the same, of course, but in the database it is damaged - it became shorter.

Why is it so? Have I done something wrong or was this changed in some late Calibre version?
Bigo2 is offline   Reply With Quote
Old 12-15-2013, 01:30 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)
I don't know about that, but you may want to make use of the series column. If you need the series to appear on devices (none of which, of course, can handle series info) you can use plugboards to set the title whenever you send to device. An example plugboard that would turn:

calibre metadata title ===== Betrayer of Worlds
calibre metadata series === Known Space Series
calibre metadata series # = 4

into: book title on device = [Known Space Series 4] Betrayer of Worlds

would be
Quote:
{series:|[| }{series_index:||] }{title}
Plugboards: a very useful (yet oddly obscure) thing.
You can read more about them here: http://manual.calibre-ebook.com/temp...and-plugboards

Or at the MobileRead Wiki: Kindle_and_Calibre_Plugboards

This may save you some shortening. It is also worth noting that nothing was broken; calibre simply wasn't able to create a longer filename due to Windows filesystem limitations. calibre still knows exactly where your books are.
eschwartz is offline   Reply With Quote
Advert
Old 12-15-2013, 02:23 AM   #3
Bigo2
Zealot
Bigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchfork
 
Posts: 130
Karma: 48786
Join Date: Oct 2010
Location: Australia - Adelaide
Device: Kindle3
Thanks I will check that... but, how come that my Calibre used to be able to save littlebit longer filenames (as I marked here in red) and now it is not?
I would like to have it at least as it used to be...

Also, windows certainly can save longer file names than those I put here as an example. Much longer.

Last edited by Bigo2; 12-15-2013 at 02:38 AM.
Bigo2 is offline   Reply With Quote
Old 12-15-2013, 03:06 AM   #4
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,379
Karma: 78877538
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
There was a change in a recent version of calibre that reduced the maximum allowable file name. I think it was either 1.0 or a version very close to 1.0.
PeterT is offline   Reply With Quote
Old 12-15-2013, 03:11 AM   #5
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,895
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by Bigo2 View Post
Thanks I will check that... but, how come that my Calibre used to be able to save littlebit longer filenames (as I marked here in red) and now it is not? I would like to have it at least as it used to be...

Also, windows certainly can save longer file names than those I put here as an example. Much longer.
Around version 1.0 calibre reduced the path length of the books in its library due to some edge cases that caused problems at times in some systems. There is nothing you can do to change it. Functionally the shorter names make zero difference to calibre's management of books or how calibre interacts with any devices.

Also once you look at what eschwartz pointed out you might find having the title and series info separate a great idea.

Good Luck.
DoctorOhh is offline   Reply With Quote
Advert
Old 12-15-2013, 03:12 AM   #6
Bigo2
Zealot
Bigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchfork
 
Posts: 130
Karma: 48786
Join Date: Oct 2010
Location: Australia - Adelaide
Device: Kindle3
Quote:
Originally Posted by PeterT View Post
There was a change in a recent version of calibre that reduced the maximum allowable file name. I think it was either 1.0 or a version very close to 1.0.
Thanks PeterT - in that case I think I would have to go back and stop updating...
Bigo2 is offline   Reply With Quote
Old 12-15-2013, 03:14 AM   #7
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)
Quote:
Originally Posted by Bigo2 View Post
Thanks I will check that... but, how come that my Calibre used to be able to save littlebit longer filenames (as I marked here in red) and now it is not?
I would like to have it at least as it used to be...

Also, windows certainly can save longer file names than those I put here as an example. Much longer.
It can certainly display filenames as long as I want them to be if saved from linux -- like Kindles for example. But copying them from there results in some oddly shortened names. The whole thing seems needlessly confusing. (Typical of Windows)

According to https://en.wikipedia.org/wiki/Long_filename#Limitations there seems to be problems with multiple renamings of the same file, and Google also gives lots of fascinating discussion about different API calls which have various issues with naming files.

I believe the general rule of thumb is no Windows filename PATH can be longer than 256 characters.

Last edited by eschwartz; 12-15-2013 at 03:16 AM.
eschwartz is offline   Reply With Quote
Old 12-15-2013, 03:19 AM   #8
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,895
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by eschwartz View Post
I believe the general rule of thumb is no Windows filename PATH can be longer than 256 characters.
I can't speak to linux but the shortened path has a little to do with Windows path limit. Kovid has a finite length limit built in that reduces the names as seen by the OP.

Here is a thread that explored the path reduction when version 1.0 was released.

Last edited by DoctorOhh; 12-15-2013 at 03:29 AM.
DoctorOhh is offline   Reply With Quote
Old 12-15-2013, 03:48 AM   #9
Bigo2
Zealot
Bigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchfork
 
Posts: 130
Karma: 48786
Join Date: Oct 2010
Location: Australia - Adelaide
Device: Kindle3
Hi DoctorOhh - I read through that thread. Basically Mr... decided to change how Calibre saves the names and that's it.

However, since this latest version at least still displays the names as they were when saved with the versions before 1.0 (be aware you mustn’t use Edit Metadata on those files, it would ultimately shorten them according to this new better improved version), I would have to install some older version just for saving the books as I liked to...
Bigo2 is offline   Reply With Quote
Old 12-15-2013, 03:53 AM   #10
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)
Quote:
Originally Posted by DoctorOhh View Post
I can't speak to linux but the shortened path has a little to do with Windows path limit. Kovid has a finite length limit built in that reduces the names as seen by the OP.

Here is a thread that explored the path reduction when version 1.0 was released.
Very interesting read, thanks. Now I must go beat up some helpless little Windows computer since I am now .

Quote:
Originally Posted by Bigo2 View Post
Hi DoctorOhh - I read through that thread. Basically Mr... decided to change how Calibre saves the names and that's it.

However, since this latest version at least still displays the names as they were when saved with the versions before 1.0 (be aware you musn't use Edit Metadata which would shorten them according to this new beter improved version), I would have to install some older version just for saving the books as I liked to.
Is it truly necessary to save it in the library folder? I have never personally found a situation where I must browse it directly, except before I got the Open With plugin for editing with Sigil -- also obsolete with Edit Book.

Everything you need to do can probably be done with calibre directly.

Also, Kovid changed this for a good reason! It's probably not wise to mess with this, or you may end up being a fringe case! Also, deliberately keeping the previous generation of calibre will lead to you missing lots of bug-fixes (like this) which may lead to yet more adverse effects.

Last edited by eschwartz; 12-15-2013 at 03:56 AM.
eschwartz is offline   Reply With Quote
Old 12-15-2013, 04:10 AM   #11
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,895
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by Bigo2 View Post
Hi DoctorOhh - I read through that thread. Basically Mr... decided to change how Calibre saves the names and that's it.
You could always use Linux or OS X.

Quote:
Originally Posted by Bigo2 View Post
I would have to install some older version just for saving the books as I liked to...
If all you are seeking is a file structure that has a longer path name then leave the core library alone and use the Save to disk feature to export the files in the format in which you wish to see them.
DoctorOhh is offline   Reply With Quote
Old 12-15-2013, 04:11 AM   #12
Bigo2
Zealot
Bigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchfork
 
Posts: 130
Karma: 48786
Join Date: Oct 2010
Location: Australia - Adelaide
Device: Kindle3
eschwartz you know, I always have my filenames named as I liked - jpgs, docs, emp3s etc. so it seemed to me pitty that I can't have the books names as the writers intended...

But I think you are right - Sorry if I offended anybody.

Regards and Merry Christmas to all

and

DoctorOhh - that's a good idea! Thanks

Last edited by Bigo2; 12-15-2013 at 04:14 AM.
Bigo2 is offline   Reply With Quote
Old 12-15-2013, 02:33 PM   #13
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)
Quote:
Originally Posted by Bigo2 View Post
eschwartz you know, I always have my filenames named as I liked - jpgs, docs, emp3s etc. so it seemed to me pitty that I can't have the books names as the writers intended...

But I think you are right - Sorry if I offended anybody.

Regards and Merry Christmas to all

and

DoctorOhh - that's a good idea! Thanks
Oh, I meant I am angry at Windows. (for their very inconsistent way of dealing with things.) I do it for fun at least 5 times a day so it's not a big deal. Ranting is fun, what can I say.
eschwartz is offline   Reply With Quote
Old 12-18-2013, 03:18 AM   #14
Bigo2
Zealot
Bigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchforkBigo2 can load mercury with a pitchfork
 
Posts: 130
Karma: 48786
Join Date: Oct 2010
Location: Australia - Adelaide
Device: Kindle3
By the way - I have found that it is not too complicated to re-save books in an older Calibre version - I have 0.9.2 - and this way I have my longer names back again. I only need to select the book and go to Edit Metadata and then click OK, that's all.
I have the latest 64 bit Calibre version, and also the above 32-bit Calibre version on my PC. The latest 64bit version don’t mind the longer names, and if I don't Edit Metadata of the book with the longer name, it is not changed.

So when the book belongs to some series which I like to save in the format I explained above - e.g. [Time Patrol 1] The Guardians of Time - Anderson, Poul, I can open it in the old Calibre version and it would be saved appropriately, while in the latest Calibre version I would finish with something like [Time Patrol 1] The Guardia - Anderson, Poul

Of course it would be nice if the names could be limited only by the windows limits. Or it would be nice if the covers would have the book name .jpg, but it is possibly impossible...

Regards

Have a nice xmas

Last edited by Bigo2; 12-18-2013 at 05:37 AM.
Bigo2 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Seeing file names? degree6 Calibre 5 04-26-2013 05:21 PM
Authors with a two last names Rumpelteazer Calibre 14 07-06-2011 06:34 PM
Confused about names shinnosuke Onyx Boox 6 04-23-2010 04:11 AM
Publisher's Names emonti8384 General Discussions 10 04-05-2010 12:05 AM
Weird Names hatem35 Sony Reader 7 12-04-2009 04:27 PM


All times are GMT -4. The time now is 03:46 PM.


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