From 6f56f2538405234f87b5168e499a959b6672bd5e Mon Sep 17 00:00:00 2001 From: Kamil Date: Fri, 22 Nov 2024 20:37:19 +0000 Subject: [PATCH] do not use clean query --- jellyfin/client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jellyfin/client.py b/jellyfin/client.py index 8f1c35a..d81806f 100644 --- a/jellyfin/client.py +++ b/jellyfin/client.py @@ -182,7 +182,8 @@ class JellyfinClient: """ search_url = f'{self.base_url}/Items' params = { - 'SearchTerm': _clean_query(search_query), + 'SearchTerm': search_query, + 'IncludeItemTypes': 'Audio', # Search only for audio items 'Recursive': 'true', # Search within all folders 'Fields': 'Name,Id,Album,Artists,Path' # Retrieve the name and ID of the song