- Fix aggiunta episodi presenti in Libreria

- fix Nomi episodi in ricerca globale
This commit is contained in:
Alhaziel01
2021-06-10 16:57:12 +02:00
parent 4b1cb8f9a8
commit 3fd09dbb11
2 changed files with 9 additions and 4 deletions
+5 -1
View File
@@ -720,7 +720,11 @@ class SearchWindow(xbmcgui.WindowXML):
self.itemsResult = []
ep = []
for item in self.episodes:
it = xbmcgui.ListItem(item.title)
title = item.title
if item.contentEpisodeNumber: title = '{:02d}. {}'.format(item.contentEpisodeNumber, title)
if item.contentSeason: title = '{}x{}'.format(item.contentSeason, title)
it = xbmcgui.ListItem(title)
it.setProperty('item', item.tourl())
ep.append(it)