diff --git a/src/app/components/MediaManager.tsx b/src/app/components/MediaManager.tsx index 44068ef..6fea34c 100644 --- a/src/app/components/MediaManager.tsx +++ b/src/app/components/MediaManager.tsx @@ -1261,9 +1261,9 @@ export default function MediaManager({ initialPath = '/', rootPath, title, confi {(() => { const drives = Object.entries(config?.iec?.devices?.drive ?? {}) .filter(([k]) => k !== 'vdrive' && k !== 'rom') - .map(([k, v]: [string, any]) => ({ type: 'drive' as const, key: k, url: v?.url as string | undefined, enabled: !!v?.enabled })); + .map(([k, v]: [string, any]) => ({ type: 'drive' as const, key: k, base_url: v?.base_url as string | undefined, url: v?.url as string | undefined, enabled: !!v?.enabled })); const meatloafs = Object.entries(config?.iec?.devices?.meatloaf ?? {}) - .map(([k, v]: [string, any]) => ({ type: 'meatloaf' as const, key: k, url: v?.url as string | undefined, enabled: !!v?.enabled })); + .map(([k, v]: [string, any]) => ({ type: 'meatloaf' as const, key: k, base_url: v?.base_url as string | undefined, url: v?.url as string | undefined, enabled: !!v?.enabled })); const devices = [...drives, ...meatloafs]; if (!devices.length) return
No drive devices found in config.
; @@ -1278,7 +1278,11 @@ export default function MediaManager({ initialPath = '/', rootPath, title, confi