From 99950c8344326b1d7fe026dadf6b015763039d0c Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Thu, 6 Feb 2025 11:13:43 +0100 Subject: [PATCH] Chore: Start full sync after reset of library db --- music_assistant/controllers/music.py | 2 ++ 1 file changed, 2 insertions(+) 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.""" -- 2.34.1