Skip to content

Commit

Permalink
fix: Jellyfin should use the correct MA version instead of hardcoding…
Browse files Browse the repository at this point in the history
… an old one (#1861)
  • Loading branch information
Jc2k authored Jan 13, 2025
1 parent 16afa3e commit e6971a7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions music_assistant/providers/jellyfin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
from .const import (
ALBUM_FIELDS,
ARTIST_FIELDS,
CLIENT_VERSION,
ITEM_KEY_COLLECTION_TYPE,
ITEM_KEY_ID,
ITEM_KEY_MEDIA_CHANNELS,
Expand Down Expand Up @@ -157,7 +156,7 @@ async def handle_async_init(self) -> None:
url=str(self.config.get_value(CONF_URL)),
verify_ssl=bool(self.config.get_value(CONF_VERIFY_SSL)),
app_name=USER_APP_NAME,
app_version=CLIENT_VERSION,
app_version=self.mass.version,
device_name=socket.gethostname(),
device_id=device_id,
)
Expand Down
2 changes: 0 additions & 2 deletions music_assistant/providers/jellyfin/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@

DOMAIN: Final = "jellyfin"

CLIENT_VERSION: Final = "0.1"

COLLECTION_TYPE_MOVIES: Final = "movies"
COLLECTION_TYPE_MUSIC: Final = "music"
COLLECTION_TYPE_TVSHOWS: Final = "tvshows"
Expand Down

0 comments on commit e6971a7

Please sign in to comment.