Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Create Shelve based on Tags data from Calibre meta.db #2182

Open
himlotia opened this issue Nov 17, 2021 · 2 comments
Open

Create Shelve based on Tags data from Calibre meta.db #2182

himlotia opened this issue Nov 17, 2021 · 2 comments

Comments

@himlotia
Copy link

Hi,
Just request / suggestion to solve, shelve problem.

Just playing with Sqllite database, can you create some sort of script or button , where as setup new shelf automatically get created based on tags. For example, using Tags table, whatever tags is present in that table, should able to automatically convert in shelf.
Books_tag_link table will feed details of books which should be in that shelf. If user wants to create new custom or delete shelf than entry in shelf table should be created otherwise, by default whatever in above tables (tags & books_tag_link) should be the default entry to shelf table.

That way, every book which get entered in calibre with correct metadata (especially in tags), should be on shelf & it will resolve currently open issue that people can not find book which is not allocate on shelf (SELECT books.id, books.title
FROM books LEFT JOIN book_shelf_link ON books.[id] = book_shelf_link.[book_id]
WHERE (((book_shelf_link.book_id) Is Null));

Hope this helps.

@Yann-J
Copy link

Yann-J commented Jun 6, 2022

Fully support this, in fact I had suggested a similar feature request in #1129

The current Shelves concept is calibre-web-specific, and makes it less portable to other Calibre-based apps and clients, so a solution based purely on the Calibre sqlite data (tags, author...) would be really nice...

@HStep20
Copy link

HStep20 commented Dec 4, 2022

Id love to see a sort of 'smart shelf', like Plex does with Smart Collections, where you can set parameters for the shelf, and new books get added as the metadata of the item changes. This would be especially useful for keeping Read/Reading/To Read shelves up to date based on a column in Calibre, instead of having to manually manage, or mass add, books with the Advanced Search option

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants