A bunch of changes

This commit is contained in:
Ignacio Serantes
2026-03-23 21:53:19 +01:00
parent a402828d1a
commit 547bfbf760
9 changed files with 544 additions and 150 deletions

View File

@@ -1404,8 +1404,8 @@ class ImageScanner(QThread):
return None, []
def _search(self, query):
engine = APP_CONFIG.get("search_engine", "Native")
if HAVE_BAGHEERASEARCH_LIB and (engine == "Native" or not SEARCH_CMD):
engine = APP_CONFIG.get("search_engine", "Bagheera")
if HAVE_BAGHEERASEARCH_LIB and (engine == "Bagheera" or not SEARCH_CMD):
query_text, main_options, other_options = self._parse_query(query)
try:
searcher = BagheeraSearcher()