mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Make sure sync libraries are formatted properly
This commit is contained in:
parent
8b89ff3deb
commit
be518f845b
1 changed files with 3 additions and 0 deletions
|
@ -335,6 +335,9 @@ def get_sync():
|
||||||
sync['Whitelist'] = list(set(sync.get('Whitelist', [])))
|
sync['Whitelist'] = list(set(sync.get('Whitelist', [])))
|
||||||
sync['SortedViews'] = sync.get('SortedViews', [])
|
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
|
return sync
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue