From 6f56f2538405234f87b5168e499a959b6672bd5e Mon Sep 17 00:00:00 2001 From: Kamil Date: Fri, 22 Nov 2024 20:37:19 +0000 Subject: [PATCH 1/3] 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 From f9993959ed2f84cc5a0e994583072771fe700602 Mon Sep 17 00:00:00 2001 From: Kamil Date: Fri, 22 Nov 2024 20:48:20 +0000 Subject: [PATCH 2/3] publish with multiple tags --- .github/workflows/manual-build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/manual-build.yml b/.github/workflows/manual-build.yml index cfbc3e2..ecb8b0c 100644 --- a/.github/workflows/manual-build.yml +++ b/.github/workflows/manual-build.yml @@ -37,4 +37,8 @@ jobs: with: context: . push: true - tags: ghcr.io/${{ github.repository }}:${{ github.sha }} + tags: | + ghcr.io/${{ github.repository }}:${{ github.sha }} + ghcr.io/${{ github.repository }}:dev + + \ No newline at end of file From 7177581a4c29a1ad1bc3d4ed4b7dfe5a1735f5c3 Mon Sep 17 00:00:00 2001 From: Kamil Date: Fri, 22 Nov 2024 21:02:33 +0000 Subject: [PATCH 3/3] Publish "latest" on main branch --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d70efc5..a6eab51 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,7 +38,9 @@ jobs: with: context: . push: true - tags: ghcr.io/${{ github.repository }}:${{ env.VERSION }} + tags: | + ghcr.io/${{ github.repository }}:${{ env.VERSION }} + ghcr.io/${{ github.repository }}:latest # Create a release on GitHub - name: Create GitHub Release