Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-24-2013, 10:36 AM   #1
rkr
Member
rkr is a marvel to beholdrkr is a marvel to beholdrkr is a marvel to beholdrkr is a marvel to beholdrkr is a marvel to beholdrkr is a marvel to beholdrkr is a marvel to beholdrkr is a marvel to beholdrkr is a marvel to beholdrkr is a marvel to beholdrkr is a marvel to behold
 
rkr's Avatar
 
Posts: 23
Karma: 11516
Join Date: Oct 2013
Device: kobo aura hd
title in calibre not the filename in windows explorer

i wanted to have the title of the book in calibre that is automatically changed to its original filename in windows explorer as i have to rename title of each book with its filename . the procedure is cumbersome. i have named the files so that they are easily understandable but what is taken in the title section iis completely different and sometimes titles taken by calibre are same for many books.(as kobo doesnt have section to sort or view by filename so i wanted to change title to the original filename)
is there a way around it??
are there any settings i should change to make this happen?
if not is there any other way so that i can get results similar to the above procedure?
pls help
thanks in advance

Last edited by rkr; 10-24-2013 at 10:41 AM.
rkr is offline   Reply With Quote
Old 10-24-2013, 10:57 AM   #2
At_Libitum
Addict
At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.
 
Posts: 265
Karma: 724240
Join Date: Aug 2013
Device: KyBook
first read this topic about filenames and such in the library
https://www.mobileread.com/forums/sho...d.php?t=119175

Second, Calibre by default uses the metadata I think to retrieve title and author.

If you already have files outside of the library named according to your preferences then go into Calibre's preferences, on the third row click the red book, "Adding books", this opens a dialog where in the top-left is an option to read title and author from filename rather than from the book's metadata.

However, be prepared that when the book is added to your library, the physical filename and folders WILL change to shortened versions due to platform compatibility requirements (some OS platforms still put limits on handling long paths/filenames and since Calibre is platform independent, its file-handling code has to work on all of these filesystems)

After the books have been added, you might want to consider updating the internal metadata with your titles
At_Libitum is offline   Reply With Quote
Old 10-24-2013, 07:05 PM   #3
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
When adding books to calibre, it can read the metadata from the file or from the file name. I think you want to do the latter. The options for this are on the preferences on the "Adding books" page. You will need to uncheck the "Read metadata from the file contents rather than file name". Then you need to set a regular expression that parses the file name into the metadata fields.

But, I have to ask why do you want to do this? Calibre and the Kobo devices handle the metadata correctly. Both will display and sort on them in the libraries. If the point is to add series information for sorting on the device, then you can achieve this using metadata plugboards. They are run when the book is sent to the device to modify the metadata at that point.
davidfor is offline   Reply With Quote
Old 10-24-2013, 07:43 PM   #4
At_Libitum
Addict
At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.
 
Posts: 265
Karma: 724240
Join Date: Aug 2013
Device: KyBook
Quote:
Originally Posted by davidfor View Post
But, I have to ask why do you want to do this? Calibre and the Kobo devices handle the metadata correctly. Both will display and sort on them in the libraries. If the point is to add series information for sorting on the device, then you can achieve this using metadata plugboards. They are run when the book is sent to the device to modify the metadata at that point.
I can think of a few situations where reading the metadata from filename rather than from book itself would be preferable. We are still in the adding to Calibre phase here. Suppose you have a slew of publications, long titles and various editions of same, the chance is big that internal book metadata has the same title in your various copies or editions. Importing these into Calibre (from the local file system) is then going to cause issues if retrieving that internal title instead.

So the point is more a how to get them into Calibre in the first place without the first imported copy getting overwritten or the second added copy ignored depending on merge settings, when you want both or however many copies you have

Last edited by At_Libitum; 10-24-2013 at 07:47 PM.
At_Libitum is offline   Reply With Quote
Old 10-24-2013, 09:47 PM   #5
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by At_Libitum View Post
I can think of a few situations where reading the metadata from filename rather than from book itself would be preferable. We are still in the adding to Calibre phase here. Suppose you have a slew of publications, long titles and various editions of same, the chance is big that internal book metadata has the same title in your various copies or editions. Importing these into Calibre (from the local file system) is then going to cause issues if retrieving that internal title instead.

So the point is more a how to get them into Calibre in the first place without the first imported copy getting overwritten or the second added copy ignored depending on merge settings, when you want both or however many copies you have
The OP wants to display the original file name on the Kobo reader. Getting the file name in is easy. All they have to do is set the import template to put the full file name in the title. Then it goes into the title metadata when the epub is sent to the device and the Kobo reader will pull this out and display it.

But, depending on why the OP wants to do this, there might be a better way. I think that populating calibre with the correct metadata works better in the long run. If there is a specific display needed on the device, then a plugboard will usually be able to do this.

My guess from what the OP said, is that the file names contain series info or other reading order information and wants that replicated to the device to make it easy to work out which book to read next. If I am right, then a plugboard is ideal. Or, if it is series order, the Kobo devices have support for display series info. Using the Kobo Touch driver and my Kobo Utilities plugin, the books can be put into shelves in the correct reading order.

Whenever I see a question like this, I have to ask what they are really trying to achieve. Once you know that, maybe you can come up with a better solution. As they say, there is more than one way to skin a cat. Knowing why you want the cat skinned can help to choose the best method.
davidfor is offline   Reply With Quote
Old 10-25-2013, 12:29 AM   #6
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,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by At_Libitum View Post
I can think of a few situations where reading the metadata from filename rather than from book itself would be preferable.
Of course this doesn't come close to answering davidfor's question since you are not the OP of which he asked the question. I'm sure we can all think of a few situations, but trying to answer for the OP doesn't usually help.

Last edited by DoctorOhh; 10-25-2013 at 12:33 AM.
DoctorOhh is offline   Reply With Quote
Old 10-25-2013, 05:59 AM   #7
At_Libitum
Addict
At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.
 
Posts: 265
Karma: 724240
Join Date: Aug 2013
Device: KyBook
Quote:
Originally Posted by DoctorOhh View Post
Of course this doesn't come close to answering davidfor's question since you are not the OP of which he asked the question. I'm sure we can all think of a few situations, but trying to answer for the OP doesn't usually help.
I was politely trying to indicate that the op's question wasn't about sending to his kobo but about getting the titles in Calibre to show the names he gave the books in Windows Explorer

guess I was too subtle

Last edited by At_Libitum; 10-25-2013 at 06:02 AM.
At_Libitum is offline   Reply With Quote
Old 10-25-2013, 06:37 AM   #8
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by At_Libitum View Post
I was politely trying to indicate that the op's question wasn't about sending to his kobo but about getting the titles in Calibre to show the names he gave the books in Windows Explorer
Firstly, if you read my original post, I said how to do this. I wasn't explicit in what the template should be as I don't know exactly what the file names used look like and exactly how the OP wants them displayed. My second post should have pointed the way. But, ...

The OP explicitly state he wanted the file name on the Kobo for sorting on the device. That sounds like the real requirement. Actually, it sounds like the real requirement is "Populate the title with the text I want to use for sorting". And personally, it sounds like the OP is only using calibre as a way of updating the metadata in the epubs so that the Kobo device can read them.

For those reasons, made suggestions that might help achieve what is wanted. And I asked questions because if I know the real requirements, I might be able suggest a better way of doing it.
davidfor is offline   Reply With Quote
Old 10-25-2013, 06:41 AM   #9
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,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by At_Libitum View Post
I was politely trying to indicate
I was politely trying to indicate your post in assuming that davidfor didn't understand the question and then trying to speak for the OP was less than polite.

Guess I was too subtle.
DoctorOhh is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to get chapter title from filename sperrmull Sigil 12 12-28-2012 09:39 AM
Book Title from filename EricBr Kindle Formats 3 06-17-2012 10:43 PM
Use Filename as Title in ANY Reader tonyc46 Android Devices 2 02-21-2012 10:23 PM
Windows Explorer v Calibre - same files, different results Sondar Library Management 15 06-11-2011 07:24 AM
using filename for title pj123 Calibre 1 05-22-2011 06:18 PM


All times are GMT -4. The time now is 02:04 AM.


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