#1
|
|||
|
|||
Insert dynamic variable to be used only at download time?
I noticed that when you submit a package to Jdownloader2 using the MyJdownloader plugin from a browser, that the "Save To" can have a dynamic variable like
Code:
<JD:Packagename> If I try to use insert that same variable myself as part of the path when editing the path or creating a download package myself, the variable is evaluated immediately to whatever the package name is. Is it possible to insert the variable manually, and have it behave the same as from the plugin, i.e. not evaluate to the current value right away? Thank you! |
#2
|
||||
|
||||
This dynamic tag is only evaluated in Linkgrabber section.
Once you move the links to Downloadlist, the dynamic tag is replaced by its actual value. The dynamic tag is case sensitive ! and must be Quote:
__________________
JD-Dev & Server-Admin |
#3
|
|||
|
|||
Quote:
For instance, if a package were called "test" the current download path could be: /downloads/something if I try to change that to: Code:
/downloads/<jd:packagename> /downloads/test |
#4
|
||||
|
||||
You will not be able to see the dynamic tag in table, but when you rename the package, the folder should also change with dynamic tag in place. The substitution will happen immediately but internally the dyamic tag still exists.
I will update tooltip of directory column to also show the dynamic path
__________________
JD-Dev & Server-Admin Last edited by Jiaz; 05.01.2021 at 18:43. |
#5
|
|||
|
|||
An additional behavior I've just noticed...it seems like this visually happens when I first click on a package and change the path from a static path to the path with the variable, the substitution is reflected right away.
If I then change it again to contain the variable, it will keep the variable. BUT...if I click on a different package, and click back to the same package again, it will show the path as a static path, having performed the substitution at that point. This is all within the LinkGrabber...so to summarize in steps to repeat:
All that said, now that I can get it to act predictably for me, I can work with that. I just have to remember to make sure to set the package name first before I try and insert the variable into the path. Thanks! |
#6
|
|||
|
|||
Quote:
|
#7
|
||||
|
||||
Update will be available in next 5 minutes, then the tooltip in directory column will show the dynamic tags if there are any
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|