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 07-22-2017, 09:50 PM   #1
sehlat
Enthusiast
sehlat began at the beginning.
 
Posts: 31
Karma: 10
Join Date: May 2010
Device: iPhone Marvin, Marvin 3
Adding books in ".txt" format and getting author/title

I'm moving a large collection of books into a Calibre-curated library, and am having a devil of a time getting the author and title correct for such books. Since I got them from fictionwise, they have file names like "CarlTCStone.txt", but when I do an "Add books", I get the file name displayed as the title, and the Author as "Unknown." Since I'm doing this one author at a time, I can readily bulk-change the author to the correct name, but the Title shows up as "CarlTCStone."

All of these books start with the following four lines:
======================
The Charm Stone
by Lillian Stewart Carl
======================
is there a plugin or some other means of getting the title/author correct on loading the book?
sehlat is offline   Reply With Quote
Old 07-22-2017, 11:53 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Since txt has no defined format for metadata, what you would need to do is write a script that reads the metadata and renames the file inserting the metadata into the filename. Then import the files into calibre.
kovidgoyal is offline   Reply With Quote
Advert
Old 07-23-2017, 01:40 AM   #3
sehlat
Enthusiast
sehlat began at the beginning.
 
Posts: 31
Karma: 10
Join Date: May 2010
Device: iPhone Marvin, Marvin 3
Any suggestions for how to write such a script?

Thank you.
sehlat is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Use "short" instead of "full" title for title sort & renaming? wolpi Library Management 2 08-04-2016 05:25 PM
Aura Books not listed by title but just "<title> - <number> - <series>" qee4q Kobo Reader 12 05-10-2015 04:37 PM
Title format in "save book to disk"? Phssthpok Library Management 5 11-26-2014 05:18 AM
A warning for Linux users: slow "Add Books", "Unknown" title and Author rolgiati Library Management 8 07-24-2013 04:36 PM
Add date to "Title" for WSJ export to Kindle format johnnymacg Recipes 0 05-07-2012 12:27 PM


All times are GMT -4. The time now is 08:41 PM.


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