From a70ae657ecc219ff961985e26738850d43cae59b Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Tue, 4 Feb 2025 12:12:57 +0100 Subject: [PATCH] Chore: Fix default instance name --- music_assistant/models/provider.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/music_assistant/models/provider.py b/music_assistant/models/provider.py index 81d951db..d598dffc 100644 --- a/music_assistant/models/provider.py +++ b/music_assistant/models/provider.py @@ -93,8 +93,8 @@ class Provider: return self.config.name inst_count = len([x for x in self.mass.music.providers if x.domain == self.domain]) if inst_count > 1: - postfix = self.instance_id[:-8] - return f"{self.manifest.name}.{postfix}" + postfix = self.instance_id[-8:] + return f"{self.manifest.name} {postfix}" return self.manifest.name def to_dict(self, *args, **kwargs) -> dict[str, Any]: -- 2.34.1