-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Traceback (most recent call last):
File "/app/FileStream/server/stream_routes.py", line 66, in stream_handler
return await media_streamer(request, path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/FileStream/server/stream_routes.py", line 98, in media_streamer
file_id = await tg_connect.get_file_properties(db_id, multi_clients)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/FileStream/utils/custom_dl.py", line 27, in get_file_properties
await self.generate_file_properties(db_id, multi_clients)
File "/app/FileStream/utils/custom_dl.py", line 37, in generate_file_properties
file_id = await get_file_ids(self.client, db_id, multi_clients, Message)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/FileStream/utils/file_properties.py", line 40, in get_file_ids
file_id = FileId.decode(file_id_info[str(client.id)])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyrogram/file_id.py", line 206, in decode
major = decoded[-1]
~~~~~~~^^^^
IndexError: index out of range