예제 #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)