[tvheadend] multiple fixes