From cae1560344fd14a5c00e02bd1f14db2394a75d8c Mon Sep 17 00:00:00 2001 From: sir-wilhelm Date: Fri, 25 Jul 2025 12:33:46 -0500 Subject: [PATCH 1/2] Use PowerShell to get windows drive paths. wmic has been deprecated on newer versions of Windows 11 and is not installed. resolves #4531 --- server/utils/fileUtils.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/server/utils/fileUtils.js b/server/utils/fileUtils.js index 2da6b4c91..9a349bd54 100644 --- a/server/utils/fileUtils.js +++ b/server/utils/fileUtils.js @@ -476,7 +476,7 @@ module.exports.getWindowsDrives = async () => { return [] } return new Promise((resolve, reject) => { - exec('wmic logicaldisk get name', async (error, stdout, stderr) => { + exec('powershell -Command "(Get-PSDrive -PSProvider FileSystem).Name"', async (error, stdout, stderr) => { if (error) { reject(error) return @@ -485,10 +485,9 @@ module.exports.getWindowsDrives = async () => { ?.split(/\r?\n/) .map((line) => line.trim()) .filter((line) => line) - .slice(1) const validDrives = [] for (const drive of drives) { - let drivepath = drive + '/' + let drivepath = drive + ':/' if (await fs.pathExists(drivepath)) { validDrives.push(drivepath) } else { From 9c47f404c97699504873d5e3a2548b386dee6724 Mon Sep 17 00:00:00 2001 From: advplyr Date: Sat, 23 Aug 2025 16:55:32 -0500 Subject: [PATCH 2/2] Fix current author not showing in podcast match #4617 --- client/components/modals/item/tabs/Match.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/components/modals/item/tabs/Match.vue b/client/components/modals/item/tabs/Match.vue index bf15ffc17..3faa26b27 100644 --- a/client/components/modals/item/tabs/Match.vue +++ b/client/components/modals/item/tabs/Match.vue @@ -77,8 +77,8 @@
-

- {{ $strings.LabelCurrently }} {{ mediaMetadata.authorName }} +

+ {{ $strings.LabelCurrently }} {{ isPodcast ? mediaMetadata.author : mediaMetadata.authorName }}