A therapist on a home visit walked in on a child rapist in his underpants watching a depraved sex abuse slideshow on his TV.
The horrified council worker made the discovery after entering the darkened living room of paedophile Hugh McDermott.
She found the pervert stood in only his underpants and a shirt, as images of little girls being raped moved across the screen.
McDermott, 63, admitted downloading 4,969 indecent images of children, plus 57 sickening cartoons.
But he walked free from court today after being handed a suspended sentence so he could go on a sex offender treatment course.
Liverpool Crown Court heard McDermott, of Church Avenue, Aintree , was convicted of indecently assaulting a girl in 1984.
He was then jailed for 10 years for rape, attempted rape and indecent assault of children in Northern Ireland in 1990.
An occupational therapist employed by Liverpool council visited his home on several occasions, including September 14 last year.
Christopher Hopkins, prosecuting, said: “She noted that the premises were still in darkness.
“When she went in, the defendant was in a state of partial undress. The premises was clearly not being maintained properly.
“She began to complete his care plan when she noticed the TV was on. She could see on the screen an indecent image of a child, aged about six or seven, lying on her back completely naked. She was obviously very shocked.”
Mr Hopkins said she continued with the visit but later noted the TV had changed to a second image of a girl, aged about five, being raped.
The court heard the disgusted worker left and contacted police, who visited McDermott’s home that afternoon and seized computer equipment.
He made no comment when arrested and interviewed by officers, but four pieces of equipment were analysed, revealing his vile stash.
It included 1,806 Category A photographs – the most serious category – and three Category A videos of young children being abused.
McDermott admitted possessing a further 1,198 Category B images and videos, plus 1,962 Category C images, and 57 banned pictures.
Judge Robert Warnock said his 1990 conviction was for “exceptionally serious matters”, but he had no record of offences against children since.
Judge Warnock told the pervert: “You of course must understand, as does everybody else, that these foul images were representing the physical abuse of children.
“You downloading these images promoted the abuse of children.”
The judge said he had to consider the protection of the public, particularly children, and McDermott’s past convictions, which were “such a long time ago”.
Judge Warnock said at the time there was no requirement for McDermott to sign on the Sex Offenders Register and he had not been back to court since.
He added: “I acknowledge the obvious point that you are socially isolated.
“You appear to be a chronic alcoholic, your self respect has gone, you suffer serious and disabling illnesses, most particularly arthritis, and you do not – to use the colloquial expression – get out from your property, as far as I can see, at all.”
The judge told McDermott that he believed a prison sentence would “probably not result in any way addressing your paedophile tendencies”.
He added: “Your tendencies as I’ve described must be addressed.”
Judge Warnock sentenced McDermott to 12 months in jail, suspended for two years, with a Horizon sex offender treatment programme.
He said he must attend a 20-day Rehabilitation Activity Requirement and imposed an eight-month home curfew, from 8pm to 6am daily.
The judge also ordered McDermott to sign on the Sex Offenders Register and to comply with a Sexual Harm Prevention Order for 10 years.