Skip to content

[Bug]: always download the last file #81

Closed
@40OIL

Description

@40OIL

telegram_media_downloader version or commit

2.1.9

What OS are you seeing the problem on?

Windows

Python Version

3.8.10

What happened?

the message ID shows that the program is re-downloading the file, the one that was in the last message at the last start and has already been downloaded.
this happens in every chat/group


1 start
2023-06-11 18:39:35.891 | INFO | utils.meta:print_meta:22 - Device: CPython 3.8.10 - Telegram Media Downloader 2.1.9
2023-06-11 18:39:35.892 | INFO | utils.meta:print_meta:23 - System: Windows 10 (EN)
2023-06-11 18:39:37.099 | SUCCESS | main:main:591 - Запуск успешный (нажмите Ctrl + C для остановки)
2023-06-11 18:39:38.325 | SUCCESS | main:_check_download_finish:77 - Успешно скачано - K:\Exec\tangyoha-tmd\document\16862 - [RPF] Виделись! (H).fb2
2023-06-11 18:39:38.382 | SUCCESS | main:_check_download_finish:77 - Успешно скачано - K:\Exec\tangyoha-tmd\document\82859 - 13 Догнать и перегнать 1978.fb2
...
2023-06-11 18:39:42.276 | SUCCESS | main:_check_download_finish:77 - Успешно скачано - K:\Exec\tangyoha-tmd\document\82878 - 03 Несущий бурю. Том III.fb2
2023-06-11 18:39:44.176 | INFO | main:main:612 - Stopped!
2023-06-11 18:39:44.527 | INFO | main:main:614 - обновить конфигурацию......
2023-06-11 18:39:44.531 | SUCCESS | main:main:618 - Обновлен идентификатор последнего прочитанного сообщения в конфигурационном файле,всего скачено 21, всего скаченных файлов 0


2 start
2023-06-11 20:13:03.193 | INFO | utils.meta:print_meta:22 - Device: CPython 3.8.10 - Telegram Media Downloader 2.1.9
2023-06-11 20:13:03.194 | INFO | utils.meta:print_meta:23 - System: Windows 10 (EN)
2023-06-11 20:13:04.501 | SUCCESS | main:main:591 - Запуск успешный (нажмите Ctrl + C для остановки)
2023-06-11 20:13:05.646 | SUCCESS | main:_check_download_finish:77 - Успешно скачано - K:\Exec\tangyoha-tmd\document\16862 - [RPF] Виделись! (H).fb2
2023-06-11 20:13:05.813 | SUCCESS | main:_check_download_finish:77 - Успешно скачано - K:\Exec\tangyoha-tmd\document\82878 - 03 Несущий бурю. Том III.fb2
...
2023-06-11 20:13:07.047 | SUCCESS | main:_check_download_finish:77 - Успешно скачано - K:\Exec\tangyoha-tmd\document\82887 - 06 Аокигахара.fb2
2023-06-11 20:13:08.642 | INFO | main:main:612 - Stopped!
2023-06-11 20:13:08.999 | INFO | main:main:614 - обновить конфигурацию......
2023-06-11 20:13:09.002 | SUCCESS | main:main:618 - Обновлен идентификатор последнего прочитанного сообщения в конфигурационном файле,всего скачено 10, всего скаченных файлов 0

Expected Behavior

the program should download each file only once, no more and no less

Current Behavior

the program is re-downloading the file, the one that was in the last message at the last start and has already been downloaded.

Possible Solution

No response

Steps to Reproduce

No response

Relevant log output

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions