rommapp / romm

A beautiful, powerful, self-hosted rom manager
https://romm.app
GNU Affero General Public License v3.0
2.34k stars 95 forks source link

[Bug] Tinfoil endpoint fails when using directories on file system #1208

Open therobbiedavis opened 1 month ago

therobbiedavis commented 1 month ago

RomM version 3.5.1

Describe the bug When using directories to organize switch ROMs, the tinfoil API does not understand

To Reproduce Steps to reproduce the behavior:

  1. Use a directory structure like /roms/ARMS/ARMS [titleid].nsp
  2. Scan this into RomM
  3. Navigate to this via Tinfoil
  4. See error

Expected behavior I figured romm would act as a proxy of sorts to obfuscate/flatten the structure for whatever structure tinfoil requires

Screenshots Using directories: image image image

Using flat structure: image image