2 ms·
Works fine for me, what doesn't work? $ curl -fsSL 'https://ap-playerservices.streamtheworld.com/api/livestream?station=NOVA_919&version=1.9' | xq -x //tra
by alecthomas 4y ago
Works fine for me, what doesn't work?
$ curl -fsSL 'https://ap-playerservices.streamtheworld.com/api/livestream?station=NOVA_919&version=1.9' | xq -x //transport
http
hls
hlsts
http
http
hls
hlsts
http
hls
hlsts
- its-summertime 4y agoit works if you need to not use the structured nature of the document for $mp in /ls:live_stream_config/ls:mountpoints/ls:mountpoint for $server in $mp/ls:servers/ls:server return { concat( "https://", $server/ls:ip, "/", $mp/ls:mount, ".", local:codec-to-ext($mp/ls:media-format/ls:audio/@codec) ) } is the core of my xqilla work, its something I could replicate in jq, I don't think I could replicate it in xq however