Пример #1
0
def resolve_video_url(url):
    from xbmcswift2 import xbmc
    userid = plugin.get_setting('id', str)
    passwd = plugin.get_setting('pass', str)

    page_url = dabdate.root_url+url
    return dabdate.getStreamUrl( page_url, userid=userid, passwd=passwd, cookiefile=CookiePath )
Пример #2
0
def resolve_video_url(url):
    from xbmcswift2 import xbmc
    cookiepath = xbmc.translatePath( 'special://temp/dabdate_cookie.lwp' )
    userid = plugin.get_setting('id', str)
    passwd = plugin.get_setting('pass', str)

    page_url = dabdate.root_url+url
    return dabdate.getStreamUrl( page_url, userid=userid, passwd=passwd, cookiefile=cookiepath )
Пример #3
0
def resolve_video_url(url):
    from xbmcswift2 import xbmc
    userid = plugin.get_setting('id', str)
    passwd = plugin.get_setting('pass', str)

    page_url = dabdate.root_url + url
    return dabdate.getStreamUrl(page_url,
                                userid=userid,
                                passwd=passwd,
                                cookiefile=CookiePath)
Пример #4
0
def resolve_video_url(url):
    from xbmcswift2 import xbmc
    cookiepath = xbmc.translatePath('special://temp/dabdate_cookie.lwp')
    userid = plugin.get_setting('id', str)
    passwd = plugin.get_setting('pass', str)

    page_url = dabdate.root_url + url
    return dabdate.getStreamUrl(page_url,
                                userid=userid,
                                passwd=passwd,
                                cookiefile=cookiepath)