07-23-2011, 07:31 PM | #1 | |
Quack! Quack!
Posts: 92
Karma: 9176
Join Date: Apr 2011
Location: Florida
Device: kindle 3 & sony daily prs950sc
|
Auto Increment Series Index Tweak *BUG FOUND
a BUG was found below see bottom of thread post #8
Quote:
what i'm trying to get it to do is... if a series has a name but no index number it assigns the value of 99. example: George RR Martin - Ice & Fire - Game of Thrones.epub Author: George RR Martin Series: Ice & Fire Series_Index: 99 Title: Game of Thrones Can this be done? Or am i misunderstanding how this works and if so how does it work i can't seem to get it to do anything. Last edited by penguinaka; 07-24-2011 at 12:33 PM. |
|
07-23-2011, 08:47 PM | #2 | |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Last_free And have series_index_auto_increment = 10 now if your previous book was #9 ;we are going to increment from Last the next book added will be 19 then 29... |
|
Advert | |
|
07-23-2011, 09:01 PM | #3 |
Quack! Quack!
Posts: 92
Karma: 9176
Join Date: Apr 2011
Location: Florida
Device: kindle 3 & sony daily prs950sc
|
I see..thanks now its so clear duh *slaps forehead
next question is it possible to somewhere in calibre assign 99 as a value to the series_index that are not mark with a value at all? Instead of it automatically assigning it as 1 during import for me that would be an indicator that i need to at some time look up the correct series number and correct... if it was marked that way..i would be able to tell it apart from books in a series that are truly the first in the series. |
07-23-2011, 10:15 PM | #4 | |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
type 99 in the tweak |
|
07-23-2011, 10:41 PM | #5 |
Quack! Quack!
Posts: 92
Karma: 9176
Join Date: Apr 2011
Location: Florida
Device: kindle 3 & sony daily prs950sc
|
i did that it doesn't work... have you actually tested it?
I put this in: series_index_auto_increment = 99 dragged and dropped this file: B Ella Donna - Blood - Blood Pool.epub it was imported as Author: B Ella Donna Series: Blood Series_Index: 1 Title: Blood Pool I then dragged it in again to see if it would assign it the value if another exxisted in the database and it was assigned a value of 1... any suggestions? i'm running 0.8.11 i use this a an add regex script which i know is not effecting it: Code:
^(?P<author>[^-]+)(\s*-\s*(\[?(?P<series>[^-0-9]+)\s*(?P<series_index>[0-9.]+)?]?)?)?.*?-\s*(?P<title>[^-]+) |
Advert | |
|
07-23-2011, 11:55 PM | #6 | |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
the tweak box should contain: Code:
# Auto increment series index 99 |
|
07-24-2011, 12:59 AM | #7 | |
Quack! Quack!
Posts: 92
Karma: 9176
Join Date: Apr 2011
Location: Florida
Device: kindle 3 & sony daily prs950sc
|
Quote:
and when i looked in the tweek box again it was reset back to # Auto increment series index series_index_auto_increment = 'next' try testing yourself you will see Last edited by penguinaka; 07-24-2011 at 01:01 AM. |
|
07-24-2011, 10:04 AM | #8 | |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
(Note to Devs: I tried making the tweak the old way, by editing tweaks.py. I commented out the last line (existing value) and made a newline with just 99. Saved. Started Calibre. Looked at the tweak via preferences: It reset to DEFAULT, not my previous setting.) I was writing this while Calibre restarted: There are TWO different apply buttons that need to be done in proper order The top button is to apply the applied tweaks Make the change on the SPECIFIC tweak. Click the BOTTOM apply to keep it. Optionally,: repeat with other tweaks. Now exit the Tweaks panel by using the TOP Apply |
|
07-24-2011, 12:18 PM | #9 |
Quack! Quack!
Posts: 92
Karma: 9176
Join Date: Apr 2011
Location: Florida
Device: kindle 3 & sony daily prs950sc
|
I'm not going insane... thank you for confirming for me TheDucks .. since i had never played with it in the older versions i didn't know if it was working as intended and i was misinterpreting the instructions or not. thank you. well hopefully this will get fixed because it will save me literally hours / weeks of identification post import of a large project i'm going to import.
|
07-24-2011, 01:33 PM | #10 | |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
then they added other (first) options then they added the improved GUI something got broke in the valid entry checker along the way |
|
07-24-2011, 02:32 PM | #11 |
Quack! Quack!
Posts: 92
Karma: 9176
Join Date: Apr 2011
Location: Florida
Device: kindle 3 & sony daily prs950sc
|
i throw prequels into the 0 position so i have been using 99... but i have a ton of books that have a series name with no index number now and i don't want to take the time to edit literally thousands of books by hand right now... but if i import i won't know if they are really the first in the series or were just given that as a default especially when there was already a book there that was a valid series 1.
well its nice to know its a bug that will get put on a to do list... cheers |
07-24-2011, 03:43 PM | #12 |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Out of curiosity, is there a bug report anywhere? Without that, it isn't on anyone's todo list.
|
07-24-2011, 04:48 PM | #13 |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
07-24-2011, 09:11 PM | #14 |
Quack! Quack!
Posts: 92
Karma: 9176
Join Date: Apr 2011
Location: Florida
Device: kindle 3 & sony daily prs950sc
|
|
07-24-2011, 10:08 PM | #15 |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Series Index Auto Increment | lgladen | Calibre | 4 | 04-14-2011 09:14 AM |
Possible tweak: Stop auto-collapsing browser nested items | arspr | Calibre | 7 | 04-06-2011 04:09 PM |
Command Line problems: ebook-convert, ebook-meta with tags: --series, --series-index | omnivorous | Calibre | 4 | 11-07-2010 02:42 PM |
Format of Series index when sending to device | Yirabeth | Calibre | 0 | 08-19-2010 04:41 PM |
Series index Save to Disk problem | Dopedangel | Calibre | 6 | 08-27-2009 04:54 PM |