JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 11.03.2019, 14:38
kogepan kogepan is offline
Vacuum Cleaner
 
Join Date: Feb 2015
Posts: 15
Default Priority Issue: file level priority wrongly overwrite package level priority

Hi,:)

When I set download priorities based on the hoster url in Packagizer, it caused unexpected behavior.:no:

Let's say we made a packagizer rule as following:
[Hoster priority zippy]
Downloadurl: contains "zippy"
Priority: "High Priority"
[Hoster priority rapidgator]
Downloadurl: contains "rapidgator"
Priority: "Low Priority"

Then we made some packages including diffrent hosters like below.
Package A (default priority)
file_name_x url1 uptbox (default priority)
file_name_x url2 1fichier (default priority)
Package B (default priority)
file_name_y url3 zippy (high priority)
file_name_y url4 rapidgator (low priority)
Package C (default priority)
file_name_z url5 zippy (high priority)
file_name_z url6 rapidgator (low priority)

If "Max. simultaneous Downloads" number is 2 and "Max. sim. Downloads per Hoster" is 1, the expected priority should be url3 and url1 (or url2), correct? However, JD2 started url6 ahead of Package A as you can see in the attached screenshot.

Hoster level priority setting is quite useful when the download speed of each hosters are different, so can you fix this problem?

Thanks in advance!:biggrin:
Attached Images
File Type: png jd2.png (120.1 KB, 2 views)
Reply With Quote
  #2  
Old 14.03.2019, 20:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

JDownloader works as it should/expected

It finds url3 with HIGH priority and starts to download
url4 is marked as mirror to url3

next it finds url5 with HIGH priority. Zippyshare is already running and due to *Max. sim. Downloads per Hoster* set to 1, JDownloader searches the mirror to this file and finds url6 and starts to download it and marks url5 as mirror
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 14.03.2019, 20:32
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

Quote:
Originally Posted by kogepan View Post
Hoster level priority setting is quite useful when the download speed of each hosters are different, so can you fix this problem?

Thanks in advance!:biggrin:
Currently not possible and requires more complex changes to internal download handling/sorting
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 15.03.2019, 07:25
kogepan kogepan is offline
Vacuum Cleaner
 
Join Date: Feb 2015
Posts: 15
Default

Hi Jiaz,
Thanks for your reply!:)

I got your point and it's quite reasonable.:thumbup:
Quote:
JDownloader searches the mirror to this file and finds url6 and starts to download it and marks url5 as mirror
As a temporal solution, I'll try to make an event script to divide such hosters into separate packages and assign priorities, like the following.
Package C (high priority)
file_name_z url5 zippy (high priority)
Package C (low priority)
file_name_z url6 rapidgator (low priority)

Or, maybe it's enough to use Packagizer to move low speed hosters into a separate package with a different name like below.
Package_name_C (default priority)
file_name_z url5 zippy (high priority)
Package_name_low_C (default priority)
file_name_z url6 rapidgator (low priority)
*I couldn't find a way to set package level priority in Packagizer.

*edited
It seems not even need to change the package name as far as I tested.
Package C (default priority)
file_name_z url6 rapidgator (low priority)
Package C (default priority)
file_name_z url5 zippy (high priority)
url5 started ahead of url6 as expected, and url6 was skipped maybe because of "Skip File" in General setting.

Regards,

Last edited by kogepan; 15.03.2019 at 07:46. Reason: added test results
Reply With Quote
  #5  
Old 15.03.2019, 15:04
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

mirror selection only works within the same package.
you can also use eventscripter to disable mirrors and prevent them from downloading.

at the moment it's not possible to assign different priorities for files vs mirrors, sorry
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 15.03.2019, 21:47
kogepan kogepan is offline
Vacuum Cleaner
 
Join Date: Feb 2015
Posts: 15
Default

Disabling mirrors seems more elegant way.:thumbup:
Thanks!
Quote:
you can also use eventscripter to disable mirrors and prevent them from downloading.
Reply With Quote
  #7  
Old 18.03.2019, 13:00
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

You're welcome
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 23:32.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.