JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 03.05.2022, 04:53
I3ordo I3ordo is offline
Ultra Loader
 
Join Date: Mar 2022
Posts: 47
Default Sending through MyJdownloader... rename by the larger file's name?

When i send a link to MyJdownloader, there are always two files coming in to the link grabber (due to how i set filters)

the problem is, the sent link comes as two separate packages.
btw the link example is this:
**External links are only visible to Support Staff****External links are only visible to Support Staff**

Basically i want them to be one package so that i can create a packagizer rule that will rename both to package's name. but they always come separated...

how can i solve this?
Reply With Quote
  #2  
Old 03.05.2022, 05:15
I3ordo I3ordo is offline
Ultra Loader
 
Join Date: Mar 2022
Posts: 47
Default

can i somehow , get the package's name from the largest file in the package and then set the names of the files in that same package to be the package's name? that was what i would do but it involves some scripting which idont have...
Reply With Quote
  #3  
Old 03.05.2022, 16:28
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 77,893
Default

@I3ordo: When I add this link via MyJDownloader, both links *land* in the same package.
How do you add the links? Have you set any packagizer rules? When I add the link itself or select both , always *land* in the same package.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 03.05.2022, 16:30
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 77,893
Default

Quote:
Originally Posted by I3ordo View Post
Basically i want them to be one package so that i can create a packagizer rule that will rename both to package's name. but they always come separated...
You cannot access package name here as the package name is auto-generated from filename because package name is not pre-set manually or by any involved plugin. so the links are processed without a package(name) and the package(name) is auto generated in last step of link processing

Quote:
Originally Posted by I3ordo View Post
can i somehow , get the package's name from the largest file in the package
That's not possible because a packagizer rule has no knowledge of any other package/link
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 03.05.2022, 16:32
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 77,893
Default

Quote:
Originally Posted by I3ordo View Post
the problem is, the sent link comes as two separate packages.
Can you send screenshots? How do you add the links exactly? both at once or one after another?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 04.05.2022, 04:44
I3ordo I3ordo is offline
Ultra Loader
 
Join Date: Mar 2022
Posts: 47
Default

i send links at once by the right click "Download with Jdownloader"
the actual link
**External links are only visible to Support Staff****External links are only visible to Support Staff**

they are appear as two packages despite send from a single action.


the archive is placed in a same named package while the image is in an autocreated "Various Files"

my packagizer rule is just download url triggers to a predefined directory. My link grabber filters are accepting only accepting from specific url so that only the necessary image gets added.


here is another link from other site
**External links are only visible to Support Staff****External links are only visible to Support Staff**

this creates 3 packages one in each file however i would love to see it create one single package to wrap them all in. then maybe i could just create rule that renames them by the package name but since it comes as separate packages.. cant utilitze it for now..

my guess is, when hosters are different, they go to different packages, is there a way to turn that of so that they get to a single package ? archive hoster is rdpgtr, image hoster is imgur

Last edited by I3ordo; 04.05.2022 at 19:32.
Reply With Quote
  #7  
Old 04.05.2022, 17:39
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 63,127
Default

I can't reproduce your issues.
Please post a screenshot of your user defined Packagizer rules.
__________________
JD Supporter, Plugin Dev. & Community Manager
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?
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
  #8  
Old 04.05.2022, 19:41
I3ordo I3ordo is offline
Ultra Loader
 
Join Date: Mar 2022
Posts: 47
Default

I have disabled every packagizer and link grabber filter/show rules.
the link is
**External links are only visible to Support Staff****External links are only visible to Support Staff**

the links brought by the addon looks like this.


packagizer rules disabled like this


i also disabled archive extractor, packagizer and linkgrabber filter features globally

still the links arrive in separate packages...

i think it s the general settings\linkgrabber "Group single files in a "various package" option...
i found it i think
nope, it got worse with that various page option disabled, now every file has its own package...

here is how this link **External links are only visible to Support Staff****External links are only visible to Support Staff**
gets to jdownload when send with JDownloader add on in opera browser, with all packagizer+linkgrabber filters and single files into various packages settings disabled.

Last edited by I3ordo; 04.05.2022 at 19:55.
Reply With Quote
  #9  
Old 05.05.2022, 02:58
I3ordo I3ordo is offline
Ultra Loader
 
Join Date: Mar 2022
Posts: 47
Default

maybe i should reinstall both opera addon along with the JDownloader? to take things to default values?
Reply With Quote
  #10  
Old 05.05.2022, 09:47
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 63,127
Default

I still don't see any kind of bug here.
The items get auto grouped this way because it makes sense for the auto grouping.
To accomplish what you want, I'd create a custom Packagizer rule to group e.g. all items from down3dmodels.com/<title> into a package named "title".
Here is how I would do it:
__________________
JD Supporter, Plugin Dev. & Community Manager
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?
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
  #11  
Old 05.05.2022, 16:51
I3ordo I3ordo is offline
Ultra Loader
 
Join Date: Mar 2022
Posts: 47
Default

Hey! thank you for the suggestions, having them auto-added to a predefined package will be good and i will apply this. this will eliminate the clutter on the completed downloads list.

However i am very curious if the thing i am trying is possible.

when links sent to JD via MyJD , they appear with their own names(which is ofcourse natural),

what i was trying to accomplish by trying to pack them to a single package was to have both files have the same name.

so "chair.rar" file and "abcxyz.jpg" , would both renamed to
chair.jpg | chair.rar

What would solve my situation with pinpoint accuracy would be.

downloads sends to jdownloader va MyJD addon, and appear into linkgrabber gets auto renamed by the source url's page name.(ofcourse excluding the extension).

in this case, i need something like <jd:containername> which i suspect it exists, currently checking now.
Reply With Quote
  #12  
Old 05.05.2022, 16:57
I3ordo I3ordo is offline
Ultra Loader
 
Join Date: Mar 2022
Posts: 47
Default

well, the container name is not a dynamic variable or i call it wrong it seems.
these settings


Resulted in these two files.:

:D

however i am soo close to what i want to achieve i think
due to this:


this regex gets me what i need to extract:
i place it to "source url(s) contains (w regex enabled)
then filename:<jd:source:1>
how do i <jd:source:1>+keep extension.
because currently
extensions are lost

then
regexed on the original filename by
Code:
.(jpg|png|gif|zip|rar)$
and
Code:
<jd:source:1>.<jd:orgfilename:1>
new file name.

Voila!

So i can right click on a page lick copy adress and directly paste it to JD, it all files get the name of the web page that it was copied from.

So i can not use MyJD cause if i use MyJdownloader addon and right click on this **External links are only visible to Support Staff**link "download with Jd":
i get **External links are only visible to Support Staff****External links are only visible to Support Staff** instead of **External links are only visible to Support Staff****External links are only visible to Support Staff**.

This is the last roadblock it seems but i dont speak too soon

getting a hang of this am i now?:) wonderful program.....

Last edited by I3ordo; 05.05.2022 at 17:37.
Reply With Quote
  #13  
Old 05.05.2022, 17:28
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 77,893
Default

Quote:
Originally Posted by I3ordo View Post
what i was trying to accomplish by trying to pack them to a single package was to have both files have the same name.

so "chair.rar" file and "abcxyz.jpg" , would both renamed to
chair.jpg | chair.rar
You can try an additional
Quote:
<jd:source:1>.<jd:orgfiletype>
on Filename
__________________
JD-Dev & Server-Admin
Reply With Quote
  #14  
Old 05.05.2022, 17:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 77,893
Default

You can click into field and rightclick to see available tags
also see here https://support.jdownloader.org/Know...the-packagizer
__________________
JD-Dev & Server-Admin
Reply With Quote
  #15  
Old 05.05.2022, 17:40
I3ordo I3ordo is offline
Ultra Loader
 
Join Date: Mar 2022
Posts: 47
Default

yay, i was not expecting a response so soon so i edited my latest post on for updates, the post now will look weird due to cross talk

yes did these then
regexed on the original filename by
Code:
.(jpg|png|gif|zip|rar)$
and
Code:
<jd:source:1>.<jd:orgfilename:1>
new file name.

but Jd already had the orgfiletype variable! will clean that thing i just made up
So this is where i am at.

i can right click on a page rclick copy linkaddress and directly paste it to JD, it all files get the name of the web page that it was copied from.

But if i use MyJdownloader addon and right click on this **External links are only visible to Support Staff**link "download with Jd":
i get **External links are only visible to Support Staff****External links are only visible to Support Staff** instead of **External links are only visible to Support Staff****External links are only visible to Support Staff**.

Last edited by I3ordo; 05.05.2022 at 17:42.
Reply With Quote
  #16  
Old 05.05.2022, 17:47
I3ordo I3ordo is offline
Ultra Loader
 
Join Date: Mar 2022
Posts: 47
Default

So instead of getting the filename from Source URL, and extract filename, i should get the container's name and extract a proper filename, this will allow me to use Myjdownloader , a thousand less mouse clicks.
Reply With Quote
  #17  
Old 05.05.2022, 17:52
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 77,893
Default

@I3ordo: you can only access container/package name if manually set (eg via MyJDownloader) or a previous rule has set a package name
__________________
JD-Dev & Server-Admin
Reply With Quote
  #18  
Old 05.05.2022, 17:59
I3ordo I3ordo is offline
Ultra Loader
 
Join Date: Mar 2022
Posts: 47
Default

so i cant get container url and set some part of it as a variable, i can only do it for source urls...
to get container name, it should first get to linkgrabber, but since renaming happens before linkgrabber gets the file, i will have to do it manually for each file?_
correct so far?
Reply With Quote
  #19  
Old 05.05.2022, 18:04
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 77,893
Default

@I3ordo:
I was referring to container name = package name. If you parse the name from url and set it as package name, then of course you can later use it as condition/information for other rules
__________________
JD-Dev & Server-Admin
Reply With Quote
  #20  
Old 05.05.2022, 18:05
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 77,893
Default

Quote:
Originally Posted by I3ordo View Post
to get container name, it should first get to linkgrabber, but since renaming happens before linkgrabber gets the file, i will have to do it manually for each file?_
correct so far?
You can tell rule to work after linkgrabber/linkcheck by also setting online codition to it. But you cannot access the auto generated package name in rule/condition because this one is created AFTER the packagizer rules.
__________________
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 03:08.
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 - 2022, Jelsoft Enterprises Ltd.