Skip to content

Instantly share code, notes, and snippets.

@yisraeldov
Created June 21, 2017 14:19
Show Gist options
  • Save yisraeldov/44e680025c400f708c4ff0197c7b5b36 to your computer and use it in GitHub Desktop.
Save yisraeldov/44e680025c400f708c4ff0197c7b5b36 to your computer and use it in GitHub Desktop.
Make a playlist when scanning doesn't work.
playlist=/home/<user>/.config/retroarch/playlists/Sony - PlayStation.lpl
find /home/<user>/roms/Sony\ PlayStation/ -iname *.cue | while read f; do
echo $f;
echo $f >> "$playlist" ;
echo `basename "$f"` >> "$playlist";
echo DETECT >> "$playlist" ;
echo DETECT >> "$playlist" ;
echo `crc32 "$f"`"|crc" >> "$playlist";
echo `basename "$playlist"` >> "$playlist";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment