Example #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 )
Example #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 )
Example #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)
Example #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)