ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.47k stars 10.04k forks source link

mpeg date not hyphenated #26533

Open 532910 opened 4 years ago

532910 commented 4 years ago

Checklist

Verbose log

PASTE VERBOSE LOG HERE

Description

WRITE DESCRIPTION HERE

While --xattrs produces hyphenated data https://github.com/ytdl-org/youtube-dl/blob/3089bc748c0fe72a0361bce3f5e2fbab25175236/youtube_dl/postprocessor/xattrpp.py#L52 --add-metadata does not:

% getfattr -dm- file.mp3 | grep date
user.dublincore.date="2015-05-29"
% mediainfo file.mp3 | grep date
Recorded date                            : 20150529
532910 commented 4 years ago

What's wrong to store date in the iso format everywhere, even json meta?