RPLAY.HELPERS(5)

✨ NAME ✨

rplay.helpers β€” the lil squad of helper apps that rplay be vibing with πŸ’–

okay so real quick, this is a File Formats Manual page, section 5, and it's literally all about rplay.helpers. bestie, it's giving "glow-up for your audio files." πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

/usr/local/etc/rplay.helpers

yeah that's it. that's the whole path. iconic. πŸ‘‘


πŸ’… DESCRIPTION πŸ’…

okay so the rplay.helpers file is literally just a list of regex and application pairs, and rplayd uses it to convert unknown file formats. that's the whole job. no cap. πŸ”₯

the way this works is: the application you name in there must be configured to accept input from stdin and output data to stdout in the given audio format. like, it has to be that kind of app. it can't be doing its own thing. periodt.

every single line of this file is of the form:

<regex> <audio-format> <application>

so yeah: regex first, then the audio format, then the application. in that order. don't switch it up bestie. 🫢


🌸 EXAMPLE 🌸

here's what a line actually looks like in the wild, fr fr:

.*mp3$  linear16,44100,16,2,little-endian  /usr/bin/mpg123 -s -q -r 44100 --stereo -

like, that's the whole vibe. regex matching mp3s, the audio format spec, and mpg123 doing the work. slay. πŸ’œ


🌈 FILES 🌈

  • /usr/local/etc/rplay.helpers β€” the file itself, the main character πŸ¦‹

πŸ‘‘ SEE ALSO πŸ‘‘


ok bestie quick recap: regex, audio format, application. stdin in, stdout out. that's the whole recipe. don't forget it πŸ’–

anyway that's the page!! written up in the File Formats Manual, dated 06/22/98 β€” yeah, it's a vintage one, an old-school baddie, but we love her. go convert some files, bestie. mwah πŸ’…βœ¨