summaryrefslogtreecommitdiff
path: root/src/menuscripts/stream-areena
blob: 7b0c41f0d74bd3132798a07be4066c3747b159ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

set -e

. utils.sh

if [ "x$1" = "x" ]; then
    exit 1
fi

STREAMURL=$(yle-dl --showurl "$1")
STREAMTITLE=$(yle-dl --showtitle "$1")

outputWebviMenu "$STREAMURL" "$STREAMTITLE"