i30817 / libretrofuzz

Fuzzy Retroarch thumbnail downloader
MIT License
15 stars 2 forks source link

JSONDecodeError when running script #1

Closed totte174 closed 2 years ago

totte174 commented 2 years ago

Unable to use script because of error. Maybe this is something to look into? Attached debug message and playlist

errorlibretrofuzz.txt Atari - 2600 - Copy.txt

i30817 commented 2 years ago

That's the old format of playlists, current retroarch uses json.

You must be using a very old version, or haven't updated the playlist in at least a year. I think maybe two? Try updating them, in settings->playlists->chose the system->refresh playlist.

If you can't, try to rescan.

I guess i can try to support this format, since it's not big deal.

i30817 commented 2 years ago

Try to reinstall with

pip install --force-reinstall https://github.com/i30817/libretrofuzz/archive/master.zip

and try again now. Should work if the playlist has no mistakes.

i30817 commented 2 years ago

I updated the fix to also work with compressed playlists and old format, because that's a retroarch option, for some stupid reason.