1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-07-17 18:58:35 +00:00

Move macOS metadata after description

This commit is contained in:
Roland Crosby 2025-03-22 14:41:43 -07:00
parent 2737255d94
commit a6bede39b8
No known key found for this signature in database

View File

@ -29,11 +29,11 @@ class XAttrMetadataPP(PostProcessor):
'user.dublincore.date': 'upload_date',
'user.dublincore.contributor': 'uploader',
'user.dublincore.format': 'format',
'com.apple.metadata:kMDItemWhereFroms': 'webpage_url',
# We do this last because it may get us close to the xattr limits
# (e.g., 4kB on ext4), and we don't want to have the other ones fail
'user.dublincore.description': 'description',
# 'user.xdg.comment': 'description',
'com.apple.metadata:kMDItemWhereFroms': 'webpage_url',
}
APPLE_PLIST_TEMPLATE = '''<?xml version="1.0" encoding="UTF-8"?>