From: Marcel van der Veldt Date: Thu, 6 Feb 2025 10:13:43 +0000 (+0100) Subject: Chore: Start full sync after reset of library db X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=99950c8344326b1d7fe026dadf6b015763039d0c;p=music-assistant-server.git Chore: Start full sync after reset of library db --- diff --git a/music_assistant/controllers/music.py b/music_assistant/controllers/music.py index 321c8a8c..ca4b851c 100644 --- a/music_assistant/controllers/music.py +++ b/music_assistant/controllers/music.py @@ -1261,6 +1261,8 @@ class MusicController(CoreController): db_path = os.path.join(self.mass.storage_path, "library.db") await asyncio.to_thread(os.remove, db_path) await self._setup_database() + # initiate full sync + self.start_sync() async def __create_database_tables(self) -> None: """Create database tables."""