JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 20.05.2022, 18:07
mrdial8 mrdial8 is offline
Modem User
 
Join Date: Sep 2021
Posts: 2
Default API equivalent to Event Scripter setComment()?

I'm doing some complex automation of JD2 using the API, and need to set comments on links and packages.

Using the API, I can get existing comments using queryLinks and queryPackages, but can't find a way to set comments.

If there is already a way, I've missed it.

If there isn't currently a way, I'd really appreciate this being added to the API.

Vielen Dank!
Reply With Quote
  #2  
Old 20.05.2022, 18:19
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@mrdial8: I will add a
Quote:
setComment(long[] linkIds, long[] packageIds,boolean setPackageChildren, String comment)
api method in downloadsV2 and linkgrabberv2 namespace
comment will only be set on specified links/packages if setPackageChildren=false
else it will auto apply comment to all package children, so you don't have to specify them all

In case you need method to be different or other/more methods, please just let us know!
__________________
JD-Dev & Server-Admin

Last edited by Jiaz; 20.05.2022 at 18:28.
Reply With Quote
  #3  
Old 20.05.2022, 18:42
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Bitte auf das nächste CORE-Update warten!

Please wait for the next CORE-Update!

Wartest du auf einen angekündigten Bugfix oder ein neues Feature?
Updates werden nicht immer sofort bereitgestellt!
Bitte lies unser Update FAQ! | Please read our Update FAQ!

---
Are you waiting for recently announced changes to get released?
Updates to not necessarily get released immediately!
Bitte lies unser Update FAQ! | Please read our Update FAQ!


-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || 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?
Reply With Quote
  #4  
Old 20.05.2022, 19:03
mrdial8 mrdial8 is offline
Modem User
 
Join Date: Sep 2021
Posts: 2
Default

Wow--such a quick response!

Thanks very much, @Jiaz. I'll give it a try.
Reply With Quote
  #5  
Old 20.05.2022, 19:35
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@mrdial8: update will be available in next 5 mins
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 20.05.2022, 19:56
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@mrdial8: update is live
__________________
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 00: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 - 2024, Jelsoft Enterprises Ltd.