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 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 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