TorToolkit-Telegram
TorToolkit-Telegram copied to clipboard
[Feature Request] Ability to Split Torrent in RAR parts
please add the ability to split torrents in RAR parts
---- sample linux command in case ---- mode needed : rar (apt-get install rar) command : rar a -m<leve_of_compression> -v<size_in_MB>m "<name_of_rar_file>" "<folder/file_to_archive>"
Glossary:
-
leve_of_compression 0 - just store 1 - fair amount of compression 2 - a little bit more compression 3 - extreme compression
-
name_of_rar_file - name of the rar file with absolute path where it will be stored
-
folder/file_to_archive - path of folder or file to be archived
-
size_in_MB - 500 if the file need to be splitted in 500mb parts
Say I have 15 GB file. If I set -v5120m then it will split the rar in three parts 5 GB file. Command will be : rar a -m0 -v5120m "save/to/exampleRAR" "/folder/to/be/archived" python equivalent : subprocess.call(['rar a -m0 -v5120m "save/to/exampleRAR" "/folder/to/be/archived"'])
Thanks in advance..🙏
Expected Features:
- [ ] Set split size in (MBs) on the fly or through menu
- [ ] Upload splitted archives to Cloud Drives
- [ ] change USE_RAR_SPLIT through menu
- [ ] similar to multiup.org upload from torrent feature
command : rar a -m<leve_of_compression> -v<size_in_MB>m "<name_of_rar_file>" "<folder/file_to_archive>"
By this you mean the linux command ryt? not the TG command...
Sounds good...its easy to add just need to clarify this.
command : rar a -m<leve_of_compression> -v<size_in_MB>m "<name_of_rar_file>" "<folder/file_to_archive>"
By this you mean the linux command ryt? not the TG command...
Sounds good...its easy to add just need to clarify this.
rar a -m<leve_of_compression> -v<size_in_MB>m "<name_of_rar_file>" "<folder/file_to_archive>"
this is linux command. we can send TG command to fill in the variables. Will this be added in next update?
this is linux command. we can send TG command to fill in the variables. Will this be added in next update?
Ohkk....
Yepp in next update.. most issue from GitHub will be implemented.
Readme says new repo will come for heroku. Is that right?
@yash-dk Done?
will be.... added currently I have research work so development is slowed...
😔
when Yash?
will be added started the work
It's a new week i hope it's done 🙏
@yash-dk please add it now
Adjust the cmd as pleased here and here as for the split size use TG_UP_LIMIT
.
If any improvement in this feature comment here
Files getting uploaded as it is they are not adding to archive
reviewed it should if fine now.
@yash-dk make TG_UPLOAD_LIMIT in MB rather than in bytes
@yash-dk still not working https://github.com/yash-dk/TorToolkit-Telegram/blob/b4854aac9d3f0c1fb4384ffb019c32faa5fe6629/tortoolkit/utils/zip7_utils.py#L84 this line is never executed. Only else part after this block is executed.
@yash-dk still not working https://github.com/yash-dk/TorToolkit-Telegram/blob/b4854aac9d3f0c1fb4384ffb019c32faa5fe6629/tortoolkit/utils/zip7_utils.py#L84
this line is never executed. Only else part after this block is executed.
The splitting is only required for telegram upload and will work only there. Rclone uploads are not supported.
@yash-dk make TG_UPLOAD_LIMIT in MB rather than in bytes
just write like this:- MBs * 1024 *1024
@yash-dk still not working https://github.com/yash-dk/TorToolkit-Telegram/blob/b4854aac9d3f0c1fb4384ffb019c32faa5fe6629/tortoolkit/utils/zip7_utils.py#L84
this line is never executed. Only else part after this block is executed.
The splitting is only required for telegram upload and will work only there. Rclone uploads are not supported.
but uploading to telegram is useless. Can you make it work to upload in Google Drive
I tried to upload to telegram with RAR_SPLIT enabled but error says ZIP Failed Fallback to Normal. RAR split feature is not working at all. @yash-dk
Fixed?
@yash-dk Rar is a non free utility. You have added it but when I hit rar using /exec rar this error occurred.
QUERY: Command: rar PID: 58
stderr: /bin/sh: 1: rar: not found
Output: No Output
run these to commands to install rar module
sudo apt-add-repository non-free -y sudo apt-get install rar
bro where are you?