Found it.
If you are using an external IR transmitter, (in my case Redremote from the UK) to control an external Sky box etc, the channel change code in Myth libs/libmythtv/channelbase.cpp has recently been "optimised" which in my case resulted in getting stuck on one channel when watching live TV.
The channel change code now correctly checks for a return code (it use to check but always got the calling shells return code, not the actual external program) from the external program, and in my case the external program (digibox) was returning an error code of 9. This resulted in the channel change code attempting to change back to the last channel it was on. (although if there was an error with the external program, it is debatable if trying a second time back to the original channel is a good solution!?)
You can see this here where I try to change channel to 102, it does this, get a bogus error code of 9 back, tries to change back to the original channel of 121, gets the same error code 9 back again and this time ignores it.
If you are recording TV, and not watching it live, it appears to ignore the error codes anyway ...... this change appeared in late .16 or early .17 Hope this helps someone searching for answers in the future.
Steve
2005-03-15 19:13:20.140 External channel change: /usr/local/bin/digibox 102
2005-03-15 19:13:20.152 Waiting for External Tuning program to exit
opening port for /dev/ttyS1 and setting RTS
RTS bit is set
RTS bit set ok
2005-03-15 19:13:21.155 ret_pid(0) child(10335) status(0x0)
writing data ("102") now
data written
sleeping for 2 seconds
2005-03-15 19:13:22.157 ret_pid(0) child(10335) status(0x0)
2005-03-15 19:13:23.160 ret_pid(0) child(10335) status(0x0)
start close
finished
2005-03-15 19:13:24.164 ret_pid(10335) child(10335) status(0x900)
2005-03-15 19:13:24.164 External Tuning program no longer running
2005-03-15 19:13:24.164 ChannelBase: external tuning program exited with
error 9
2005-03-15 19:13:24.191 External channel change: /usr/local/bin/digibox 121
2005-03-15 19:13:24.197 Waiting for External Tuning program to exit
opening port for /dev/ttyS1 and setting RTS
RTS bit is set
RTS bit set ok
2005-03-15 19:13:25.199 ret_pid(0) child(10336) status(0x0)
writing data ("121") now
data written
sleeping for 2 seconds
2005-03-15 19:13:26.203 ret_pid(0) child(10336) status(0x0)
2005-03-15 19:13:27.205 ret_pid(0) child(10336) status(0x0)
start close
finished
2005-03-15 19:13:28.217 ret_pid(10336) child(10336) status(0x900)
2005-03-15 19:13:28.218 External Tuning program no longer running
2005-03-15 19:13:28.218 ChannelBase: external tuning program exited with
error 9
_______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
