Isaac, My script is based on debug output logged from the mythfrontend. I'm modeling my script based on how the frontend is sending commands when it switches to liveTV to when I stop watching live TV.
I'll remove the first Announce and try again. This is the beginning of mythfrontend (0.18.1) log I've captured. ====================== written utf8 = 'MYTH_PROTO_VERSION 15' read from server = 'ACCEPT[]:[]15' written utf8 = 'ANN Playback mythtvbe 0' read from server = 'OK' written utf8 = 'GET_NEXT_FREE_RECORDER[]:[]-1' read from server = '1[]:[]192.168.123.3[]:[]6543' written utf8 = 'MYTH_PROTO_VERSION 15' read from server = 'ACCEPT[]:[]15' written utf8 = 'ANN Playback mythtvbe 0' read from server = 'OK' written utf8 = 'QUERY_RECORDER 1[]:[]SETUP_RING_BUFFER[]:[]0' read from server = 'rbuf://192.168.123.3:6543/cache/cache/ringbuf1.nuv[]:[]2[]:[]-1073741824[]:[]0[]:[]104857600' written utf8 = 'ANN Playback mythtvbe 0' read from server = 'OK' written utf8 = 'ANN RingBuffer mythtvbe 1' read from server = 'OK' written utf8 = 'QUERY_RECORDER 1[]:[]SPAWN_LIVETV' read from server = 'ok' ===================== Thanks Mudit On 6/16/05, Isaac Richards <[EMAIL PROTECTED]> wrote: > On Thursday 16 June 2005 05:27 pm, Mudit Wahal wrote: > > Hi all, > > > > I'm trying to write some scripts which can change the mode to the > > Watch Live TV and change channels up and down. When I run my script > > first time, every thing is fine. But when I run it second time, the > > mythbackend crashes when I send QUERY_RECORDER 1[]:[]STOP_LIVETV. > > Use CVS. Your script is broken, though. You're not supposed to announce a > socket more than once. > > Isaac > _______________________________________________ > mythtv-dev mailing list > [email protected] > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev > _______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
