02-10-2008, 10:18 AM | #1 |
Addict
Posts: 242
Karma: 177
Join Date: Nov 2007
Location: Amsterdam
Device: sony 505
|
how to do batch conversion with libprs
Can anybody help me out here I'm totally stupid with command line and I can't work it out from the gui I use win xp mazzeltjes |
02-10-2008, 07:13 PM | #2 |
Guru
Posts: 604
Karma: 733
Join Date: Mar 2007
Device: HP iPAQ211 / PRS 500, 700 and 505
|
From the GUI what you do is to go through and hand enter the metadata for each book.
Then you select all the books you want to convert and click on Convert Books. It then goes through and converts them all one at a time. Not really batch-convert, but it does automate the process somewhat. You can't select the Batch Convert option, however, because it hasn't been enabled yet. |
Advert | |
|
02-11-2008, 12:57 PM | #3 |
Addict
Posts: 242
Karma: 177
Join Date: Nov 2007
Location: Amsterdam
Device: sony 505
|
Oke,that's a shit load of work
guess I'll wait 'till it's implemented then thanx for the advice anyone know when this is gonna be |
02-11-2008, 02:23 PM | #4 |
Guru
Posts: 604
Karma: 733
Join Date: Mar 2007
Device: HP iPAQ211 / PRS 500, 700 and 505
|
I'm not sure it can be -- how will title / author /author-sort info be entered for each book, if you don't do it manually? It's not like files will all have this data in clearly recognizable areas so that the program can generate it automatically.
|
02-11-2008, 04:13 PM | #5 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
That's exactly what the LIT and LRF formats (and several others I believe) have... though I'm guessing he's talking about PDF or TXT files, which are a problem...
|
Advert | |
|
02-12-2008, 04:22 AM | #6 | |
Wizzard
Posts: 1,402
Karma: 2000000
Join Date: Nov 2007
Location: UK
Device: iPad 2, iPhone 6s, Kindle Voyage & Kindle PaperWhite
|
Quote:
With that, something like the following can parse the name... Code:
dash = file.find(' - ') if dash != -1: fileAuthor = file[:dash] dash = file.rfind(' - ') # Search back to allow for series seperators fileTitle = file[dash+3:-4] Last edited by gwynevans; 02-12-2008 at 04:26 AM. |
|
02-12-2008, 06:46 AM | #7 | |
Guru
Posts: 604
Karma: 733
Join Date: Mar 2007
Device: HP iPAQ211 / PRS 500, 700 and 505
|
Quote:
Cool -- I hadn't thought of that! With file-renaming applications, that should be easy enough to incorporate (although I say it as a person who is lost beyond programming in BASIC, so it may be a lot harder than I think). |
|
02-12-2008, 09:01 AM | #8 |
creator of calibre
Posts: 43,826
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
When I finally get around to implementing the recursive import feature, it will allow the user to specify a pattern for filenames which it will use as a fallback for getting metadata.
|
02-12-2008, 09:24 AM | #9 |
Addict
Posts: 242
Karma: 177
Join Date: Nov 2007
Location: Amsterdam
Device: sony 505
|
David Robbins - Blade 6 - Crusher Strike.pdf J:\eMule\Incoming\Science Fiction and Fantasy 13130 update 3\David Robbins - Blade 6 - Crusher Strike.pdf
David Robbins - Blade 7 - Terror Strike.pdf J:\eMule\Incoming\Science Fiction and Fantasy 13130 update 3\David Robbins - Blade 7 - Terror Strike.pdf This is the example of the way I've got them named and filed not necesarily pdf's I used pdftolrf on these pdf's in bulk and the batch conversion worked great 13500 books in 2 months so if it's possible with pdftolrf why not with libprs???? @dhbailey I wish I could work in basic is there a manual how to work with the command line I'm a point and clicker???? Last edited by mazzeltjes; 02-12-2008 at 09:28 AM. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PDF to prc/azw Batch Conversion | xsolitudex | 2 | 09-04-2010 10:19 AM | |
pdftohtml Batch Conversion | kad032000 | Sony Reader | 8 | 06-27-2008 09:50 AM |
Batch conversion html to lrf | lilpretender | Sony Reader | 5 | 04-22-2008 09:22 PM |
Batch conversion of txt | BlackVoid | Sony Reader | 8 | 11-17-2007 09:53 PM |
tips for batch conversion with emacs | klikklak | Sony Reader | 0 | 11-14-2007 12:02 PM |