JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 16.07.2022, 03:22
th322 th322 is offline
Modem User
 
Join Date: Jan 2022
Posts: 2
Default How to <jd:indexof> files in LinkGrabber but also keep their origin filetypes?

I tried highlight all the files in 1 package in linkgrapper then press F2 to rename then enter <jd:indexof> which index all the highlighted files but this also removed the filetypes. I also tried <jd:indexof>.<jd:orgfiletype> but this also did not work. Please tell me what I did wrong.

Basically I was just looking for a way to index (add number to the files based on the order the files were added to linkgrapper) but also keeping the filetypes. I found <jd:indexof> did just what I need but I must have done something wrong because this method also removed all filetypes.
Reply With Quote
  #2  
Old 17.07.2022, 09:32
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,516
Default

@th322: rename dialog has search/replace, so you will have to use (just example)
Quote:
search for - *
replace with - <jd:indexof>-$1
do not enable regex checkbox
But please know that this will NOT solve this!
Quote:
Originally Posted by th322 View Post
Basically I was just looking for a way to index (add number to the files based on the order the files were added to linkgrapper) but also keeping the filetypes. I found <jd:indexof> did just what I need ...
indexof will just add the number/index where the current link is within the package. you move to first then it will have number 1, you move to 2nd, then it will be 2 and so on.

Due to heavy usage of multithreading/other optimizations, there are no guarantees about input->processing->output order of links, so out of the box this won't be possible
Quote:
Originally Posted by th322 View Post
add number to the files based on the order the files were added to linkgrapper)
You can make use of packagizer rules, see https://support.jdownloader.org/Know...ame-via-anchor , to add own numbers to your links and tell JDownloader to rename the files accordingly
__________________
JD-Dev & Server-Admin

Last edited by Jiaz; 17.07.2022 at 09:46.
Reply With Quote
  #3  
Old 17.07.2022, 09:46
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,516
Default

__________________
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 06:18.
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.