JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 19.03.2020, 21:38
madein madein is offline
Baby Loader
 
Join Date: Oct 2019
Posts: 6
Default Is there a way to automatically prepend a number to each file name?

I'd like to have each file in the download queue saved like this this:

001_File_name1
002_File_name2
003_File_name3, etc...

Is this possible?
Reply With Quote
  #2  
Old 20.03.2020, 10:01
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 52,548
Default

Hi,
depending on how the files were named before, yes.
See Settings --> Packagizer --> Add new packagizer rule.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
How to create a log || Wie man einen Log erstellt
Captcha FAQ EN || Captcha FAQ DE || Erste Schritte & Tutorials
JDownloader 2 Setup Download
-----=>Support Chat<=-----
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #3  
Old 20.03.2020, 11:03
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,010
Default

add in dynamic tag in front of the filename with <jd:indexof>
more info on dynamic tags https://board.jdownloader.org/showthread.php?t=77270
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #4  
Old 20.03.2020, 16:56
madein madein is offline
Baby Loader
 
Join Date: Oct 2019
Posts: 6
Default

OK, I added this in to a new rule: <jd:indexof>_<jd:orgfilenamewithoutext>.<jd:orgfiletype> and now all indexes are 1. It's not being incremented. What am I doing wrong?
Reply With Quote
  #5  
Old 20.03.2020, 17:03
madein madein is offline
Baby Loader
 
Join Date: Oct 2019
Posts: 6
Default

OK, I solved this by unchecking "Information overwrites packagizer rules" in Analyse and Add Links dialog box. What's the purpose of this setting anyway?
Reply With Quote
  #6  
Old 20.03.2020, 18:58
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 52,548
Default

Quote:
Originally Posted by madein View Post
What's the purpose of this setting anyway?
If you have a rule you would normally want it to be applied to all URLs which JD automatically picks up when you e.g. add them via clipboard observation.

If add links via "Add links dialog" this implies that you e.g. want to set a custom packagename or filenames --> Thus you can use that checkbox to enforce ignoring all packagizer rules.

This is especially useful if you e.g. use JD headless with usage rules and cannot easily disable packagizer rules over JDs GUI

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
How to create a log || Wie man einen Log erstellt
Captcha FAQ EN || Captcha FAQ DE || Erste Schritte & Tutorials
JDownloader 2 Setup Download
-----=>Support Chat<=-----
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
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 17:45.
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 - 2020, Jelsoft Enterprises Ltd.