![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
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.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
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. |
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Regex and Metadata from filename. | asrrin29 | Calibre | 5 | 12-03-2023 04:51 AM |
Metadata in Title/filename | mezme | Calibre | 0 | 08-18-2010 03:08 AM |
Metadata Filename Syntax | gandor62 | Calibre | 15 | 07-18-2010 03:46 AM |
Need help with metadata by filename | artbatista | Calibre | 17 | 12-19-2009 07:51 AM |
Metadata from filename problem | kad032000 | Calibre | 0 | 05-24-2009 02:26 AM |