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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-21-2009, 05:37 PM   #1
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Lastname, Firstname filenames - Any way to import correct author name?

All of my books are in this format:
Lastname, Firstname - Seriesname 01 - Title.ext

For those who have had to use folders to sort and locate ebooks, it made sense to have the author's last name first, so lots of others have big collections in the Lastname-first format.

Is there any way to reverse the name order during import? I've seen lots of regex expressions, but none seem to deal with this. From what I can see, the regex Python based importing needs the author's name as a single continuous string.

I'd love to see the tags <author-firstname> and <author-lastname> supported so I could do a regex like:

(?P<author-lastname>.+), (?P<author-firstname>.+) - (?P<title>.+)

and have it generate the tag <author> from the two components.

Is it worth opening a wishlist ticket on this? It seems to be a common problem.
Starson17 is offline   Reply With Quote
Old 12-21-2009, 10:06 PM   #2
lattiboy
Junior Member
lattiboy began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2009
Device: Foxit eSlick
This saved my life:

http://www.mobileread.com/forums/sho...4&postcount=11

The included code works wonderfully.
lattiboy is offline   Reply With Quote
Old 12-21-2009, 11:09 PM   #3
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by lattiboy View Post
This saved my life:

http://www.mobileread.com/forums/sho...4&postcount=11

The included code works wonderfully.
Thanks, but as you can see from your link, that code won't pick up the author in lastname, firstname format, which is why I asked. I don't think it's currently possible.

It's not too hard to write massive batch files to temporarily rename my files, then import them, but it would be much easier if I could simply match the author's first and last name separately and have Calibre put the name halves together internally.
Starson17 is offline   Reply With Quote
Old 12-22-2009, 03:10 AM   #4
tapar
Connoisseur
tapar is no ebook tyro.tapar is no ebook tyro.tapar is no ebook tyro.tapar is no ebook tyro.tapar is no ebook tyro.tapar is no ebook tyro.tapar is no ebook tyro.tapar is no ebook tyro.tapar is no ebook tyro.tapar is no ebook tyro.
 
tapar's Avatar
 
Posts: 62
Karma: 1420
Join Date: Dec 2008
Device: Kindle Keyboard 3g, Kindle Paperwhite v1
I have been working on whipping my collection into shape for Calibre. I found an awesome application called "Book Sorter" that corrects the firstname/lastname ordering. http://iterati.org/ebookTools/BookSorter/Default.aspx

It has some other cool features other than renaming and sorting books. It can create copies of your books sorted into genre directories based on the author. I have not experimented with that yet personally though. I used it to fix my collections lastname/firstname issues and it did the job admirably.
tapar is offline   Reply With Quote
Old 12-22-2009, 09:35 AM   #5
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by tapar View Post
I have been working on whipping my collection into shape for Calibre. I found an awesome application called "Book Sorter" that corrects the firstname/lastname ordering.
That looks very useful, thanks for the link. I did the same sort of thing for my initial import of my library by creating some massive renaming batch files, but running "Book Sorter" would be a lot easier.

I was just trying to avoid preprocessing filenames before importing books, as I see this as an ongoing issue.
Starson17 is offline   Reply With Quote
Old 12-23-2009, 11:03 PM   #6
tapar
Connoisseur
tapar is no ebook tyro.tapar is no ebook tyro.tapar is no ebook tyro.tapar is no ebook tyro.tapar is no ebook tyro.tapar is no ebook tyro.tapar is no ebook tyro.tapar is no ebook tyro.tapar is no ebook tyro.tapar is no ebook tyro.
 
tapar's Avatar
 
Posts: 62
Karma: 1420
Join Date: Dec 2008
Device: Kindle Keyboard 3g, Kindle Paperwhite v1
Book Sorter was a particularly handy tool for me since the ebooks I was preparing to import had a mix of author name formats. It would have taken forever to separate them out and identify duplicates.

What I did was point it at a directory filled with folders for each author. I even had duplicates of author folders with different name orders. The folders for each author sometimes contained duplicates with different name orders. I had Book Sorter do a move on the books to a new output directory. The books that got left behind were my duplicates, which made them a manageable subset of the whole collection to deal with.

I did have some problems where some books did not have the author in the filename at all, those typically just had the book title. To resolve that I found "BulkRenameUtility" to be a super help to quickly go in and rename the books that needed it with the author: http://www.bulkrenameutility.co.uk They have an option to "append folder name" which was a quick and easy way to add the author to the filename.
tapar 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
Filenames to metadata, preserving filenames. nitrogun Calibre 5 09-13-2010 10:50 PM
Unable to access author sort during the wifi import to Stanza Beau Calibre 8 03-27-2010 04:16 PM
Firstname as author - metadata.db and SQLite3 Starson17 Calibre 11 12-20-2009 02:01 PM
Converting filenames gafitz Calibre 0 05-06-2009 03:20 PM
Correct missing author info in a Mobi file? nekokami Kindle Formats 5 12-15-2008 10:26 AM


All times are GMT -4. The time now is 09:07 PM.


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