L4cache/kemono-dl

Media Type Sorting

Opened this issue · 4 comments

Description

Can it be made possible to sort Images and Videos into separate subdirectories please? Metadata can be sorted out but not media

I have some idea but I don't like them...
Such as add 2 args one work as switch, one for configuring what files are considered as vids or imgs. (more args)
Or modify the filename pattern argument, make it able to explicitly specify the pattern for different filename extensions. (no simple on/off switch)

Here is example
--filename-pattern "{ext}\{published} {id} {index} {filename}.{ext}" --inline-filename-pattern "{ext}\{published} {id} i{index} {filename}.{ext}" --other-filename-pattern "html\[{published}] [{id}] {title}\{published} {id} {filename}.{ext}"

Here is example --filename-pattern "{ext}\{published} {id} {index} {filename}.{ext}" --inline-filename-pattern "{ext}\{published} {id} i{index} {filename}.{ext}" --other-filename-pattern "html\[{published}] [{id}] {title}\{published} {id} {filename}.{ext}"

We still need the functionality to group them together, for example .jpg and .png to the images folder