linkinfo="$(urlsave "$info")"
rpiaddr="$(host pfostenpanne |sed -r 's;^.* ([0-9\.]+)$;\1;')"
- rpibase="http://${rpiaddr}/?path=http://jupiter:8000/"
- rpicgi="http://${rpiaddr}/?path=$(urlsave "http://jupiter:8000/?action=transcode&t=480&i=")"
+ rpidull="http://${rpiaddr}/?path=http://jupiter:8000/${video}"
+ rpicgi="http://${rpiaddr}/?path=$(urlsave "http://jupiter:8000/?action=transcode&i=${linkinfo}&t=480")"
[ $height -gt 480 ] && \
- raspi="<a class=\"videolink alt raspi\" href=\"${rpicgi}${linkinfo}\">RasPi</a>" \
- || raspi="<a class=\"videolink alt raspi\" href=\"${rpibase}${video}\">RasPi</a>"
+ raspi="<a class=\"videolink alt raspi\" href=\"${rpicgi}\">RasPi</a>" \
+ || raspi="<a class=\"videolink alt raspi\" href=\"${rpidull}\">RasPi</a>"
[ $height -gt 480 ] && \
alt480="<a class=\"videolink alt 480p\" href=\"?action=transcode&i=${linkinfo}&t=480\">480p</a>" \
||unset alt480