[mythtv] [PATCH] MythWeather: pause is not working when switching
screens
DanM
dan at milkcarton.com
Tue Sep 30 17:43:45 EDT 2003
This has been fixed in CVS for a few weeks. I took the same approach
you did when fixing it. Coding standards are follow whats been done in
what ever file your editing (spacing, etc)
-dan
sg wrote:
>Hello,
>
> i've ran into this problem while looking at
>MythWeather (0.11) module. Press 'P' to pause
>screen, then use left or right arrows to switch
>screens. If you wait for ~20 seconds, the screens
>will change, even though the message on the
>screen says 'PAUSED'. What's even funnier, is
>that you can press 'P', switch screens (via
>left/right arrow), press 'P' again and you'll get
>multiple 'PAUSED' messages on the screen.
>
> so, to make long story short, when 'left' or 'right'
>arrow keys are pressed, the module will change the
>timeout value on the timer. This has side-effect of
>restarting the timer. The fix (if anyone has better
>suggestions, go ahead) is to stop timer after change
>of timeout (if it was stopped already).
>
> also, is there a specific document that outlines
>the coding conventions (in particular naming of the
>variables and 'indent' line for formatting) for Myth.
>
>patch file attached,
>-- sg
>
>__________________________________
>Do you Yahoo!?
>The New Yahoo! Shopping - with improved product search
>http://shopping.yahoo.com
>
>------------------------------------------------------------------------
>
>_______________________________________________
>mythtv-dev mailing list
>mythtv-dev at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
>
--
main(){int j=1234;char t[]=":@abcdefghijklmnopqrstuvwxyz.\n",*i=
"iqgbgxmdzlolyb\nu.pax\nlek.n";char *strchr(const char*,int);
while(*i){j+=strchr(t,*i++)-t;j%=sizeof t-1;putchar(t[j]);}return 0;}
Days never finished, massa's got me workin, someday massa set me free...
More information about the mythtv-dev
mailing list