You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to send .FLV files, they are not sent and I get the error below
What I Did
telegram-upload /mnt/todo/sample_640x360.flv
Traceback (most recent call last):
File "/docker/pycharm/bin/telegram-upload", line 8, in <module>
sys.exit(upload_cli())
File "/docker/pycharm/lib/python3.10/site-packages/telegram_upload/exceptions.py", line 64, in wrap
return fn(*args, **kwargs)
File "/docker/pycharm/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/docker/pycharm/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/docker/pycharm/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/docker/pycharm/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/docker/pycharm/lib/python3.10/site-packages/telegram_upload/management.py", line 172, in upload
client.send_files(to, files, delete_on_success, print_file_id, forward)
File "/docker/pycharm/lib/python3.10/site-packages/telegram_upload/client.py", line 183, in send_files
message = self._send_file_message(entity, file, thumb, progress)
File "/docker/pycharm/lib/python3.10/site-packages/telegram_upload/client.py", line 136, in _send_file_message
progress_callback=progress, attributes=file.file_attributes)
File "/docker/pycharm/lib/python3.10/site-packages/telegram_upload/files.py", line 181, in file_attributes
return get_file_attributes(self.path)
File "/docker/pycharm/lib/python3.10/site-packages/telegram_upload/files.py", line 54, in get_file_attributes
(0, metadata.get('duration').seconds)[metadata.has('duration')],
File "/docker/pycharm/lib/python3.10/site-packages/hachoir/metadata/metadata.py", line 81, in get
raise ValueError(
ValueError: Metadata has no value 'duration' (index 0)
The text was updated successfully, but these errors were encountered:
pip freeze
):Description
When I try to send .FLV files, they are not sent and I get the error below
What I Did
The text was updated successfully, but these errors were encountered: