I've tried the new script that uses the lower quality stream and it works good without having to use the browser but the quality seems to have got alot worse. I'm not sure which stream the previous script was using but it seemed alot better.
nano -w /home/user/tvcatchup.sh