2013-01-12, 03:49
(2013-01-04, 14:38)Nachteule Wrote: @janbarHi nachteule,
(2013-01-03, 19:34)janbar Wrote: @Nachteule
I have analyzed your previous log about stop show (few post ago). Well , after event "done_recording" your backend continue to send "i am recording the old prog". This is crazy. I can build a workaround for that without force chain update when we haven't need. Then you could try it.
yes, of course. It would be great I'm sure your workaround will be better than mine, because you know more about internals of myth frontend/backend communication.
Yesterday i modified again my hack and now it works without any retries needed. In summary, after receiving a "recording done" i wait for 250ms before requesting proginfo. Since this modification no more retries were needed. It seems backend send's a little bit too early "done recording" and hasn't really done this job completely.
I made a PR to resolve your case. It is PR#79.
The new code is added into the done_recording function. Here it has no impact on the normal flow because this function was designed to resolve the program break issue for a last chance. I based the patch using your solution: retrying call 3 times. I hope it resolve your issue. Thanks.
br