traduzione server testvideo
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import sys
|
||||
|
||||
from platformcode import config
|
||||
|
||||
PY3 = False
|
||||
if sys.version_info[0] >= 3: PY3 = True; unicode = str; unichr = chr; long = int
|
||||
|
||||
@@ -18,9 +20,9 @@ def test_video_exists(page_url):
|
||||
global data
|
||||
data = httptools.downloadpage(page_url, headers={'Referer': referer}).data
|
||||
if data == "File was deleted":
|
||||
return False, "[Streamplay] El archivo no existe o ha sido borrado"
|
||||
return False, config.get_localized_string(70449) % "Streamplay"
|
||||
elif "Video is processing now" in data:
|
||||
return False, "[Streamplay] El archivo se está procesando"
|
||||
return False, config.get_localized_string(70449) % "Streamplay"
|
||||
return True, ""
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user