You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I noticed that Sidecar post images weren't sorting by mtime in a way I'd expect. Evidently it's because they do not return a date value in their metadata:
Put simply, I'd like to be able to use post["media"]["taken_at"] to populate date metadata on each file.
Note: This isn't a PR as it's not particularly elegant and I'm unsure if it contains any breaking changes. If it does, perhaps this could be achieved with an option/config entry?
The text was updated successfully, but these errors were encountered:
Recently I noticed that Sidecar post images weren't sorting by mtime in a way I'd expect. Evidently it's because they do not return a
date
value in their metadata:I believe this line of code
gallery-dl/gallery_dl/extractor/instagram.py
Line 331 in c2d1171
destroys all of the metadata that
media
gets frompost["media"]
, includingpost["media"]["taken_at"]
.If I change
gallery-dl/gallery_dl/extractor/instagram.py
Lines 335 to 336 in c2d1171
to
the
date
metadata is returned successfully:Put simply, I'd like to be able to use
post["media"]["taken_at"]
to populatedate
metadata on each file.Note: This isn't a PR as it's not particularly elegant and I'm unsure if it contains any breaking changes. If it does, perhaps this could be achieved with an option/config entry?
The text was updated successfully, but these errors were encountered: