By Kevin Young
Entertainment reporter, BBC News, Edinburgh TV Festival
BBC One has scooped two awards at the Edinburgh TV Festival, being named terrestrial channel of the year and taking best programme for Doctor Who.
The next series of Dr Who sees the return of Catherine Tate
ITV2 received the prize for top digital-only channel, beating five nominated rivals.
BBC One's success was described as "the best thing that's happened to me all month" by controller Peter Fincham.
He has had to apologise for recent scandals including the misleading editing of a film clip of the Queen.
Mr Fincham has also had to face criticism over rigged competitions on shows such as Blue Peter, but said he was "very lucky to be running BBC One" and said it was a job he "loved".
"I hope I'll be doing it for a good while yet," he told delegates at the annual festival, which attracts about 2,000 industry figures.
The shortlists for the three categories were compiled from public votes by polling company YouGov.
The festival's executive committee - made up of 33 senior figures from TV and journalism - then decided the terrestrial and non-terrestrial channels of the year.
Jordan and Peter Andre's documentary has been a hit for ITV2
The winner of the best programme prize was chosen from a shortlist by almost 200 young people, who were invited to attend the festival as a way of showcasing the next generation of TV talent.
Doctor Who producer Phil Collinson paid tribute to those delegates, saying that to receive the award "from young people coming into this industry is a particular honour".
He also praised the BBC, saying that without it, "Doctor Who would never be made, would never be so good and would never be so well supported".
The other nominees for the terrestrial channel award were BBC Two, ITV1, Channel 4 and Five.
On the shortlist for best non-terrestrial network were BBC Three, BBC Four, More4, Sky One and UKTV Gold.
Doctor Who beat E4's drama Skins as well as fellow BBC One series Life on Mars and Planet Earth to win best drama.