Closed ghost closed 4 years ago
Telethon passes the URL to Telegram servers. If the Telegram servers cannot handle it, then well, there's not much we can do. You can set the attributes=
to include the metadata manually if Telegram doesn't infer it. Nothing to do here.
Can i include track cover to attributes? Because i only see lenght/title etc. BTW, maybe you can accept this as a feature request
Never tried setting a thumb
for web files, may or may not work. If the API supports it and Telethon doesn't make it possible, feature requests are welcome, but the API has to support it.
Checklist
pip install -U https://github.com/LonamiWebs/Telethon/archive/master.zip
and triggered the bug in the latest version.Code that causes the issue
Traceback
Where my journey begins: I was trying to upload a .flac track with metadata. What did I try: hachoir, a bunch of FTP storages (i was able to get direct link to a file), Google Firebase, local storage. Google Firebase is the only one service that provides common direct link. I thought this problem was caused by FTP, but when i have set up Google Firebase and uploaded my file there, i got the same traceback. Uploading from local storage works fine, but without metadata.You can check that URL works by yourself.
Thanks for help, best wishes.