Victoria Wood is to join the cast of BBC One crime drama Case Histories.
Shooting on the second series, based on the best-selling novels of Kate Atkinson, starts in Edinburgh this week.
Wood will appear in the first of three episodes which is adapted from Atkinson's novel Started Early, Took My Dog.
She said: ‘I am a huge fan of Kate Atkinson and couldn't resist the chance to be involved.’
The other two episodes are based on story ideas from Atkinson rather than full novels.
Jason Isaacs, who stars as private detective Jackson Brodie, said: I can't wait to put on the crumpled, witty, self-destructive, noble and naughty skin of Jackson Brodie again and dive into the unique flavour of Kate Atkinson's worlds.’