telegram-upload icon indicating copy to clipboard operation
telegram-upload copied to clipboard

No thumbnails when uploading as an album (-a)

Open wogam opened this issue 2 years ago • 2 comments

  • telegram-upload version: 0.5.1
  • Python version: 3.9.1
  • Operating System: Ubuntu 22 LTS
  • Dependencies list (run pip freeze):
  • aniso8601==9.0.1 APScheduler==3.9.1 attrs==21.4.0 Automat==20.2.0 babelfish==0.6.0 bcrypt==3.2.0 beautifulsoup4==4.10.0 blinker==1.4 Brotli==1.0.9 certifi==2021.10.8 chardet==4.0.0 charset-normalizer==2.0.12 cheroot==8.6.0 CherryPy==18.6.1 click==8.0.4 colorama==0.4.4 command-not-found==0.3 commonmark==0.9.1 configobj==5.0.6 constantly==15.1.0 cryptg==0.3.1 cryptography==3.4.8 dbus-python==1.2.18 deluge-client==1.9.0 distro==1.7.0 distro-info===1.1build1 feedparser==6.0.8 Flask==2.0.3 Flask-Compress==1.11 Flask-Cors==3.0.10 Flask-Login==0.5.0 Flask-RESTful==0.3.9 flask-restx==0.5.1 FlexGet==3.3.19 greenlet==1.1.2 guessit==3.4.3 hachoir==3.1.3 html5lib==1.1 httplib2==0.20.2 hyperlink==21.0.0 idna==3.3 importlib-metadata==4.6.4 incremental==21.3.0 install==1.3.5 itsdangerous==2.0.1 jaraco.classes==3.2.1 jaraco.collections==3.4.0 jaraco.context==4.1.1 jaraco.functools==3.4.0 jaraco.text==3.7.0 jeepney==0.7.1 Jinja2==3.0.3 jsonschema==3.2.0 keyring==23.5.0 launchpadlib==1.10.16 lazr.restfulclient==0.14.4 lazr.uri==1.0.6 loguru==0.6.0 MarkupSafe==2.0.1 more-itertools==8.12.0 netifaces==0.11.0 oauthlib==3.2.0 pexpect==4.8.0 plumbum==1.7.2 portend==3.0.0 prompt-toolkit==3.0.30 psutil==5.9.0 ptyprocess==0.7.0 pyaes==1.6.1 pyasn1==0.4.8 pyasn1-modules==0.2.1 pydf==12 Pygments==2.11.2 PyGObject==3.42.0 PyHamcrest==2.0.2 PyJWT==2.4.0 pynzb==0.1.0 pyOpenSSL==21.0.0 pyparsing==2.4.7 pyrsistent==0.18.0 PyRSS2Gen==1.1 pyserial==3.5 python-apt==2.3.0+ubuntu2 python-dateutil==2.8.2 python-debian===0.1.43ubuntu1 pytz==2022.1 pytz-deprecation-shim==0.1.0.post0 PyYAML==6.0 rebulk==3.1.0 requests==2.27.1 rich==12.0.1 rpyc==5.0.1 rsa==4.9 SecretStorage==3.3.1 service-identity==18.1.0 sgmllib3k==1.0.0 six==1.16.0 sos==4.3 soupsieve==2.3.1 SQLAlchemy==1.4.32 ssh-import-id==5.11 systemd-python==234 telegram-upload==0.5.1 Telethon==1.24.0 tempora==4.1.2 transmission-rpc==3.3.2 Twisted==22.1.0 typing_extensions==4.3.0 tzdata==2022.1 tzlocal==4.1 ubuntu-advantage-tools==27.9 ubuntu-drivers-common==0.0.0 ufw==0.36.1 unattended-upgrades==0.1 urllib3==1.26.9 wadllib==1.3.6 wcwidth==0.2.5 webencodings==0.5.1 Werkzeug==2.0.3 xkit==0.0.0 zc.lockfile==2.0 zipp==1.0.0 zope.interface==5.4.0 zxcvbn-python==4.4.24

Description

When you upload a video file with the -a flag, when you tap the group name under the 'media' heading no thumbnail would be shown (it's just blank). When you do this without the -a flag a thumbnail will be shown as per usual. The issue does not affected images, just videos.

What I Did

telegram-upload --to GroupChat1 -a '1.mp4' '2.mp4'

wogam avatar Aug 01 '22 19:08 wogam

It requires research and testing. The incident is investigated.

Nekmo avatar Apr 07 '23 14:04 Nekmo

Hi, I am not using the -a parameter and there is no thumbnail for the video file

jianchao123 avatar Jun 03 '23 09:06 jianchao123