Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 02-21-2021, 01:53 PM   #1
norolim
Member
norolim began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Feb 2021
Device: none
Question Combining child genres from different parents

OK, once again I searched through Calibre options, this forum and the Internet and found no solution. Here is the problem:

Let's say I have a sci-fi novel and a sci-fi short story in my collection. In my custom #genre column I classify them as Novel.Sci-fi and Short Story.Sci-fi respectively. This creates the following hierarchy in my Tag Browser:
  • Novel
    • Sci-fi
  • Short Story
    • Sci-fi

The problem is Calibre treats both Sci-fi child items as two different genres and as a result shows only one book in each:
  • Novel 1
    • Sci-fi 1
  • Short Story 1
    • Sci-fi 1

instead of the more desirable:
  • Novel 1
    • Sci-fi 2
  • Short Story 1
    • Sci-fi 2

This is understandable, considering how the hierarchy is created, but is there a way around it? Please mind, I'm using Calibre v3.48.
norolim is offline   Reply With Quote
Old 02-21-2021, 03:53 PM   #2
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,056
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
You could just not group the tags hierarchically. Have three tags, Novel, Short story, and Sci-fi. Apply multiple to each book as needed. A hierarchy is best reserved for sub genres.
jhowell is online now   Reply With Quote
Advert
Old 02-21-2021, 07:46 PM   #3
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Another choice would be to use word count to decide if the book is a novel or short story. There are fairly well agreed numbers for these available on the web.
davidfor is offline   Reply With Quote
Old 02-22-2021, 10:40 AM   #4
ekbell
Guru
ekbell ought to be getting tired of karma fortunes by now.ekbell ought to be getting tired of karma fortunes by now.ekbell ought to be getting tired of karma fortunes by now.ekbell ought to be getting tired of karma fortunes by now.ekbell ought to be getting tired of karma fortunes by now.ekbell ought to be getting tired of karma fortunes by now.ekbell ought to be getting tired of karma fortunes by now.ekbell ought to be getting tired of karma fortunes by now.ekbell ought to be getting tired of karma fortunes by now.ekbell ought to be getting tired of karma fortunes by now.ekbell ought to be getting tired of karma fortunes by now.
 
Posts: 627
Karma: 12345678
Join Date: Jan 2015
Location: Canada
Device: none
I have hierarchical tags for length (ie length.short) and tag genre separately.
ekbell is offline   Reply With Quote
Old 02-22-2021, 03:05 PM   #5
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,844
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I have a composite column that pulls the hierarchical entries from Tags, then splits and dedups them. Although intended to make the details pane look a bit neater, it has an extra effect that clicking on "Dogs" will show results from both Fiction.Animals.Dogs and Nonfiction.Animals.Dogs.

While my own template code is heavily customized for my own (very exacting and unreasonable) standards, there's a few examples here that do the same thing: https://www.mobileread.com/forums/sh...d.php?t=168718

Last edited by ownedbycats; 02-22-2021 at 11:12 PM.
ownedbycats is offline   Reply With Quote
Advert
Old 03-02-2021, 01:49 PM   #6
norolim
Member
norolim began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Feb 2021
Device: none
Thank you for all the suggestions. I ended up separating things into genres and subgenres, with novels, shorts stories, poems etc. classified as genres and the more thematic categories, like fantasy, sci-fi or horror being treated as subgenres.
norolim is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a tweak for genres and tags to view all child items by default? Whallup Library Management 0 07-16-2020 03:50 PM
Genres - How do I assign a book to 2 genres? RPL Library Management 3 03-08-2018 06:37 PM
Best E-Readers for Parents? WordCountess Which one should I buy? 19 02-20-2013 08:50 AM
The best Fictional Parents kennyc Reading Recommendations 1 11-08-2010 01:55 PM


All times are GMT -4. The time now is 09:07 AM.


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