![]() |
#496 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,239
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Thanks for the report. I just fixed it. I'll release the fix in a few minutes.
|
![]() |
![]() |
![]() |
#497 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,239
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Version 1.6.2 - 19 Aug 2024
- Bug fix: when marking books, it would not work if the genre had more than one level |
![]() |
![]() |
![]() |
#498 |
Member
![]() Posts: 10
Karma: 10
Join Date: Aug 2024
Location: Germany
Device: Pocketbook Touch Lux 3
|
Great
![]() I am delighted that you can have more than one genre level. Is it supposed to work with three levels? When I tried it, there was just the word for the subgenre with the number zero in parenthesis in genre view and the book with this genre won't show up. When I sort by title in genre view the subgenres are sorted as titles. Example: I have the genre Fantasy at the top, then titles A-T, then the subgenre Urban Fantasy, then titles V-Z in Fantasy. It would be nice to have all the titles for Fantasy together and then the titles for the subgenre. |
![]() |
![]() |
![]() |
#499 | |||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,239
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
Quote:
The complete tag is 'Ficção.Ação e aventura.Teste.Quarto nível'. If this is not the case for you, send me your database file (json), so I can take a look and figure out what's going on. Quote:
EDIT: Check out the new version released. I think it fixes all your problems. Last edited by thiago.eec; 08-20-2024 at 07:35 AM. Reason: Info about the new version |
|||
![]() |
![]() |
![]() |
#500 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,239
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Version 1.6.3 - 20 Aug 2024
- Bug fix: use a case sensitive match for genres, since that's how calibre's tags work - Bug fix: check the subgenre's parent before assigning a book to it, so we can differentiate repeated names |
![]() |
![]() |
![]() |
#501 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,486
Karma: 8025704
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Code:
s = some_string.lower() for t in tags: if s == t.lower(): print('foo') Another example: Code:
set1 = db.all_tags() #made up function set2 = set() for t in set1: set2.add(t.lower()) |
|
![]() |
![]() |
![]() |
#502 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,239
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
I used the word 'match', like it was a search in calibre. I was actually referring to the Tag Browser. 'Some Tag' and 'Some tag' are displayed separately in there. EDIT: After further testing, it looks like only the intermediate levels of hierarchical tags are case sensitive. The image above illustrates such a case: 'Tema.Seres fantásticos.Dragões'. Last edited by thiago.eec; 08-20-2024 at 11:33 AM. Reason: More info |
|
![]() |
![]() |
![]() |
#503 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,486
Karma: 8025704
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
The example happens because the real "tag" is composed of all pieces of the hierarchical item. Individual bits, in this case "Seres Fantàsticos", are not real tags and don't exist in the database. For example, you can have "Seres Fantàsticos.AAA" and "Seres fantàsticos.BBB" because the tag differs in content. However, you can't have "Seres Fantàsticos.AAA" and "Seres fantàsticos.AAA" because in this case the tag differs only in case. Nor can you have "Seres Fantàsticos.AAA" and "Seres Fantàsticos.aaa". One of the two will win and be in the db. Bottom line: you can't compare individual items in a hierarchy to see if they are the same tag. You can only compare the entire tag. It is very possible that none of this matters for what you are doing. ![]() |
|
![]() |
![]() |
![]() |
#504 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,239
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
Quote:
The most important fix was checking the parents to avoid messing up when the user have the same string used repeatedly in different places. |
||
![]() |
![]() |
![]() |
#505 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,128
Karma: 77213683
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#506 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,239
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
- Bug fix: inside a genre, group subgenres Last edited by thiago.eec; 08-21-2024 at 12:31 PM. |
|
![]() |
![]() |
![]() |
#507 |
Member
![]() Posts: 10
Karma: 10
Join Date: Aug 2024
Location: Germany
Device: Pocketbook Touch Lux 3
|
|
![]() |
![]() |
![]() |
#508 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,657
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I've got a question. My column "genero" (for genre classification) is created like this: "{tags:re( / ,.)}", as my tags are split by " / ". When I show the statistics, however, I get something like this: Mistery.Cozy 36. How can I show it in a hierarchical way?
--- Edit: I think it's how it's intended to work (my bad), keeping it just in case somebody has the same doubt. Subgenre view appears only when editing the goal. Last edited by Terisa de morgan; 08-25-2024 at 01:23 PM. |
![]() |
![]() |
![]() |
#509 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,128
Karma: 77213683
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#510 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,239
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Yes. The hierarchy view is just for the Edit Reading Goal dialog. In the Statistics dialog we have size limitations, also the problem with the graphics starting/finishing with an offset, that would make them look weird to me.
P.S.: @ownedbycats, one question about your statistics window: can't you resize it to lose the scrollbar? It is supposed to be freely resizable and to remember the geometry, but maybe there is glitch that I don't know about. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Reading List | kiwidude | Plugins | 1430 | 09-03-2025 05:14 AM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 05:25 AM |
Reading Goal | KyBunnies | Audiobook Discussions | 12 | 10-25-2017 05:29 PM |