Upload (multiple) book formats with progress and merge the corresponding metadata into the book

This commit is contained in:
Ozzie Isaacs
2024-08-17 15:34:50 +02:00
parent d8d9d405e9
commit 1eb77c9cd4
7 changed files with 291 additions and 277 deletions

View File

@@ -299,7 +299,8 @@ def get_languages_json():
def get_matching_tags():
tag_dict = {'tags': []}
q = calibre_db.session.query(db.Books).filter(calibre_db.common_filters(True))
calibre_db.session.connection().connection.connection.create_function("lower", 1, db.lcase)
calibre_db.create_functions()
# calibre_db.session.connection().connection.connection.create_function("lower", 1, db.lcase)
author_input = request.args.get('author_name') or ''
title_input = request.args.get('book_title') or ''
include_tag_inputs = request.args.getlist('include_tag') or ''