Closed fransg closed 8 years ago
I have to look at your threading changes further and thanks for the spelling corrections.:-) I'm thinking of replacing the ready flags with event objects with a 5 second timeout on the wait to look around. But about the other things.
Oh, and one other thing. I don't want to make unneeded changes to the master branch. Improvements should go to tvgrab22 branch. As said logging and configuration have been updated there, but it's still work in progress. Hika
I copied part of your changes over. I left out the non loading of inactive channels and the log_file parameter. The later should go into the 22 branch. I suggest using one of the higher unused log_levels (1024) for debug messages. That way they can without problem stay in place. See https://github.com/tvgrabbers/tvgrabnlpy/releases/tag/beta-2.1.10-p20150808 And see for new Events as signal for the wait loops. https://github.com/tvgrabbers/tvgrabnlpy/releases/tag/beta-2.1.10-p20150809
Hika
Hi Hika, Here's my second contribution. I tested this on my server and my sister's and it works well on both, i.e. same or better performance, whilst reducing cpu-load quite a bit. I made several updates and there is more to come. Highlights:
To be done:
Hope this helps!
Best regards, Frans