piccoli fix
This commit is contained in:
@@ -23,6 +23,8 @@ from xml.dom import minidom
|
||||
def mark_auto_as_watched(item):
|
||||
def mark_as_watched_subThread(item):
|
||||
logger.debug()
|
||||
actual_time = 0
|
||||
total_time = 0
|
||||
# logger.debug("item:\n" + item.tostring('\n'))
|
||||
if item.options['continue']: item.played_time = platformtools.resume_playback(platformtools.get_played_time(item))
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ def test_video_exists(page_url):
|
||||
global data
|
||||
data = page.data
|
||||
if page.code == 404 or 'File is no longer available' in data:
|
||||
return False, config.get_localized_string(70449)
|
||||
return False, config.get_localized_string(70449) % "VUP"
|
||||
return True, ""
|
||||
|
||||
|
||||
|
||||
@@ -710,12 +710,12 @@ class SearchWindow(xbmcgui.WindowXMLDialog):
|
||||
if index > 0: xbmc.executebuiltin(context_commands[index])
|
||||
|
||||
|
||||
def play(self, server):
|
||||
server.globalsearch = True
|
||||
run(server)
|
||||
while not platformtools.is_playing():
|
||||
xbmc.sleep(500)
|
||||
self.close()
|
||||
while platformtools.is_playing():
|
||||
xbmc.sleep(500)
|
||||
self.doModal()
|
||||
def play(self, server):
|
||||
server.globalsearch = True
|
||||
run(server)
|
||||
while not platformtools.is_playing():
|
||||
xbmc.sleep(500)
|
||||
self.close()
|
||||
while platformtools.is_playing():
|
||||
xbmc.sleep(500)
|
||||
self.doModal()
|
||||
|
||||
Reference in New Issue
Block a user