JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 21.07.2024, 13:54
zdzichu476 zdzichu476 is offline
JD Beta
 
Join Date: Mar 2019
Posts: 59
Default Wrong progress is shown for a package with offline files

Some time ago I added file that was online, then today when I tried to download it, it was offline. But it showed 100% progress for package, which is wrong since file's progress is 0%, It should show 0% for package as well.
Screenshot for proof:
Reply With Quote
  #2  
Old 21.07.2024, 18:17
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,001
Default

@zdzichu476: offline files are not part of the overall progress of filepackage because they can't be downloaded and thus will never finish but the package has finished downloading of all possible/enabled links and thus package is complete.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 21.07.2024, 22:10
zdzichu476 zdzichu476 is offline
JD Beta
 
Join Date: Mar 2019
Posts: 59
Default

Can you add an option in Advanced Settings that will be called "Alternative package progress calculation (offline & disabled links)" or something like that? You can set default as it is right now, but when user enables it, then a different calculation method is used that also takes into calculation offline & disabled links. This way, everyone will be happy
Reply With Quote
  #4  
Old 22.07.2024, 08:42
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,001
Default

@zdzichu476: changing this can easily break other stuff, like triggers that work on package complete. What exactly would be your use case for this? why you want a progress state that never will reach 100%?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 22.07.2024, 12:00
zdzichu476 zdzichu476 is offline
JD Beta
 
Join Date: Mar 2019
Posts: 59
Default

Well, it will reach 100% after manual intervention ��.
For me it's just a GUI inconsistency, but if you don't want to do anything about it, then I won't bother you with this any more.
Reply With Quote
  #6  
Old 22.07.2024, 12:02
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 72,934
Default

Adding to this topic:
In the past, other opinions were also posted about this topic.
For example, what if one mirror is downloaded?
At this moment, subsequent mirror items will also be marked as 100% complete even though the files themselves were never downloaded.
This topic is not as easy as it may seem.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #7  
Old 22.07.2024, 21:16
zdzichu476 zdzichu476 is offline
JD Beta
 
Join Date: Mar 2019
Posts: 59
Default

Since jDownloader knows that other link in package is a mirror, then it just shouldn't be used in package % calculation.
Reply With Quote
  #8  
Old 23.07.2024, 08:55
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 72,934
Default

Tbh I don't even know how that is handled at this moment.
This was just my example to show that this is not a straight forward topic.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
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 16:09.
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.