Added mythtv logic