team-phoenix / Phoenix

A multi-system emulator and library manager designed to be both powerful and easy to use.
http://phoenix.vg
GNU General Public License v2.0
377 stars 39 forks source link

Library import #352

Open Angell1993 opened 2 years ago

Angell1993 commented 2 years ago

I noticed I can only add one game add a time from one folder.. Seeing I got a folder with multiple subfolders for each console and game.. my Folder structure: Consoles -> DreamCast -> Game -> Gamefile

If this makes sense..

Is there any way to load everything thing in at once, instead of manually going through each folder and adding one at a time??

athairus commented 2 years ago

I double-checked the source. It should automatically go down subfolders (but not symlinks). So, in your case, tell Phoenix to scan your "Consoles" folder.

https://github.com/team-phoenix/Phoenix/blob/c8158177cc56cda56ef5407d7dffb2e6c3c2c01b/frontend/cpp/library/scanner/mapfunctor.cpp#L375

https://doc.qt.io/qt-5/qdiriterator.html#IteratorFlag-enum

Angell1993 commented 2 years ago

Well, I can only select one or multiple files in the same folder, so no scan folder and subdirectory support that is available..