alucryd / oxyromon

Rusty ROM OrgaNizer
Other
120 stars 13 forks source link

[Feature] m3u support #56

Closed TylerVigario closed 1 year ago

TylerVigario commented 1 year ago

Can we add support for .m3u files for multi-disc games? I created .m3u files for my GameCube games but they aren't importing with oxyromon.

alucryd commented 1 year ago

Yeah, that's on my to-do list, the plan is to auto detect multi disc games and create m3u files automatically. Can't give you an ETA though, but it's definitely planned.

TylerVigario commented 1 year ago

Thanks, I see that now in the README. Sorry I missed it. And thanks for the awesome project!

alucryd commented 1 year ago

@TylerVigario Guess what? https://github.com/alucryd/oxyromon/commit/eefb923817c9a5af98bc5aed564a5335ad2b2d43 ;)

Will work with Redump DATs that use the (Disc n) convention. M3U files should follow their rom if they are moved by sort-roms (haven't tried it yet), but you'll need to generate them again if you use convert-roms to change their format.

Note that the first time you call this new version it will probably seem unresponsive if you already have an extensive library. This is adding a new indexed field in the database, and indexing can take some time.

TylerVigario commented 1 year ago

This is great news! I am completing my GC & Wii (RVZ) games conversion and will test and report back if any issues arise with M3U creation.

EDIT: Also sorry about closing this, thought it would be a while 😆

EDIT 2: Didn't notice a sizeable delay on first-run (I have a half-decent home server) and everything worked flawlessly!