Commit graph

144 commits

Author SHA1 Message Date
Alfonso E.M 7532edc2e7 Improved error control 2021-02-21 14:58:39 +01:00
Alfonso E.M c920632227 Fixes in var names 2021-02-21 14:38:36 +01:00
Alfonso E.M 7a3c418fd7 Python 3.5 compatibility improved 2021-02-21 14:27:32 +01:00
Alfonso E.M 72803caf5c Merge branch 'development' 2021-02-21 13:51:33 +01:00
Alfonso E.M d5151e2477 a little help with available commands 2021-02-21 13:50:44 +01:00
Alfonso E.M 6ce8897378 Pprint library not used 2021-02-21 13:42:40 +01:00
Alfonso E.M b0bfc081fc Removing unused library 2021-02-17 19:08:41 +01:00
Alfonso E.M eadb5f3962 Telegram file size limit is 2Gb 2021-02-17 19:06:24 +01:00
Anish Sane 1d3c204350 Remove the accidentally added ; after a python statement.
My bad. C programming habit.
2021-02-16 10:27:20 +05:30
Alfonso E.M bb3ab48182 Percentage shown in downloads 2021-02-15 20:46:21 +01:00
Alfonso E.M 27fefaee8d Merge branch 'master' of https://github.com/alfem/telegram-download-daemon 2021-02-15 20:11:06 +01:00
Alfonso E.M a9a6fe6b09 In-place message edit fixed 2021-02-15 20:11:01 +01:00
Alfonso E.M 681411ba07
Merge pull request #37 from anishsane/master
Prefer DocumentAttributeFilename to DocumentAttributeVideo whenever available
2021-02-15 13:57:30 +01:00
Anish Sane f417c73482 Prefer DocumentAttributeFilename to DocumentAttributeVideo whenever available
A message might contain both DocumentAttributeFilename and
DocumentAttributeVideo type of attributes. While iterating on
event.media.document.attributes, we might get DocumentAttributeVideo
first and the function returns the message text even though
attribute of DocumentAttributeFilename type is also available.
2021-02-15 15:19:23 +05:30
Alfonso E.M 78f34a0f99
Merge pull request #36 from anishsane/master
Fixed the handling of temp folder
2021-02-11 19:30:33 +01:00
Anish Sane c4228fca47 Fix the temp folder handling 2021-02-11 18:57:39 +05:30
Anish Sane 1c84931c74 Fixed the handling of temp folder 2021-02-11 18:36:08 +05:30
Alfonso E.M 925ac4bb36 editing messages instead of replying 2021-02-08 19:28:54 +01:00
Alfonso E.M 45d285eefd Merge branch 'master' of https://github.com/alfem/telegram-download-daemon 2021-02-08 18:40:33 +01:00
Alfonso E.M 7f421d364c Shell=true needed to use wildcards in commands 2021-02-08 18:40:12 +01:00
Alfonso E.M 19388e9e53 capture output parameter not available in python 3.6.0 2021-02-08 18:19:21 +01:00
Alfonso E.M 70358f6193 Added clean command to delete temporary files 2021-02-08 18:17:50 +01:00
Alfonso E.M b86c4ae129
Update README.md 2021-01-27 17:58:35 +01:00
Alfonso E.M 92aa4b81a2 Temp directory var missing fixed 2021-01-27 17:52:39 +01:00
Alfonso E.M e8bdf2e673 New parameter for temporary directory 2021-01-27 17:35:18 +01:00
Alfonso E.M 17b5f40a28 Using original message as file name for streamed videos. 2021-01-24 14:13:42 +01:00
Alfonso E.M 699841c55e
Update README.md 2021-01-03 17:49:52 +01:00
Alfonso E.M 41c1a9fabf
Merge pull request #30 from anishsane/master
Added the support for status command that gives a percentage of in-progress downloads
2021-01-03 17:39:15 +01:00
Anish Sane d92e0bf31a Added the support for status command that gives a percentage of in-progress downloads. 2021-01-03 21:44:06 +05:30
Alfonso E.M 32a0d9e403
Merge pull request #29 from anishsane/master
suffix in-progress downloads as .partial
2020-12-29 13:37:44 +01:00
Anish Sane 1dae93b746 suffix in-progress downloads as .partial
This change saves the file as {filename}.partial in the downloadFolder.
And after the download is completed, it is renamed to {filename}.
2020-12-29 11:00:00 +05:30
Alfonso E.M e0f784a3cd
Little typos in README 2020-12-14 08:23:24 +01:00
Alfonso E.M 68288de264 Added minimal config for Heroku deployment 2020-11-21 11:32:38 +01:00
Alfonso E.M 63ae57eff4
Merge pull request #24 from anishsane/master
Added support for LIST as command to perform "ls -l" on the download dir

Closes #21
2020-11-09 13:45:21 +01:00
Anish Sane 0e5a94fb0c Added support for LIST as command to perform "ls -l" on the download directory.
Also fixed a typo in the documentation where variable names were swapped.
2020-11-08 21:57:27 +05:30
Alfonso E.M 37e6e6e622 Code style suggestion from @baruchiro 2020-11-07 16:04:50 +01:00
German Andrade 82d7e01259 Fixed readme, fixed issue with DocumentAttributeVideo 2020-11-07 16:02:45 +01:00
Alfonso E.M 560abdfa8c Python 3.6 compatibility fix 2020-11-07 15:12:17 +01:00
Alfonso E.M 81009e61d4
Update README.md 2020-09-24 12:59:04 +02:00
Alfonso E.M c78afe5879
Merge pull request #18 from baruchiro/patch-1
Add docker path
2020-05-26 11:34:14 +02:00
Alfonso E.M dd3be29ce5
Merge pull request #19 from the-blank-x/limit-parallelism
Limit the amount of parallel downloads to the amount of CPU cores
2020-05-26 11:33:40 +02:00
Alfonso E.M 764a568e94
Merge branch 'master' into limit-parallelism 2020-05-26 11:33:09 +02:00
Alfonso E.M ebb4f52b63
Merge pull request #17 from baruchiro/filename-bug
Get filename even if it is not the first attribute
2020-05-26 08:09:11 +02:00
blank X 29e3887dde Notify when a file is added to the queue 2020-05-26 13:07:18 +07:00
blank X 4561be6f7a Limit the amount of parallel downloads to the amount of CPU cores
Resolves: #11
2020-05-26 10:45:59 +07:00
Baruch Odem (Rothkoff) 347c96378c
Typo again 2020-05-25 22:06:10 +03:00
Baruch Odem (Rothkoff) 5e6efe2316
Typo 2020-05-25 22:04:03 +03:00
Baruch Odem (Rothkoff) a464d352bb
Add docker path 2020-05-24 20:49:30 +03:00
Baruch Odem (Rothkoff) 674d1d0296
Merge branch 'master' into filename-bug 2020-05-24 20:09:31 +03:00
Alfonso E.M c65c893f5c
fix 'deamon' typo in docker publish action 2020-05-24 18:34:44 +02:00