def playLive(name): #Get Required Quality From Settings videoQuality = getVideoQuality() resolver = TwitchVideoResolver(PLUGIN.log) plpath = resolver.saveHLSToPlaylist(name, videoQuality) PLUGIN.set_resolved_url(plpath)
def playLive(name): #Get Required Quality From Settings videoQuality = getVideoQuality() resolver = TwitchVideoResolver(PLUGIN.log) plpath = resolver.saveHLSToPlaylist(name,videoQuality) PLUGIN.set_resolved_url(plpath)
def playLive(name): #Get Required Quality From Settings videoQuality = getVideoQuality() plpath = xbmc.translatePath('special://temp') + 'hlsplaylist.m3u8' resolver = TwitchVideoResolver(PLUGIN.log) resolver.saveHLSToPlaylist(name,videoQuality,plpath) #Play Custom Playlist xbmc.Player().play(plpath) PLUGIN.set_resolved_url(plpath)
def playLive(name): videoQuality = getVideoQuality() resolver = TwitchVideoResolver() rtmpUrl = resolver.getRTMPUrl(name, videoQuality) PLUGIN.set_resolved_url(rtmpUrl)