item_info_name=title
item_info_from=@PARAM1@
item_info_build=Streamup - %s

item_info_name=playUrl
item_info_from=@PARAM1@
item_info_convert=lowercase
item_info_build=https://streamup.com/%s/embeds/video?startMuted=true

item_info_name=id
item_info_from=@PARAM1@
item_info_convert=getInfo('https://api.streamup.com/v1/channels/%s','.*?["']slug["']\s*:\s*["']([^"']+)["'].*','@playUrl@')
item_info_build=%s

item_info_name=file
item_info_from=id
item_info_convert=getInfo('https://lancer.streamup.com/api/channels/%s/playlists','.*(http[^"']+\.m3u8[^"']*).*','@playUrl@')
item_info_build=%s

item_info_name=ref
item_info_from=playUrl
item_info_convert=quote(%s)
item_info_convert=quote(%s)
item_info_build=%s

item_info_name=url
item_info_from=file+'|Referer='+ref+'&User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36&X-Requested-With=ShockwaveFlash/24.0.0.221
item_info_build=%s
