From be518f845b2e6536a7bd8883713b6e19b306b8fa Mon Sep 17 00:00:00 2001 From: Matt Date: Sun, 2 May 2021 12:56:32 -0400 Subject: [PATCH] Make sure sync libraries are formatted properly --- jellyfin_kodi/database/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jellyfin_kodi/database/__init__.py b/jellyfin_kodi/database/__init__.py index 6371d888..be1d6cbc 100644 --- a/jellyfin_kodi/database/__init__.py +++ b/jellyfin_kodi/database/__init__.py @@ -335,6 +335,9 @@ def get_sync(): sync['Whitelist'] = list(set(sync.get('Whitelist', []))) sync['SortedViews'] = sync.get('SortedViews', []) + # Temporary cleanup from #494/#511, remove in a future version + sync['Libraries'] = [lib_id for lib_id in sync['Libraries'] if ',' not in lib_id] + return sync