Merge pull request #1744 from croneter/py3-fix-masterlock

Fix media not showing up in the library if Kodi masterlock has been activated. Kodi bugfix is also necessary, hopefully coming with Kodi 19.4, otherwise switch to Kodi 19.1
This commit is contained in:
croneter 2021-12-22 14:48:58 +01:00 committed by GitHub
commit c10a2ee59b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -526,7 +526,7 @@ class InitialSetup(object):
force_create=True,
top_element='sources') as xml:
changed = False
for extension in ('smb://', 'nfs://'):
for extension in ('smb://', 'nfs://', 'plugin://'):
root = xml.set_setting(['video'])
changed = self._add_sources(root, extension) or changed
if changed: