Merge pull request #1 from kamilkosek/dev

Merge dev into main
This commit is contained in:
Kamil Kosek
2024-11-22 22:03:34 +01:00
committed by GitHub
3 changed files with 10 additions and 3 deletions

View File

@@ -38,7 +38,9 @@ jobs:
with: with:
context: . context: .
push: true 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 # Create a release on GitHub
- name: Create GitHub Release - name: Create GitHub Release

View File

@@ -37,4 +37,8 @@ jobs:
with: with:
context: . context: .
push: true push: true
tags: ghcr.io/${{ github.repository }}:${{ github.sha }} tags: |
ghcr.io/${{ github.repository }}:${{ github.sha }}
ghcr.io/${{ github.repository }}:dev

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