Files
addon/servers/directo.py
2020-11-25 17:54:25 +01:00

16 lines
431 B
Python

# -*- coding: utf-8 -*-
from platformcode import logger, config
def test_video_exists(page_url):
return True, ""
# Returns an array of possible video url's from the page_url
def get_video_url(page_url, premium=False, user="", password="", video_password=""):
logger.debug("(page_url='%s')" % page_url)
video_urls = [["%s %s" % (page_url[-4:], config.get_localized_string(30137)), page_url]]
return video_urls