rommapp / romm

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

[Feature] Bulk rename #1467

Open jasonajack opened 1 week ago

jasonajack commented 1 week ago

Is your feature request related to a problem? Please describe. When doing a manual match there is a feature to rename the rom file, but no option exists for multirom selection.

Describe the solution you'd like It would be nice to have a bulk rename option from the purple bubble when selecting multiple roms; this way I can quickly rename my archive to be clean and more easily locatable.

Describe alternatives you've considered No alternatives exist as far as I can find despite going through each rom manually.

Additional context

Manual match: image

No options exist in the Active multi select: image

gantoine commented 1 week ago

What about https://github.com/emmercm/igir? It supports mass renaming ROMs correctly, and tbh the more we can offload from RomM into other tools, the better!

jasonajack commented 1 week ago

What about https://github.com/emmercm/igir? It supports mass renaming ROMs correctly, and tbh the more we can offload from RomM into other tools, the better!

I'll look into it. It might solve my immediate need.

Would it make sense to have something in the documentation that describes how to use this tool in a way that is also compatible with Romm? This way you keep the maintenance minimal to documentation only while still providing users a pathway to doing this sort of maintenance on their archives.

gantoine commented 1 week ago

Yes that would make sense, though it's not exactly high on our priority list. When you have the time to try igir can you let me know if you're successful?

jasonajack commented 1 week ago

I'd be willing to write something up and provide a PR to wiki/romm.wiki if it helps. But so far I've tried the Igir script with only partial success.

The challenge was in downloading the .dat lists: the recommended source (No-Intro) frequently throttles downloads even if you grab two or more dat files, which made the process slow. Additionally, the Igir script / dat files were unsuccessful in identifying many of the roms that Romm is able to find using IGDB. This leads me to question if the metadata from IGDB is even the same as the ones I'm pulling from the dat files, but that'd be difficult to confirm.

I will try to see if there is a better source for dat files that can be used which matches IGDB more accurately. If I'm successful I can write something up.