Obsolete method
This commit is contained in:
parent
170b6c5066
commit
7830f49936
1 changed files with 0 additions and 18 deletions
|
@ -69,24 +69,6 @@ class Items(object):
|
||||||
self.kodiconn.close()
|
self.kodiconn.close()
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def askToValidate(self, url):
|
|
||||||
"""
|
|
||||||
Displays a YESNO dialog box:
|
|
||||||
Kodi can't locate file: <url>. Please verify the path.
|
|
||||||
You may need to verify your network credentials in the
|
|
||||||
add-on settings or use different Plex paths. Stop syncing?
|
|
||||||
Returns True if sync should stop, else False
|
|
||||||
"""
|
|
||||||
import xbmcaddon
|
|
||||||
string = xbmcaddon.Addon().getLocalizedString
|
|
||||||
resp = xbmcgui.Dialog().yesno(
|
|
||||||
heading=self.addonName,
|
|
||||||
line1=string(39031) + url,
|
|
||||||
line2=string(39032))
|
|
||||||
if resp:
|
|
||||||
utils.window('suspend_LibraryThread', value="true")
|
|
||||||
return resp
|
|
||||||
|
|
||||||
def itemsbyId(self, items, process, pdialog=None):
|
def itemsbyId(self, items, process, pdialog=None):
|
||||||
# Process items by itemid. Process can be added, update, userdata, remove
|
# Process items by itemid. Process can be added, update, userdata, remove
|
||||||
emby = self.emby
|
emby = self.emby
|
||||||
|
|
Loading…
Reference in a new issue