JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 14.06.2022, 11:03
StefanM's Avatar
StefanM StefanM is offline
JD VIP
 
Join Date: Oct 2020
Posts: 484
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, 12:38
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,343
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 12:42.
Reply With Quote
  #3  
Old 14.06.2022, 16:21
StefanM's Avatar
StefanM StefanM is offline
JD VIP
 
Join Date: Oct 2020
Posts: 484
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, 16:40
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,343
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, 16:44
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,343
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, 16:45
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,343
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
  #7  
Old 12.09.2022, 17:32
user75846 user75846 is offline
Baby Loader
 
Join Date: Jan 2021
Posts: 7
Default

Quote:
Originally Posted by Jiaz View Post
Please tell me which ones you really need! and then I will check/add them.
I suggest one for 'Status', to be able to easily copy the long error messages that sometimes appear during timeouts. What would the raw property for that be in the meantime?
Reply With Quote
  #8  
Old 12.09.2022, 18:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,343
Default

@user75846: the long error message will not help us to identify the cause or help. for those we need a proper log. but we could add static information like final states (finished, offline....)
__________________
JD-Dev & Server-Admin
Reply With Quote
  #9  
Old 17.03.2024, 14:03
jd_user123 jd_user123 is offline
Modem User
 
Join Date: Mar 2024
Posts: 1
Default

[reopening this question]

Hello
Could you add the following properties from the Downloads UI table to the available fields for copying information:
  • Added Date
  • Finished Date
  • % completion
  • status
  • so-far-downloaded amount
  • availability

That would be great.
Thanks!

the trick with {jd:prop:PROPERTY_FINISHTIME} did not work for me, no information was added to the copied content

[edit] What would be the list of available "yourWishedProperty"?

Last edited by jd_user123; 17.03.2024 at 14:11.
Reply With Quote
  #10  
Old 18.03.2024, 17:08
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,343
Default

Quote:
Originally Posted by jd_user123 View Post
the trick with {jd:prop:PROPERTY_FINISHTIME} did not work for me, no information was added to the copied content
Sorry, my bad! It should read
Code:
{jd:prop:FINISHTIME}
__________________
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 12:52.
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.