fix: audiobookshelf: authenticate not necessary in streamdetails (#2497)
authorFabian Munkes <105975993+fmunkes@users.noreply.github.com>
Sun, 12 Oct 2025 12:43:52 +0000 (14:43 +0200)
committerGitHub <noreply@github.com>
Sun, 12 Oct 2025 12:43:52 +0000 (14:43 +0200)
fix: authenticate not necessary/ fails for token only

music_assistant/providers/audiobookshelf/__init__.py

index 322e9d0c0989fea33522d4be8196950095c13095..4bcd82267b9d4b9435123852a4380d3581bb1233 100644 (file)
@@ -541,8 +541,6 @@ for more details.
 
     async def get_stream_details(self, item_id: str, media_type: MediaType) -> StreamDetails:
         """Get stream of item."""
-        # ensure we have a valid token
-        await self.reauthenticate()
         if media_type == MediaType.PODCAST_EPISODE:
             return await self._get_stream_details_episode(item_id)
         elif media_type == MediaType.AUDIOBOOK: