TV detective's code (5)
I believe the answer is:
morse
This clue is a double definition.
'tv detective's' is the first definition.
(Inspector Morse)
'code' is the second definition.
(Morse code)
(Other definitions for morse that I've seen before include "Walrus - TV detective" , "One who enjoyed solving code" , "Fictional inspector; code" , "Dot-dash code inventor" , "Colin Dexter's fictional detective" .)