diff --git a/client/components/modals/item/tabs/Match.vue b/client/components/modals/item/tabs/Match.vue index 3faa26b27..bf15ffc17 100644 --- a/client/components/modals/item/tabs/Match.vue +++ b/client/components/modals/item/tabs/Match.vue @@ -77,8 +77,8 @@
-

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

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

diff --git a/server/utils/fileUtils.js b/server/utils/fileUtils.js index 9a349bd54..2da6b4c91 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('powershell -Command "(Get-PSDrive -PSProvider FileSystem).Name"', async (error, stdout, stderr) => { + exec('wmic logicaldisk get name', async (error, stdout, stderr) => { if (error) { reject(error) return @@ -485,9 +485,10 @@ 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 {