All pastes #271824 Raw Edit

Something

public python v1 · immutable
·published 2006-12-08 14:17 UTC
rendered paste body
            elif self.current_vg.group_type == 'dvb':                #if nextchan.count('@') == 1:                #    channel_name = nextchan.split('@')[0]                #    card_number = nextchan.split('@')[1]                #else:                #    channel_name = nextchan                #     card_number = 0                #                #channel_number = self.fc.getChanIndex()                #self.app.write('dvb_set_channel %s %s\n' % (channel_number, card_number))                #if DEBUG: print '%s: dvb_set_channel %s %s' % (time.time(), channel_number, card_number)                if em.TV_CHANNEL_UP:                    self.app.write('dvb_set_channel %s %s\n' % (nextchan, 0))                elif em.TV_CHANNEL_DOWN:                    self.app.write('dvb_set_channel %s %s\n' % (nextchan, 0))                if DEBUG: print '%s: dvb_set_channel %s %s' % (time.time(), nextchan, 0)                return TRUE            elif self.current_vg.group_type == 'ivtv':