#1
|
|||
|
|||
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. |
#2
|
||||
|
||||
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 |
#3
|
|||
|
|||
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. |
#4
|
||||
|
||||
not possible yet because of heavy multithreading
__________________
JD-Dev & Server-Admin |
#5
|
|||
|
|||
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. |
#6
|
||||
|
||||
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 |
#7
|
|||
|
|||
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. |
#8
|
|||
|
|||
Quote:
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 |
#9
|
|||
|
|||
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 05:17. |
#10
|
||||
|
||||
Quote:
I've fixed this threads' tag. -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#11
|
|||
|
|||
Quote:
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! |
#12
|
||||
|
||||
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 |
|
|