#1
|
|||
|
|||
Allow more than 5 or custom number of connections in sxyprn plugin.
Hi,
right now the plugin for sxyprn has a hardcoded limit of 5 connections. Please allow a custom number of connections to be set there. This will allow me to better use my download bandwith. If not for everyone, please just compile a version with 12 connections hardcoded in it and provide the .class file for download. Thanks! |
#2
|
||||
|
||||
Quote:
Connections are limited to max 1 per file. No. Doesn't work for me. Quote:
You can get our source code here: https://support.jdownloader.org/Know...up-ide-eclipse See jd.plugins.hoster.SxyprnCom functions getMaxSimultanFreeDownloadNum and getMaxSimultanPremiumDownloadNum.
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#3
|
|||
|
|||
OK. Please delete this thread. Thanks!
|
#4
|
||||
|
||||
@Rocket: Instead of using multiple connections/chunks per file, I recommend to use multiple downloads (max 5) from this host. We have limited max connections/chunks to 1 because higher number easily results in errors for us while testing the plugin
__________________
JD-Dev & Server-Admin |
#5
|
|||
|
|||
Yes I understand.
Its a good thing to limit the max number of connections because too many connections and the downloads will fail. However in my case I wanted more than 5 connections to max out my line. I fixed my issue myself by compiling the code myself after making the changes I wanted. It was surprisingly easy. In general it would be better to allow setting the max number of connections in the settings instead of hardcoding them into the code and only giving a predefined default number that works best. But I agree, my case is special and it was best to just edit the code myself and compile my own version. You can close and delete this thread. |
#6
|
||||
|
||||
Quote:
If at all, adding this as a generic setting, applicable for all plugins would be the way to go. You're of course free to work on this and contribute code to the JDownloader project.
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#7
|
||||
|
||||
Quote:
Please know that you can either: 1.) replace the plugin .class file with your own compiled one, but it might be replaced by updates or 2.) create a custom plugin that extends the original plugin and use higher interface number, that way this custom plugin will be used instead of the default one
__________________
JD-Dev & Server-Admin |
#8
|
||||
|
||||
@Rocket:
I was not able to use more than 2 concurrent connections/chunks, because with every further connection the server responded with Quote:
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|