JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 04.07.2016, 16: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, 18:05
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 68,318
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, 15: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, 15:47
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 68,318
Default


not possible yet because of heavy multithreading
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 18.09.2016, 15: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, 19:53
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 68,318
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, 13:54
user135711 user135711 is offline
DSL Light User
 
Join Date: Jul 2018
Posts: 33
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 14:20.
Reply With Quote
  #8  
Old 28.11.2018, 21:38
verheiratet1952 verheiratet1952 is offline
JD Addict
 
Join Date: Jan 2016
Posts: 170
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
  #9  
Old 08.09.2020, 06:07
xZabuzax xZabuzax is offline
Junior Loader
 
Join Date: Sep 2016
Posts: 11
Default

Sorry for reviving this topic from the dead but this issue isn't solved so I don't know why it has the "solved" tag in it.

Even with the methods provided in this thread the issue persist, the images in Imgur are numbered but they are still in random order, they are not ordered at all (unless I'm doing something wrong of course).

Last edited by xZabuzax; 08.09.2020 at 06:17.
Reply With Quote
  #10  
Old 09.09.2020, 13:46
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 55,228
Default

Quote:
Originally Posted by xZabuzax View Post
Sorry for reviving this topic from the dead but this issue isn't solved so I don't know why it has the "solved" tag in it.
Indeed the ticket of post #4 is still open.

I've fixed this threads' tag.

-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?
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
  #11  
Old 10.09.2020, 03:20
xZabuzax xZabuzax is offline
Junior Loader
 
Join Date: Sep 2016
Posts: 11
Default

Quote:
Originally Posted by pspzockerscene View Post
Indeed the ticket of **External links are only visible to Support Staff**... is still open.

I've fixed this threads' tag.

-psp-
Thanks but I believe this issue can be closed now, it's actually fixed but it wasn't fixed with the methods provided in this thread because the methods in this thread didn't work, it's actually fixed with another method:

The option that fixed the issue is *orderid* which can be added to "Define Custom Filename" in Settings > Plugins > Imgur.com

I don't understand why *orderid* is not the default option, I believe that option is the most important one and should be on by default.

Anyway, I also created a thread with the same issue not to long ago here: https://board.jdownloader.org/showthread.php?t=85406 and you gave me the answer I was looking for so yeah, I believe this issue is fixed now so this thread should be closed as well.

Thanks!
Reply With Quote
  #12  
Old 10.09.2020, 16:00
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 55,228
Default

Thanks for your feedback.

This thread was about another "order id" (IDs inside packages in JD) and indeed it is not solved - imgur has it's own handling for that.

-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?
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 03:23.
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.