@Arkadietz: The script is not at fault in this case, the problem is the TVRage API/Services server that can be very slow to respond at times.., a good tv(timeout) value for me is 30000, you might try setting it to 45000 or 60000. If it still times out, simply retry the command again. I fixed the bug...