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