muldjord / skyscraper

Powerful and versatile game scraper written in c++
GNU General Public License v3.0
487 stars 128 forks source link

How do you handle multiple paths within the config.ini? #352

Open mrsilver76 opened 2 years ago

mrsilver76 commented 2 years ago

Some of my games are (deliberately) split over more than one folder.

How can I tell Skyscraper this within config.ini? I tried using a semi-colon as a separator:

[amiga]
inputFolder="/home/games/amiga500;/home/games/amiga1200"

but that didn't work.

jdalmanza commented 2 years ago

did you try two separate lines in the config file?

I generally do not use the config file, but I do run it manually via command line and have put multiple directories in the same playlist by running the command multiple times with the different directories spelled out, seems that logically this should work in the config file too

mrsilver76 commented 2 years ago

Funnily enough, I thought about that seconds after I hit send! Sadly that doesn't work either - only the latter inputFolder is acted upon.

I am debating about writing a script to do it because I want to not only use multiple directories but also use multiple scrapers (depending on the content) to ensure I get full coverage. For example, Amiga would look in amiga500 and amiga1200 and use openretro followed by screenscraper. However I wouldn't want to use openretro for some of the other platforms.