JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 27.02.2021, 18:37
userohio userohio is offline
Baby Loader
 
Join Date: Feb 2021
Posts: 7
Default [EventScripter] Append size (number of files) to folder name

Is there a way to append the size, in other words the number of files, to the end of the folder name in parentheses? Help is appreciated. It would look like FolderName (10) if 10 files are in the folder.
Reply With Quote
  #2  
Old 27.02.2021, 23:45
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,374
Default

its a bit tricky todo this within the package name, as in linkgrabber the count can change from the first url adding to the last joining the package (default sorting based on no package name defined when adding links), and additional links adding to that package.

You can have file count available in gui in availability column and you can place it also in size column (settings > advanced settings > GraphicalUserInterfaceSettings.filecountinsizecolumnvisible).

if you want it in the packagename best bet would be on adding to download tab, use event scripter to change the packagename to include a count value.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #3  
Old 28.02.2021, 02:54
userohio userohio is offline
Baby Loader
 
Join Date: Feb 2021
Posts: 7
Default

I see what you mean. I’ll see if I can do it via powershell after downloads are complete. Thanks for the feedback.
Reply With Quote
  #4  
Old 28.02.2021, 05:09
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,374
Default

eventscripter would be your solution, you should be able todo it all within its functions vs triggering a powershell script.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
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 04:36.
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 - 2021, Jelsoft Enterprises Ltd.