1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 02:32:33 +01:00

clarify 'metadata.mtime' usage and shortcomings (#2307)

This commit is contained in:
Mike Fährmann 2022-03-08 21:11:06 +01:00
parent bfa5e61900
commit acbb0f5a57
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -1980,7 +1980,7 @@ Description
extractor.skeb.sent-requests
-------------------------
----------------------------
Type
``bool``
Default
@ -3128,6 +3128,16 @@ Description
Set modification times for generated metadata files
according to the accompanying downloaded file.
Enabling this option will only have an effect
*if* there is actual ``mtime`` metadata available, that is
* after a file download (``"event": "file"`` (default), ``"event": "after"``)
* when running *after* an ``mtime`` post processes for the same `event <metadata.event_>`__
For example, a ``metadata`` post processor for ``"event": "post"`` will
*not* be able to set its file's modification time unless an ``mtime``
post processor with ``"event": "post"`` runs *before* it.
mtime.event
-----------