#1
|
|||
|
|||
Archive (HJ_SPLIT) required file count reduced by plugin rename
When a plugin renames a file, this can cause the archive (HJ_SPLIT) required file count to be reduced from (for example) 3 to 2. This causes extraction to mysteriously fail.
Example: with solidfiles.com, spaces are replaced by underscores. So "test 1.zip.001" becomes "test_1.zip.001" when the download starts. If all parts are downloaded at the same time, there's no problem. The problem occurs when only the first two parts are started. My workaround is to pre-rename the files: Code:
// Description: Replaces spaces with underscores in filenames // Event Trigger: Packagizer Hook if (/.*solidfiles\.com.*/.test(link.getURL())) { link.setName(link.name.replace(/ /g, "_")); } Last edited by Luke M; 12.01.2019 at 09:05. |
#2
|
||||
|
||||
Thanks for your report! Plugins have the ability specify filename character which get renamed by provider, this allows mirror handling within JD to work correctly and subsequently extraction. By the quick look solidfiles plugin lacks this currently
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] Last edited by raztoki; 12.01.2019 at 07:47. |
#3
|
||||
|
||||
Can you please provide some example links/archives. Then I will take a look at it
__________________
JD-Dev & Server-Admin |
#4
|
|||
|
|||
Quote:
**External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** |
#5
|
||||
|
||||
I've updated plugin. Wait for next plugin update. In case you encounter other sites, just let us know and provide examples
__________________
JD-Dev & Server-Admin |
#6
|
||||
|
||||
It's not easy to handle this in generic solution so it's better to try to update/handle it in plugin itself.
__________________
JD-Dev & Server-Admin |
#7
|
|||
|
|||
Ok, thanks!
|
#8
|
||||
|
||||
Update is already available
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|