pyload icon indicating copy to clipboard operation
pyload copied to clipboard

New extract archives from package Button

Open B17C0D3 opened this issue 2 years ago • 2 comments

Feature description

Hi, i am requesting a new gui button to extract all archives from downlaoded package/directory. It could be added to this Buttons. image

Problem description

It happens that one archives is currupted and the extract fails. It will not run a second time after the corrupted archive got replaced/re-downloaded. I would like to have an option to restart the extracttion für this package.

Additional references

B17C0D3 avatar Feb 13 '23 21:02 B17C0D3

Same goes for the package_finished event. it does not fire again when reloading a corrupted archive.

advorsky73 avatar May 23 '23 13:05 advorsky73

I struggled with this a lot. I invested many days, because I am a newbie with bash. Also there was a switch from unrar to 7z which broke my initial script. I hope it spares your time and helps you guys untill this feature is in place: /usr/bin/docker exec pyload-ng find /downloads \( -type f -regex '.*.part\(1\|01\).rar' -or \( -name '*.rar' -and \! -name '*part*' \) \) -exec sh -c '7z x "{}" -p -o"$(dirname "{}")/"' \;

godfuture avatar Jun 08 '23 23:06 godfuture