mazzeltjes
02-10-2008, 11:18 AM
:help::help::help::help:
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
dhbailey
02-10-2008, 08:13 PM
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.
mazzeltjes
02-11-2008, 01:57 PM
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
dhbailey
02-11-2008, 03:23 PM
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.
Valloric
02-11-2008, 05:13 PM
It's not like files will all have this data in clearly recognizable areas so that the program can generate it automatically.
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...
gwynevans
02-12-2008, 05:22 AM
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.
Unless you're naming your files to a particular scheme, which you can parse to obtain the meta-data, e.g. "Drake, David - RCN 01 - With the Lightnings.lit".
With that, something like the following can parse the name...
dash = file.find(' - ')
if dash != -1:
fileAuthor = file[:dash]
dash = file.rfind(' - ') # Search back to allow for series seperators
fileTitle = file[dash+3:-4]
dhbailey
02-12-2008, 07:46 AM
Unless you're naming your files to a particular scheme, which you can parse to obtain the meta-data, e.g. "Drake, David - RCN 01 - With the Lightnings.lit".
It took me a moment or two to figure out that you're suggesting the addition of that small snippet of code to the actual libprs500 application, so that it can generate the meta-data itself from the file name, assuming that the files have been named using a predetermined pattern.
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).;)
kovidgoyal
02-12-2008, 10:01 AM
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.
mazzeltjes
02-12-2008, 10:24 AM
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????
:blink::blink::blink::blink::blink:
@dhbailey I wish I could work in basic:p:p:p
is there a manual how to work with the command line
I'm a point and clicker????