JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 05.04.2015, 22:27
daffdaemon daffdaemon is offline
JD Beta
 
Join Date: Jan 2011
Posts: 57
Default Imgchili file name problem

I see that the Mirror detection issue is being worked on. Sorry if I'm posting this in wrong spot. The following link:
**External links are only visible to Support Staff****External links are only visible to Support Staff**

Produces this result:
251/251 online

All files are different size and have names like:
41466808 als fresh produce ki.jpg
41466814 als fresh produce ki.jpg
41466862 als fresh produce ki.jpg

JD truncates the initial numeric id, downloads the first file or so, then marks all the rest as mirror.

I used the following work around to download:
Select all files
Reset
Disable
Check online status <-loads full file name
Enable

Downloads with the numeric id prefix; which of course puts all the files out of order, but gets them all anyway. I think Imgchile must be truncating the end of the file name.
Reply With Quote
  #2  
Old 06.04.2015, 08:51
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 64,713
Default

Have you disabled linkcheck?
Works fine for me out of the box. No truncated filenames. all filenames are complete.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 06.04.2015, 09:01
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 64,713
Default

fixed by raztoki
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 06.04.2015, 15:50
daffdaemon daffdaemon is offline
JD Beta
 
Join Date: Jan 2011
Posts: 57
Default

I have not, to the best of my knowledge, disabled linkcheck.
Should it be enabled or disabled, and how does one make the change?
What does linkcheck do?

Also, I am curious, when you say all filenames are complete... are you getting:
A. Full original name ending in sequence number.
B. Numeric ID (added by Imgchili)_Original name truncated before sequence number
C. Numeric ID_Full original name w/ sequence number
Reply With Quote
  #5  
Old 06.04.2015, 16:28
daffdaemon daffdaemon is offline
JD Beta
 
Join Date: Jan 2011
Posts: 57
Default

Just to clarify:
Full original name has the form:
als_title_model_s#_###.jpg
Imgchili (I believe) adds an 8 digit numeric ID prefix.
I was assuming Imgchili was truncating the end of the file name, but I don't know that for sure. What I know is that when JD first loads the file list, it removes the 8 digit prefix, and somewhere in the process the end of the file is also truncated, so that I am left with a list of all the same file names:
als_title_mo
When I reset and re-check online status, I don't get the full file name. I get a list of files with the unique numeric prefix restored; but the end of the file is still truncated:
#(x8)_als_title_mo.jpg

The other aspect that is strange: when JD 1st check online ststus it reads file sizes all different, but when it starts the download, as soon as it hits the first duplicate file name it changes the file size to match the first file downloaded and marks it a mirror.

BTW this problem is not unique to the link above. I have more than thirty similar links all with same issue.

Last edited by daffdaemon; 06.04.2015 at 16:34. Reason: added information
Reply With Quote
  #6  
Old 06.04.2015, 17:07
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 48,649
Default

Press the update button, restart JD (even if it says there are no updates), re-add your links, try again and post your feedback here.
__________________

Ad-free installers || Werbefreie Installer
Windows Setup<--JD2 BETA-->Linux Setup x86 || Linux Setup x64 || Mac Setup
-----=>Support Chat<=-----
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #7  
Old 06.04.2015, 17:33
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 64,713
Default

plugin already got changed, but you need to readd the links (and update jd)
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 07.04.2015, 17:04
daffdaemon daffdaemon is offline
JD Beta
 
Join Date: Jan 2011
Posts: 57
Default

Hi, I updated. Now running JD2 Build Date: Apr 07 14:23:47 CEST 2015
Successfully downloaded an album without intervention.
JD is loading a file list with 8 digit numeric prefix.
Full original file name is still being truncated, so sequence numbers are lost. Looks like truncation is at 20 characters (excluding numeric prefix ).

Last edited by daffdaemon; 07.04.2015 at 17:07.
Reply With Quote
  #9  
Old 07.04.2015, 17:15
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 64,713
Default

Filenames in List are truncated in gui only. Please provide links where truncation happens.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 08.04.2015, 22:22
daffdaemon daffdaemon is offline
JD Beta
 
Join Date: Jan 2011
Posts: 57
Default

Not true that truncation is in interface only. They are added to list and downloaded truncated.
Truncation occurs after 20 characters of the original file name.
It occurs in the link already provided; if you want more examples:
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**

IMHO the culprit for the truncation above 20 characters is probably imgchili; and the fix already propagated is as good as its going to get in this instance... Unless someone knows of a way to get the original file name back from imgchili.

BTW thanks to JD team.
Reply With Quote
  #11  
Old 14.04.2015, 04:21
tony2long's Avatar
tony2long tony2long is offline
English Supporter
 
Join Date: Jun 2009
Posts: 6,158
Default

Quote:
Originally Posted by daffdaemon View Post
IMHO the culprit for the truncation above 20 characters is probably imgchili.
You are correct.

How do you know the original file name?
It is not available.
__________________
FAQ: How to upload a Log

Last edited by tony2long; 14.04.2015 at 05:41.
Reply With Quote
  #12  
Old 14.04.2015, 04:45
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,155
Default

we are using the final link for filename, before it was using final link for filename less number. I just removed the stripping of number so it wouldn't cause dupe issues. no where on the site gallery or the individual page, is there a filename provided larger in size than the servername (which we use).
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #13  
Old 15.04.2015, 23:46
daffdaemon daffdaemon is offline
JD Beta
 
Join Date: Jan 2011
Posts: 57
Default original filename

Quote:
Originally Posted by tony2long View Post
You are correct.

How do you know the original file name?
It is not available.
I only know the original filename because I know the naming convention for the site where the files originally came from.
Reply With Quote
  #14  
Old 16.04.2015, 00:03
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 48,649
Default

Well so how are we supposed to correct the names if they are shown nowhere?
__________________

Ad-free installers || Werbefreie Installer
Windows Setup<--JD2 BETA-->Linux Setup x86 || Linux Setup x64 || Mac Setup
-----=>Support Chat<=-----
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #15  
Old 16.04.2015, 01:04
daffdaemon daffdaemon is offline
JD Beta
 
Join Date: Jan 2011
Posts: 57
Default

LOL, you mean you guys aren't omniscient???

I wasn't really expecting more than the fix that has already been propogated (see my post #10 above); and thank you for that. But, I also wasn't sure myself where the last part of the filename was getting lost, or if imgchili kept a recoverable record of the filename.

I am curious though: the fix that was made simply stops the stripping of the numeric prefix, which does solve the problem. But before that, when JD was stripping off the prefix it also seemed to recognize that each file had different size, so why didn't it rename instead of mark as a dupe?
Reply With Quote
  #16  
Old 16.04.2015, 05:25
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 16,155
Default

renaming only happens when user settings allow it, when file exists rules 'ask, auto rename, skip' etc.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #17  
Old 16.04.2015, 05:55
daffdaemon daffdaemon is offline
JD Beta
 
Join Date: Jan 2011
Posts: 57
Default

Well, that moves the question but without answering it. Point is, JD encountered a list of files with same file names but different file sizes and it did not ask, rename, overwrite or skip. It changed the file size to match the first file, marked it as mirror and then skipped.

BTW my settings are set to "Ask for each file".
Reply With Quote
  #18  
Old 16.04.2015, 08:36
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 64,713
Default

What are your Mirror Detection Settings? In Settings-Advanced Settings- search for mirror
__________________
JD-Dev & Server-Admin
Reply With Quote
  #19  
Old 16.04.2015, 17:03
daffdaemon daffdaemon is offline
JD Beta
 
Join Date: Jan 2011
Posts: 57
Default mirror settings

I have never changed any advanced settings. The mirror settings, out of the box, are:
File size equality: 10000
Decision: AUTO
Force File Size Check: unchecked
Force Case Insensitive: checked
Reply With Quote
  #20  
Old 16.04.2015, 18:17
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 64,713
Default

Please provide example links where this happens. By default it needs at least filename+filesize for mirror. Cannot reproduce
__________________
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 21:55.
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 - 2019, Jelsoft Enterprises Ltd.