mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Fix reset hanging
This commit is contained in:
parent
82302cfc4e
commit
0cce414aee
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,7 @@ import logging
|
||||||
import sqlite3
|
import sqlite3
|
||||||
import StringIO
|
import StringIO
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
import time
|
import time
|
||||||
import unicodedata
|
import unicodedata
|
||||||
import xml.etree.ElementTree as etree
|
import xml.etree.ElementTree as etree
|
||||||
|
@ -17,6 +18,7 @@ from datetime import datetime
|
||||||
import xbmc
|
import xbmc
|
||||||
import xbmcaddon
|
import xbmcaddon
|
||||||
import xbmcgui
|
import xbmcgui
|
||||||
|
import xbmcplugin
|
||||||
import xbmcvfs
|
import xbmcvfs
|
||||||
|
|
||||||
#################################################################################################
|
#################################################################################################
|
||||||
|
@ -437,6 +439,7 @@ def reset():
|
||||||
|
|
||||||
dialog.ok(heading=language(29999), line1=language(33088))
|
dialog.ok(heading=language(29999), line1=language(33088))
|
||||||
xbmc.executebuiltin('RestartApp')
|
xbmc.executebuiltin('RestartApp')
|
||||||
|
return xbmcplugin.setResolvedUrl(int(sys.argv[1]), False, xbmcgui.ListItem())
|
||||||
|
|
||||||
def sourcesXML():
|
def sourcesXML():
|
||||||
# To make Master lock compatible
|
# To make Master lock compatible
|
||||||
|
|
Loading…
Reference in a new issue