abs: remove use_cache decorator (#2786)
authorFabian Munkes <105975993+fmunkes@users.noreply.github.com>
Wed, 10 Dec 2025 21:54:20 +0000 (22:54 +0100)
committerGitHub <noreply@github.com>
Wed, 10 Dec 2025 21:54:20 +0000 (22:54 +0100)
remove use_cache decorator

music_assistant/providers/audiobookshelf/__init__.py

index 3f914f908d3bbdf65d255ba038a4fcae4d16f605..770c377a807de907fb008825e17cfb2aa9742776 100644 (file)
@@ -62,7 +62,6 @@ from music_assistant_models.media_items import (
 from music_assistant_models.media_items.media_item import RecommendationFolder
 from music_assistant_models.streamdetails import MultiPartPath, StreamDetails
 
-from music_assistant.controllers.cache import use_cache
 from music_assistant.models.music_provider import MusicProvider
 from music_assistant.providers.audiobookshelf.parsers import (
     parse_audiobook,
@@ -418,7 +417,6 @@ for more details.
 
         return abs_podcast
 
-    @use_cache(3600)
     @handle_refresh_token
     async def get_podcast(self, prov_podcast_id: str) -> Podcast:
         """Get single podcast."""
@@ -531,7 +529,6 @@ for more details.
 
         return abs_audiobook
 
-    @use_cache(3600)
     @handle_refresh_token
     async def get_audiobook(self, prov_audiobook_id: str) -> Audiobook:
         """Get a single audiobook.