Merge pull request #856 from croneter/fix-crash

Hopefully fix Kodi crashing on playback startup
This commit is contained in:
croneter 2019-05-28 20:12:08 +02:00 committed by GitHub
commit 3e2e538e70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -167,7 +167,7 @@ class Main():
time=3000) time=3000)
xbmcplugin.setResolvedUrl(HANDLE, False, xbmcgui.ListItem()) xbmcplugin.setResolvedUrl(HANDLE, False, xbmcgui.ListItem())
elif result is True: elif result is True:
pass xbmcplugin.setResolvedUrl(HANDLE, False, xbmcgui.ListItem())
else: else:
# Received a xbmcgui.ListItem() # Received a xbmcgui.ListItem()
xbmcplugin.setResolvedUrl(HANDLE, True, result) xbmcplugin.setResolvedUrl(HANDLE, True, result)