[mythtv-users] Better Channel Change Script

Nick Morrott knowledgejunkie at gmail.com
Mon Apr 2 22:32:53 UTC 2012


On 2 April 2012 20:21, Raymond Norton <admin at lctn.org> wrote:
> My channel change script only allows me to change channels up to three
> digits.
>
> See here: http://pastebin.com/CTDwvyJ4
>
> I'm not a scripting genius, so not sure how to fix it. Anyone have a better
> script or can tell me what to change so I can change to four digit channels?

The script is not restricting channel numbers to three digits - it is
looking for a string of one or more digits.

Perhaps the issue is elsewhere - are your channels configured with 4
digit freqids (the field that is passed to external scripts for
channel changing)?

Have you checked the debug output the script produces when it is
called? Debug information is sent to STDOUT and /var/log/channel.log -
please check this file to see what strings the script is being called
with.

Cheers,
Nick

-- 
Nick Morrott

MythTV Official wiki: http://mythtv.org/wiki/
MythTV users list archive: http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin


More information about the mythtv-users mailing list