downthemall-legacy icon indicating copy to clipboard operation
downthemall-legacy copied to clipboard

Feature request: *description* as rename tag

Open ghuacc opened this issue 8 years ago • 6 comments

DTA 3.0.6, Firefox 48.0.1

Expected Behavior

the use descripton as rename tag would be comfortable, so changing the name of a file can be done before downloading; for huge downloads the name does not have to be remembered and changed after the download has finished

Actual Behavior

the description tag is not supported at the moment

ghuacc avatar Sep 12 '16 07:09 ghuacc

Would be nice for this to be added might give a shot during the weekend seeing as it looks like its just a small edit to the manager renamer.js to grab the description for it become a automatic usable tag.

ghost avatar Sep 21 '16 21:09 ghost

@ImSoto feel free to do so. Please keep in mind that the description needs to be sanitized before putting it into (part of a) filename.

Also, this will require some localization in the UI, and we won't touch strings for 3.0.x, so it might be a good idea to split this into a commit adding the tag support (which can be merged immediately), and one adding the UI (which can be merged for the 3.1 timeframe)

nmaier avatar Sep 22 '16 14:09 nmaier

Please do it :-) being able to save the description into the filename is a very useful thing

g-i-o-r-g-i-o avatar Feb 24 '17 11:02 g-i-o-r-g-i-o

I second the motion, I think it would be very useful. Thank you!

jstites4 avatar Jul 18 '17 22:07 jstites4

Landed here searching for a way to get the file name from the description field. Is this implemented?

KoolPal avatar Nov 07 '17 06:11 KoolPal

*text* and *flattext* both refer to the description.

https://github.com/downthemall/downthemall/blob/84160d789062691de0ffd82bdc4ebc123b540203/modules/manager/renamer.js#L28-L29

Lalem001 avatar Mar 08 '18 00:03 Lalem001