JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 04.07.2016, 15:23
GNJF GNJF is offline
Modem User
 
Join Date: Jul 2016
Posts: 2
Default Add incremental numbers on file name

Hello,

With imgur links, the original file names are all randomized [e.g; eAgNQEF ].

Is there a way, that I can download the files and have their file names be something like this: [1_eAgNQEF.jpg] and then on the next file it'd be something like this: [2_eaTdea.jpg] and so on and so forth. This would be especially helpful for imgur albums that need to read in an order, like comics.

I searched everywhere, I tried to use variables and I couldn't get them work.

Is anyone able to assist?

Thank you.
Reply With Quote
  #2  
Old 04.07.2016, 17:05
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,320
Default

wait for next core update, then this feature
will be available

create a rule that matches the links you want to *auto index* and
-set filename to
<jd:indexof>-<jd:orgfilename>

Please note that this creates an *auto index* of the link within its package!
It has nothing to do with the index of a link from any page or gallery!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 13.07.2016, 14:37
GNJF GNJF is offline
Modem User
 
Join Date: Jul 2016
Posts: 2
Default

Hello,

Is there anyway to make it so it grabs the link in proper order. As of now with the new auto-index feature, it adds number to them but the images itself are still in random order.
Reply With Quote
  #4  
Old 13.07.2016, 14:47
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,320
Default


not possible yet because of heavy multithreading
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 18.09.2016, 14:25
lynysys lynysys is offline
Modem User
 
Join Date: Feb 2014
Posts: 3
Thumbs up

Sorry for the semi-dead-thread-lovin', and this is probably obvious to most people who uses the software (but it wasn't for me so I thought that it might not be for everyone) but _some_ plugins (notably yt) have this built in via their own settings. i.e:

Youtube: Video Filename Pattern = [*PLAYLIST_POSITION*] ....

For plugins without this I would probably suggest putting Max Simultaneous Downloads to 1 and then running a shell script on the resulting files that renumbers them based on creation time.

Just my GBP 0.02.
Reply With Quote
  #6  
Old 18.09.2016, 18:53
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,320
Default

We can add this feature to plugins but then we need example links. The thread opener did not specify what host/site he is downloading from so we can only provide generic methods.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 25.07.2018, 12:54
user135711 user135711 is offline
Super Loader
 
Join Date: Jul 2018
Posts: 26
Default Number youtube playlist videos

Settings>Plugins> youtube.com setting "Filename for Video files" to *videonumber[000]* *TITLE*
worked.

Last edited by user135711; 25.07.2018 at 13:20.
Reply With Quote
  #8  
Old 28.11.2018, 20:38
verheiratet1952 verheiratet1952 is offline
JD Addict
 
Join Date: Jan 2016
Posts: 159
Default

Quote:
Originally Posted by Jiaz View Post
wait for next core update, then this feature
will be available

create a rule that matches the links you want to *auto index* and
-set filename to
<jd:indexof>-<jd:orgfilename>

Please note that this creates an *auto index* of the link within its package!
It has nothing to do with the index of a link from any page or gallery!
for me <jd:orgfilenamewithoutext> brings results with -01 -02 -03 ... -50
how to remove those numbers, but only the numbers at the end to have all files in just one folder?

I want to use it at packagizer -> package name
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:39.
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.