From 7830f499367043ecb176d1c6514b9477f93dec18 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Wed, 13 Apr 2016 13:06:06 +0200 Subject: [PATCH] Obsolete method --- resources/lib/itemtypes.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/resources/lib/itemtypes.py b/resources/lib/itemtypes.py index e3e5dd5e..e1dab471 100644 --- a/resources/lib/itemtypes.py +++ b/resources/lib/itemtypes.py @@ -69,24 +69,6 @@ class Items(object): self.kodiconn.close() return self - def askToValidate(self, url): - """ - Displays a YESNO dialog box: - Kodi can't locate file: . 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): # Process items by itemid. Process can be added, update, userdata, remove emby = self.emby