Open k0zyrev opened 1 year ago
Could you push a PR doing a similar platform check before setting the db location? I don't actively maintain this anymore (have switched to Playnite).
I actually don't really know python at all and not sure how to properly handle all this, sorry. Funny enough, I needed this script in order to figure out how to import my game tags/categories into playnite. Not sure how to do it yet, playnite doesn't seem to have any way of importing categories from csv (or like at all).
Even though I ran the script explicitly defining path to the database, I got the error because it didn't recognize the platform and couldn't set the default location. So I just hacked it by hardcoding the default location of the database, but I guess it would be nice if the script recognized the correct platform and react accordingly or, at least, don't even set the defaultDBlocation if the script is being run with -i parameter.
command I ran
python galaxy_library_export.py -i /home/user/Desktop/storage/galaxy-2.0.db -o /home/user/Desktop/gog.csv
dirty hack, line 555: