TVheadend fix

As described in issue #246