JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 27.04.2021, 01:35
Jimmy76mail.com Jimmy76mail.com is offline
Modem User
 
Join Date: Apr 2021
Posts: 4
Default File names of hosts differents renamed similarly in package

Hi everyone,

This question has been asked several times but it was quite a while, so maybe answers are differents and there is a solution.

When I copy links of a same episod from different hosts that have different names here how it appears in JD2 :
Serie.S01e01 (package) (600 Mo)
  • Serie.S01E01.uptobox.avi (300 Mo)
  • Serie.S01E01.1fichier.avi (300 Mo)

In order to make understand to JD2 that there are the same files, I rename them and it becomes :
Serie.S01e01 (package) (300 Mo)
  • Serie.S01E01.avi (300 Mo)
  • Serie.S01E01.avi (300 Mo)

With the change of size of the package i was confident.

I launched downloads, the uptobox link has started but the 1fichier link also tried and used a ticket which "reschedules" the download of Serie.S01e02.avi

When a file has been downloaded or is downloading, i would like to avoid JD2 to use a ticket for another host. Is it possible ?

I tried everything in advanced settings (mirror detection decision : safe, auto, filename, filename_fialesize) but when file name are differents on hosts, even if everything else is equal (file size) it always use a ticket.

The only case where JD doesn't use a ticket is when the files are named same on different hosts.

Sorry for my english, hope my problem is at least clear.

Best regards
Reply With Quote
  #2  
Old 27.04.2021, 01:42
Jimmy76mail.com Jimmy76mail.com is offline
Modem User
 
Join Date: Apr 2021
Posts: 4
Default

A solution could be that JD2 offers the possibility in mirror detection decision to only check filesize with the mirror detection file size equally which is adjustable, we could have a solution, what do you think ?
Reply With Quote
  #3  
Old 27.04.2021, 15:14
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,044
Default

Hi,
sorry but I do not really understand your issue or let's put it this way: This is what I understood:
The files/mirrors you want to download are named in a way so that JD doesn't recognize them as mirrors.
If this is the case, here are some possible solutions:
1. Try to use one or multiple Packagizer rules to correct such filenames so they all have the same naming scheme.
Then mirror detection should work (well that also depends on your settings but we can tweak them as a next step).
or:
2. If the names need more complex changes, use an EventScripter script to correct them.

-psp-
__________________
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
  #4  
Old 27.04.2021, 15:53
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,232
Default

Quote:
Originally Posted by Jimmy76mail.com View Post
A solution could be that JD2 offers the possibility in mirror detection decision to only check filesize with the mirror detection file size equally which is adjustable, we could have a solution, what do you think ?
You can modify the Mirror Detection, see Settings->Advanced Settings->mirrordetection
There you can change on what criteria the mirror decision is based on.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 27.04.2021, 15:59
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,232
Default

Quote:
Originally Posted by Jiaz View Post
You can modify the Mirror Detection, see Settings->Advanced Settings->mirrordetection
There you can change on what criteria the mirror decision is based on.
File names as well as file sizes can be seen as unsafe and safe value.
For example a plugin/hoster might not reveal the final file size but just a text like "300 Mb" which is seen
as unsafe value because you cannot compare "300 Mb" with 314572800. Some sites do provide
the safe file size via api/website, then this value can be used for mirror decision. Else JDownloader
will not use the file size for decision and has to wait for final download to begin in order to know the file size

Same for file name. Some sites just show "Hello.NiceFil......rar" or don't reveal file name at all until actual
download begins.

If you just want to use filename, then you may change GeneralSettings.mirrordetectiondecision to Filename
Please know that this will cause 2 files Test.txt(1byte) and Test.txt(10byte) seen as mirror!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 27.04.2021, 16:03
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,232
Default

Quote:
Originally Posted by Jimmy76mail.com View Post
A solution could be that JD2 offers the possibility in mirror detection decision to only check filesize with the mirror detection file size equally which is adjustable, we could have a solution, what do you think ?
Settings->Adanced Settings->GeneralSettings.mirrordetectionfilesizeequality
GeneralSettings.forcemirrordetectionfilesizecheck
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 27.04.2021, 16:03
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,232
Default

In case you've got further questions or need help, just ask
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 05.05.2021, 01:02
Jimmy76mail.com Jimmy76mail.com is offline
Modem User
 
Join Date: Apr 2021
Posts: 4
Unhappy

Quote:
Originally Posted by Jiaz View Post
File names as well as file sizes can be seen as unsafe and safe value.
For example a plugin/hoster might not reveal the final file size but just a text like "300 Mb" which is seen as unsafe value because you cannot compare "300 Mb" with 314572800.
Thank you for your help but none of this is actually working. It seems Jdownloader, either check :
  • file name (Mirror detection decision : FILENAME)
  • file name and file size (Mirror detection decision : FILENAME_FILESIZE)
  • I don't know neiter Safe neither Auto but i guess more restrictive than the two above

It seems there is no option for ONLY filesize.
And if this option will be enable in the future it should propose UNSAFE FILESIZE (base on the approximative size given) because in my case I use to different host to gain time but because of this problem, JD waste my two host on the same file instead of move on the following episod.
That's a shame
Reply With Quote
  #9  
Old 05.05.2021, 13:51
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,044
Default

Please post example URLs.
Recognizing mirrors only based on the UNSAFE filesize is not a good idea if you ask me.
If I had to guess I'd say your filenames are just too different to recognize these mirrors: As said, you could adjust this via Packagizer rules but it will be hard to us to help without real life example URLs...

-psp-
__________________
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
  #10  
Old 05.05.2021, 14:16
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,232
Default

@Jimmy76mail.com
Please provide example links. FILENAME should work just fine, but of course the Filenames must be identical for this to work.

SAFE= will only use verified filenames/filesizes
AUTO=will either use verified filesizes(ForceMirrorDetectionFileSizeCheck) or compare filesize with MirrorDetectionFileSizeEquality
__________________
JD-Dev & Server-Admin
Reply With Quote
  #11  
Old 06.05.2021, 10:57
Jimmy76mail.com Jimmy76mail.com is offline
Modem User
 
Join Date: Apr 2021
Posts: 4
Default

Hi,

It is finally working after a reboot.

My parameters are :
  • Mirror Detection File Size Equality : 9 000 (instead of 10 000)
  • Mirror Detection Decision : FILENAME_FILESIZE
  • Force Mirror Detection File Size Check : untick
  • Force Mirror Detection Case Insensitive : untick

To be sure and for my information in Mirror Detection Decision, FILENAME_FILESIZE check FILENAME and FILESIZE or only FILESIZE ?
What is the difference with SAFE ?

Thank you for your help guys !
Reply With Quote
  #12  
Old 06.05.2021, 15:32
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,232
Default

SAFE only uses verified Filename (api, final filename) but not filenames like "Test_.....rar"(just an example)
SAFE only uses verified Filesize, (api, final download) but not filesize parsed from "300Mb" String

Your settings will treat files as mirros when they have same filename(doesn't matter if verified or not) and filesize is 90% same (doesn't matter if verified or not)
so a test.zip with 1gb will be mirror of test.zip with 900mb
__________________
JD-Dev & Server-Admin
Reply With Quote
  #13  
Old 06.05.2021, 15:34
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,232
Default

Quote:
Originally Posted by jimmy76mail.com View Post
to be sure and for my information in mirror detection decision, filename_filesize check filename and filesize or only filesize ?
and
__________________
JD-Dev & Server-Admin
Reply With Quote
  #14  
Old 10.05.2021, 09:50
ypp ypp is online now
DSL Light User
 
Join Date: Jan 2019
Posts: 30
Default

Would be better to have a way to set mirror links via api or file eg xml or .crawljob
Reply With Quote
  #15  
Old 10.05.2021, 11:02
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,232
Default

@ypp: I don't see any advantage of this?
If you already use api, then you could just code that in case the link goes down or fails, you dynamically add/replace with mirror/working link.
API is for tools/scripts and once you are walking this path, you can do soo much more.

At least filename must be equal, else how do you decide what filename to use for download?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #16  
Old 13.05.2021, 09:10
ypp ypp is online now
DSL Light User
 
Join Date: Jan 2019
Posts: 30
Default

you would be able to add multi-part,multi-mirror download with one click and forget it.
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 09:01.
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.