alfem/telegram-download-daemon

Enhancement request: suffix in-progress downloads as .part

Closed this issue · 0 comments

I often download the files in bulk. E.g. entire season of a TV series.
For this, I just forward the messages to the channel using my phone and this script running on a home system downloads them nicely.
After the downloads are complete, I move the files from my download directory to the actual location where I want those files (external HDD) using ssh.

However, when you have enqueued 20+ files, it is difficult to keep a track of completed downloads by going through the "file XXXXXXXXX.mp4 is ready" messages.
It will be useful if we can suffix the in-progress downloads as .part or .tdd (short for telegram-downloader-daemon). After the download completes, rename the file to remove the suffix.
So, just by the file extension, we can easily find which files are completed.

Alternately, if having a suffix is difficult, we can have a folder named "partials" in the downloads directory and the files will be downloaded there. After the download is completed, move them to the download folder.