Tantifilm Rewrited, and other minor fix
This commit is contained in:
+8
-3
@@ -715,6 +715,7 @@ def check_list_links(itemlist, numero='', timeout=3):
|
||||
if numero > 0 and it.server != '' and it.url != '':
|
||||
verificacion = check_video_link(it.url, it.server, timeout)
|
||||
it.title = verificacion + ' ' + it.title.strip()
|
||||
logger.info('VERIFICATION= '+ verificacion)
|
||||
it.alive = verificacion
|
||||
numero -= 1
|
||||
return itemlist
|
||||
@@ -726,9 +727,13 @@ def check_video_link(url, server, timeout=3):
|
||||
:return: str(2) '??':No se ha podido comprobar. 'Ok':Parece que el link funciona. 'NO':Parece que no funciona.
|
||||
"""
|
||||
|
||||
NK = "[COLOR 0xFFF9B613][B]" + u'\u25cf' + "[/B][/COLOR]"
|
||||
OK = "[COLOR 0xFF00C289][B]" + u'\u25cf' + "[/B][/COLOR]"
|
||||
KO = "[COLOR 0xFFC20000][B]" + u'\u25cf' + "[/B][/COLOR]"
|
||||
# NK = "[COLOR 0xFFF9B613][B]" + u"\u25cf" + "[/B][/COLOR]"
|
||||
# OK = "[COLOR 0xFF00C289][B]" + u"\u25cf" + "[/B][/COLOR]"
|
||||
# KO = "[COLOR 0xFFC20000][B]" + u"\u25cf" + "[/B][/COLOR]"
|
||||
|
||||
NK = "[COLOR 0xFFF9B613][B]O[/B][/COLOR]"
|
||||
OK = "[COLOR 0xFF00C289][B]O[/B][/COLOR]"
|
||||
KO = "[COLOR 0xFFC20000][B]O[/B][/COLOR]"
|
||||
|
||||
try:
|
||||
server_module = __import__('servers.%s' % server, None, None, ["servers.%s" % server])
|
||||
|
||||
Reference in New Issue
Block a user