downthemall-legacy
downthemall-legacy copied to clipboard
Feature request: *description* as rename tag
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
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.
@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)
Please do it :-) being able to save the description into the filename is a very useful thing
I second the motion, I think it would be very useful. Thank you!
Landed here searching for a way to get the file name from the description field. Is this implemented?
*text*
and *flattext*
both refer to the description.
https://github.com/downthemall/downthemall/blob/84160d789062691de0ffd82bdc4ebc123b540203/modules/manager/renamer.js#L28-L29