A Bradford-based BAFTA nominated television director has been given a suspended prison sentence after he admitted a charge of sexual communication with an underage boy.