Update tv.class.php

reenable portnumber