#1
|
|||
|
|||
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)
In order to make understand to JD2 that there are the same files, I rename them and it becomes : Serie.S01e01 (package) (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 |
#2
|
|||
|
|||
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 ?
|
#3
|
||||
|
||||
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 |
#4
|
||||
|
||||
Quote:
There you can change on what criteria the mirror decision is based on.
__________________
JD-Dev & Server-Admin |
#5
|
||||
|
||||
Quote:
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 |
#6
|
||||
|
||||
Quote:
GeneralSettings.forcemirrordetectionfilesizecheck
__________________
JD-Dev & Server-Admin |
#7
|
||||
|
||||
In case you've got further questions or need help, just ask
__________________
JD-Dev & Server-Admin |
#8
|
|||
|
|||
Quote:
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 |
#9
|
||||
|
||||
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 |
#10
|
||||
|
||||
@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 |
#11
|
|||
|
|||
Hi,
It is finally working after a reboot. My parameters are :
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 ! |
#12
|
||||
|
||||
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 |
#13
|
||||
|
||||
and
__________________
JD-Dev & Server-Admin |
#14
|
|||
|
|||
Would be better to have a way to set mirror links via api or file eg xml or .crawljob
|
#15
|
||||
|
||||
@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 |
#16
|
|||
|
|||
you would be able to add multi-part,multi-mirror download with one click and forget it.
|
Thread Tools | |
Display Modes | |
|
|