2012-10-07, 20:02
(2012-10-07, 15:48)cfetzer Wrote:(2012-10-07, 14:59)janbar Wrote: @Aubrien,
Good log. I am investigating...
@janbar: Did you have a closer look at the mythtv/mythfrontend sources and how they handle the chain updates and those 2 related events? The mythtv sources helped me a lot when implementing the multiplex detection. Both libcmyth and the myth protocol docs lack docs very often but mythtv's code itself is pretty readable.
I'm almost done with the fileops rework. If you and aubrian have a proper fix for the 'show stopping' and the 'delayed start', I can help integrating those changes into my repo.
@cfetzer
Yes had a look and to resolve it i added event LIVETV_WATCH to manage the program break. Now it is closed and i am preparing to merge with you. Aubrien has a special context needing a delay to refill buffer after each stage: spawn tv, switch channel and program break. At the moment libcmyth or xbmc player does not manage any delay before retry. So retries to read live stream loop without delay and after 150 retries in a short time the player close live stream. I try to find a global solution with him to manage this case without adding unnecessary waiting time. I think it is possible and it will be an improvement for the addon.
Soon i will pull request to you. This merge it is an hard work and i don't want to break anything. br
Also i will making more than one pull request to simplify the merge. My updated cmyth is fully compatible even without program break management.