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 09-06-2009, 07:31 AM   #1
plunderydoo
Enthusiast
plunderydoo has a complete set of Star Wars action figures.plunderydoo has a complete set of Star Wars action figures.plunderydoo has a complete set of Star Wars action figures.plunderydoo has a complete set of Star Wars action figures.plunderydoo has a complete set of Star Wars action figures.
 
Posts: 38
Karma: 412
Join Date: Sep 2009
Device: WinMobile, Hanvon N516 w. OpenInkPot, eLyricon EBX-500, Iphone 3GS
Little Help with Metadata from Filename needed

Hi everybody,

i want to import some series of ebooks.
So far have a almost working Regex:
(?P<series>[^_]+) - book (?P<series_index>[0-9]*) - (?P<author>[^_-]+) - (?P<title>.[^_]+)

the Filename would be: Seriesname - booknr 0000 - bookauthor - booktitle

The thing which is not working properly ist the number.
Instead of importing four digits to Series index I always end up with two digits divided by a dot.

I.e. instead of 0007 it imports 7.0

I have found this: {series_index:0>3s} in another thread, but i always get errors when trying using it.

Hope thats somebody got an Idea, because for my opinion calibre is the most usefull ebooktool around and i would really like to use it.

Thanks a lot

PL
plunderydoo is offline   Reply With Quote
Old 09-06-2009, 07:51 AM   #2
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,102
Karma: 780247
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
I suspect everything is working exactly as it should. In Calibre the series is now stored in the form x.xx. This was introduced as a result of many requests to allow books to be inserted in series between the existing entries.
itimpi is offline   Reply With Quote
 
Advertisement
Old 09-06-2009, 08:14 AM   #3
plunderydoo
Enthusiast
plunderydoo has a complete set of Star Wars action figures.plunderydoo has a complete set of Star Wars action figures.plunderydoo has a complete set of Star Wars action figures.plunderydoo has a complete set of Star Wars action figures.plunderydoo has a complete set of Star Wars action figures.
 
Posts: 38
Karma: 412
Join Date: Sep 2009
Device: WinMobile, Hanvon N516 w. OpenInkPot, eLyricon EBX-500, Iphone 3GS
Hello itimpi,

thanks for the fast response.

That makes sense.

Is there still a way to fill up the first three digits to have a numbering like 0000.0 ?
I have tried multiple [0-9] but this have no effect.



Best regards
PL
plunderydoo is offline   Reply With Quote
Old 09-06-2009, 08:57 AM   #4
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,102
Karma: 780247
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
I do not believe so when storing the values in the Calibre metadata.

It is possible to get the leading zeroes added when using the "Save To Disk" option. I remember it being mentioned in another thread, but I cannot remember exactly how it was done.
itimpi is offline   Reply With Quote
Old 09-06-2009, 09:34 AM   #5
plunderydoo
Enthusiast
plunderydoo has a complete set of Star Wars action figures.plunderydoo has a complete set of Star Wars action figures.plunderydoo has a complete set of Star Wars action figures.plunderydoo has a complete set of Star Wars action figures.plunderydoo has a complete set of Star Wars action figures.
 
Posts: 38
Karma: 412
Join Date: Sep 2009
Device: WinMobile, Hanvon N516 w. OpenInkPot, eLyricon EBX-500, Iphone 3GS
Hello itimpi,

the numbering changes to normal (without dot) when i turn of in settings the roman numbering.

Thanks anyway

cu
PL
plunderydoo 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
Regex and Metadata from filename. asrrin29 Calibre 2 09-20-2010 06:13 PM
Metadata in Title/filename mezme Calibre 0 08-18-2010 04:08 AM
Metadata Filename Syntax gandor62 Calibre 15 07-18-2010 04:46 AM
Need help with metadata by filename artbatista Calibre 17 12-19-2009 08:51 AM
Metadata from filename problem kad032000 Calibre 0 05-24-2009 03:26 AM


All times are GMT -4. The time now is 12:40 AM.


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