I didn't know where is the correct log you need, so I provided and example in python from the thing i do.
In this zip file, two files named test.py that is the code, and a playlist file that contains some tv channels exists. When I open the test.py, my memory go's up
https://gofile.io/d/e6UQyN