A feature-rich command-line audio/video downloader
[pp/XAttrMetadata] Don't write "Where from" on Windows (#13944)
sepro1e0c77ddcce3
diff --git a/yt_dlp/postprocessor/xattrpp.py b/yt_dlp/postprocessor/xattrpp.pyindex fd83d783ba..f879989761 100644--- a/yt_dlp/postprocessor/xattrpp.py+++ b/yt_dlp/postprocessor/xattrpp.py@@ -54,6 +54,9 @@ class XAttrMetadataPP(PostProcessor):if infoname == 'upload_date':value = hyphenate_date(value)elif xattrname == 'com.apple.metadata:kMDItemWhereFroms':+ # NTFS ADS doesn't support colons in names+ if os.name == 'nt':+ continuevalue = self.APPLE_PLIST_TEMPLATE % valuewrite_xattr(info['filepath'], xattrname, value.encode())