There was an error while loading. Please reload this page.
1 parent 692b896 commit 1507011Copy full SHA for 1507011
1 file changed
powershell/yt-download.ps1
@@ -702,6 +702,10 @@ if ($url -and -not $install -and -not $uninstall) {
702
$pattern = '--replace-in-metadata\s+?(.+?)\s+(.+?\$)\s?'
703
$substitution = '--replace-in-metadata "$1" "$2" ""'
704
$optionsString = $optionsString -replace $pattern, $substitution
705
+
706
+ $pattern = '--replace-in-metadata\s+?(title)\s+?(.+?)\s+(\S+)'
707
+ $substitution = '--replace-in-metadata "$1" "$2" "$3"'
708
+ $optionsString = $optionsString -replace $pattern, $substitution
709
}
710
711
if ($SelectDownloadedFile -and -not $IsTest) {
0 commit comments