Closed yarodevuci closed 4 months ago
This is not coming from Telethon. If you don't want the library to infer media metadata with external libraries, provide the media attributes yourself.
@Lonami so you are saying this WARN logs are coming because not attributes are passed?
I don't know for sure. I haven't checked. But the library will use hachoir
to autodetect media attributes when these are not provided.
Thanks for the answer! I will double check my assumption.
Code that causes the issue
Expected behavior
No output Logs
Actual behavior
Traceback
No response
Telethon version
1.36.0
Python version
3.10
Operating system (including distribution name and version)
Ubuntu, Windows
Other details
I am looking to see if this is a bug or ways to silence this warning during audio uploads?
Checklist
pip install -U https://github.com/LonamiWebs/Telethon/archive/v1.zip
and triggered the bug in the latest version.