ricerca globale: aggiornamento gui in try-except
This commit is contained in:
@@ -348,11 +348,12 @@ class SearchWindow(xbmcgui.WindowXML):
|
|||||||
if self.item.mode != 'all' and not valid and self.item.infoLabels.get('originaltitle'):
|
if self.item.mode != 'all' and not valid and self.item.infoLabels.get('originaltitle'):
|
||||||
logger.debug('retring with original title on channel ' + channel)
|
logger.debug('retring with original title on channel ' + channel)
|
||||||
dummy, valid, dummy = search(self.item.infoLabels.get('originaltitle'))
|
dummy, valid, dummy = search(self.item.infoLabels.get('originaltitle'))
|
||||||
except:
|
|
||||||
pass
|
|
||||||
|
|
||||||
self.count += 1
|
self.count += 1
|
||||||
return self.update(channel, valid, other if other else results)
|
return self.update(channel, valid, other if other else results)
|
||||||
|
except:
|
||||||
|
import traceback
|
||||||
|
logger.error(traceback.format_exc())
|
||||||
|
|
||||||
def makeItem(self, url):
|
def makeItem(self, url):
|
||||||
item = Item().fromurl(url)
|
item = Item().fromurl(url)
|
||||||
|
|||||||
Reference in New Issue
Block a user