JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 14.06.2022, 10:03
StefanM's Avatar
StefanM StefanM is offline
JD VIP
 
Join Date: Oct 2020
Posts: 313
Default Question: How to use {jd:prop:yourWishedProperty} in 'copy information'

In Menu Customizer: Downloads list - Rightclick menu you can add 'copy information' and you can customize it.

One string for customization is called
Code:
{jd:prop:yourWishedProperty}
Let' say I want to copy 'Finished date'. How do I do that?
Attached Thumbnails
jd.prop.your wished.jpg  
Reply With Quote
  #2  
Old 14.06.2022, 11:38
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 76,897
Default

@StefanM: Finished Date (number) is stored internally as property "PROPERTY_FINISHTIME"
Quote:
{jd:prop:PROPERTY_FINISHTIME}
But instead of accessing internals that are subject to change, better ask to add fix placeholder/tags for
stable use.
__________________
JD-Dev & Server-Admin

Last edited by Jiaz; 14.06.2022 at 11:42.
Reply With Quote
  #3  
Old 14.06.2022, 15:21
StefanM's Avatar
StefanM StefanM is offline
JD VIP
 
Join Date: Oct 2020
Posts: 313
Default

Quote:
Originally Posted by Jiaz View Post
@StefanM: Finished Date (number) is stored internally as property "PROPERTY_FINISHTIME"

But instead of accessing internals that are subject to change, better ask to add fix placeholder/tags for
stable use.
Thanks!
However, 'number format' is not the best solution.
I'm familiar with Excel and Excel formulas, which allow me to convert this. But it still would be easier and better to have YYYY-MM-DD hh:mm:ss.

And please consider this a a request to add such a tag 'officially' which will return 'plain text' for date and time.

And a second request:
Would it be possible, 'simply' to add tags for all available columns?
There are not too many remaining.
Reply With Quote
  #4  
Old 14.06.2022, 15:40
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 76,897
Default

Quote:
Originally Posted by StefanM View Post
Thanks!
However, 'number format' is not the best solution.
It's not about *best solution*. jd:prop just access the strored property in raw. in this case the timestamp is stored as number.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 14.06.2022, 15:44
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 76,897
Default

Quote:
Originally Posted by StefanM View Post
And please consider this a a request to add such a tag 'officially' which will return 'plain text' for date and time.
For example
Quote:
{date.added_dateformat}
{date.finished_dateformat}
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 14.06.2022, 15:45
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 76,897
Default

Quote:
Originally Posted by StefanM View Post
Would it be possible, 'simply' to add tags for all available columns?
There are not too many remaining.
Please tell me which ones you really need! and then I will check/add them.
__________________
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 07:23.
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.