LPL Editor - RetroArch playlist filter and stream editor

Usage: lpled [OPTIONS] [FILE]...

lpled --write "combined.lpl" "Game Boy.lpl" "Game Boy Color.lpl"

Project: Github

Download: Releases

“LPL Editor” (or lpled for short) is a command line application written in Rust to view, combine, filter, edit and remix “RetroArch Playlist” files. Add options and patterns to filter content or customize output, inspired by tools like grep and jq . This is not a ROM or media files manager. Games need to be imported into Playlists through RetroArch first.

  • merge multiple playlists
  • search filters with regex support
  • sort game entries
  • remove duplicate game entries
  • check for missing ROM files
  • respect default core for “DETECT” values
  • output data in color or custom format
  • fuzzy finder selection menu
  • play game directly with RetroArch
  • and more…

I have been working on this for a while now. It is the first time I create a cross platform commandline application that should work on Linux and Windows (and potentially on more platforms). To not repeat myself, look at Usage and lpled --help how to use it. You can also build from source, but need the Rust tools for that.

3 Likes

Seems useful, good work.

Suggestion: if this tool can clean unneeded thumbnails for deleted playlist entries, it would be extra helpful.

I can also benefit from a feature to move multiple entries into a different playlist (new or existing) along with their thumbnails (optional).

1 Like

I knew the thumbnails handling request would come up. :smiley: Its another can of worms that I do not feel comfortable to handle, especially so handling this platform independent in a secure way. The main focus was always to get the playlist data out. So to delete unused thumbnail files one would need to write some scripts, but I understand this is not something most people would want to do. I’ll look into this.

As for your second point, moving entries out of a playlist, is something the program should actually have. I need to look into this too, how to do it correctly. I am really really slow at these kind of things, so this could potentially take time. To add entries into an existing file, use --append (or -a for short). This makes sure the existing entries in the file with --write output.lpl will keep its existing entries, and the new ones are added at the bottom.

1 Like