JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09.06.2019, 02:34
zachary24 zachary24 is offline
Baby Loader
 
Join Date: Jan 2019
Posts: 7
Default JD follows folder structure, only after renaming the root folder with the next folder

for the last 2 months i've been messing with JD non stop trying to get it to properly accept keeping folder structures, my main os is windows 10 however i have installed JD on mac os mojave and the problems persist. i've try'd almost every combination of default packagizer rules, "overwrite" settings, download path, etc. if you need a link just lmk, as i don't want to post it publicly (not nsfw) the basics of the structure is:
MAIN\
SECOND\
OTHER\
files..
SECOND\
files..
so pretty much one main folder, with two secondary folders that contain nested folders and files.
however, after JD downloads the files an example for MAIN/SECOND/OTHER/FILE.M2TS, would be MAIN_SECOND_OTHER/SECOND/OTHER/FILE.M2TS. so it pretty much adds all subfolders into the root dir then proceeds to follow the original structure. any help is appreciated.
Reply With Quote
  #2  
Old 09.06.2019, 23:06
zachary24 zachary24 is offline
Baby Loader
 
Join Date: Jan 2019
Posts: 7
Default

looks like the forum declines custom spacing, heres the pastebin **External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #3  
Old 10.06.2019, 11:05
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

in respects to forum spacing you can use [code] bbtag and it wont change your formatting.
in respects to directory placement of content, JD package customiser should be able to do as you want, assuming it can determine the content type when links enter linkgrabber. If content if within extraction archives this can make things harder, to impossible.

without example links and screenshots of your rules its hard to know where you went wrong.

raztoki
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #4  
Old 10.06.2019, 11:31
zachary24 zachary24 is offline
Baby Loader
 
Join Date: Jan 2019
Posts: 7
Default

**External links are only visible to Support Staff****External links are only visible to Support Staff**
these are my current rules however as stated above i've followed every combintation (and order) i could think of/find mentioned here..
https://i.imgur.com/jC0aYaz.png
Reply With Quote
  #5  
Old 11.06.2019, 23:57
zachary24 zachary24 is offline
Baby Loader
 
Join Date: Jan 2019
Posts: 7
Default

Quote:
Originally Posted by raztoki View Post
in respects to forum spacing you can use [code] bbtag and it wont change your formatting.
in respects to directory placement of content, JD package customiser should be able to do as you want, assuming it can determine the content type when links enter linkgrabber. If content if within extraction archives this can make things harder, to impossible.

without example links and screenshots of your rules its hard to know where you went wrong.

raztoki
?
Reply With Quote
  #6  
Old 12.06.2019, 01:39
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

package customiser rules have been adjusted by yourself
move the 'adopt directory structure', below 'create sub directory by packagename'
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #7  
Old 12.06.2019, 03:40
zachary24 zachary24 is offline
Baby Loader
 
Join Date: Jan 2019
Posts: 7
Default

Quote:
Originally Posted by raztoki View Post
package customiser rules have been adjusted by yourself
move the 'adopt directory structure', below 'create sub directory by packagename'
like stated before, i have tried every combination i have read. https://imgur.com/a/bA8MsTX. i'm not sure why this was marked solved as i never stated the problem was gone.
Reply With Quote
  #8  
Old 12.06.2019, 03:57
Cyberavater Cyberavater is offline
JD Legend
 
Join Date: Feb 2019
Posts: 732
Default

Yup, I am having the same issue here! A solution is needed.
Reply With Quote
  #9  
Old 12.06.2019, 19:39
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@zachary24: your example link works perfectly fine. packagizer rules are processed from top to bottom, so the *adopt folder structure* must be below *create subfolder by package name*
Make sure that you do NOT use placeholder in default download folder! what you describe and according your screenshot it looks like that might be the case!
In doubt I would suggest we'll do a teamviewer session and check this together, contact me at support@jdownloader.org
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 14.06.2019, 12:02
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

@zachary24
I did test this just prior to responding to you, but didn't see the issue before I had to rush out for work (had limited time), and it looked right, though its _ instead of /
I've fixed the problem, its caused by nested subdirectories. Screen shots actually allowed me to see the issue =] oh and opening the example url in browser, which I didn't previous (sorry).

raztoki
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]

Last edited by raztoki; 14.06.2019 at 12:17.
Reply With Quote
  #11  
Old 14.06.2019, 20:36
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@raztoki: the current packagename is build by appending all folder names because without enabled *subfolder by plugin* else all files would go to same folder. Imagine two different subfolders have name TEST then currently it's 'ROOT_1_TEST' and 'ROOT_2_TEST'
with enabled *subfolder by plugin* the structure on disk is correct as the package name isn't used. without this rule in place, the package contain only the files from that folder.
with your suggested fix, all files from both packages would go to 'TEST'
I don't think that soution is good.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #12  
Old 14.06.2019, 20:37
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

If it's okay with you I would add this as plugin option?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #13  
Old 15.06.2019, 13:59
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

jiaz: I gathered as much, but from what I could tell the last directory in the nest isn't correct. only fix as I could see it would be to do as I did, and everything is as is. they then use save path to see where they belong verse super long packagename. But yes your example is of two directories with the same name in different parents have dupes, but they also should have different file package ids, thus seperate directories? turn merge off?
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #14  
Old 17.06.2019, 18:24
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@raztoki: now I understand, I've modified plugin to incorporate your change/idea
__________________
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:59.
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.