Refresh on Demand plugin for linux?
Can anyone please let me know if it could be setup on linux installation of serviio.
Thanks.
#if the url is of the format 'rtsp://a1709.l1856953708.c18569.g.lm.akamaistream.net:554/D/1709/18569/vnnn/reflector:53708*'
#extract VVAL from the url for Refresh-on-Demand (Refresh.groovy)
VVAL="$PARAM"
VVAL=`expr match "$VVAL" 'rtsp://a1709.l1856953708.c18569.g.lm.akamaistream.net:554/D/1709/18569/v\(.*\)/reflector:53708*'`
if [[ ! -z "${VVAL}" ]]; then
curl -X POST "http://localhost:23423/rest/action" -H "Content-Type: text/xml" -d "<action><name>forceOnlineResourceRefresh</name><parameter>${VVAL}</parameter></action>"
fi
Users browsing this forum: No registered users and 24 guests