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