Skip to content

Commit

Permalink
string changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Nov 14, 2021
1 parent 975fdfc commit 3799336
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manual/sub_groups.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The commonly-provided requirements for subgroups such as genres are:
* A book can be in multiple subgroups (genres). This distinguishes subgroups from physical file folders.
* Subgroups (genres) must form a hierarchy; subgroups can contain subgroups.

Tags give you the first two. If you tag a book with the genre then you can use the Tag browser (or search) for find the books with that genre, giving you the first. Many books can have the same tag(s), giving you the second. The problem is that tags don't satisfy the third requirement. They don't provide a hierarchy.
Tags give you the first two. If you tag a book with the genre then you can use the Tag browser (or search) to find the books with that genre, giving you the first. Many books can have the same tag(s), giving you the second. The problem is that tags don't satisfy the third requirement. They don't provide a hierarchy.

|sgtree| The calibre hierarchy feature gives you the third -- the ability to see the genres in a 'tree' and the ability to easily search for books in genre or sub-genre. For example, assume that your genre structure is similar to the following::

Expand Down
2 changes: 1 addition & 1 deletion src/calibre/db/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -1365,7 +1365,7 @@ def dump_metadata(self, book_ids=None, remove_from_dirtied=True,

@write_api
def set_cover(self, book_id_data_map):
''' Set the cover for this book. data can be either a QImage,
''' Set the cover for this book. The data can be either a QImage,
QPixmap, file object or bytestring. It can also be None, in which
case any existing cover is removed. '''

Expand Down

0 comments on commit 3799336

Please sign in to comment.