The police drama was inspired by the novel Gallowstree Lane, from author Kate London, and regularly pulled in millions of viewers.