do not use clean query

This commit is contained in:
Kamil
2024-11-22 20:37:19 +00:00
parent 72aff2af5c
commit 6f56f25384

View File

@@ -182,7 +182,8 @@ class JellyfinClient:
""" """
search_url = f'{self.base_url}/Items' search_url = f'{self.base_url}/Items'
params = { params = {
'SearchTerm': _clean_query(search_query), 'SearchTerm': search_query,
'IncludeItemTypes': 'Audio', # Search only for audio items 'IncludeItemTypes': 'Audio', # Search only for audio items
'Recursive': 'true', # Search within all folders 'Recursive': 'true', # Search within all folders
'Fields': 'Name,Id,Album,Artists,Path' # Retrieve the name and ID of the song 'Fields': 'Name,Id,Album,Artists,Path' # Retrieve the name and ID of the song