EZSTREAM-FILE.SH(1)

πŸ“¦
version 1.0.2 Β· 5 versions
, in alpine 3.24

πŸ’… EZSTREAM-FILE.SH(1) β€” the stream-files-from-the-command-line script, bestie edition πŸŽ€

okay so welcome to ezstream-file.sh(1), General Commands Manual energy, and let me tell you this little cutie is so much simpler than it looks. it's a script. it streams files. from the command line. iconic behaviour honestly.


✨ SYNOPSIS ✨

ezstream-file.sh [-hqrVv] [-p pidfile] [-T cfg_template] [file ...]

look at her. she's got flags, she's got a pidfile, she's got a template, and if you don't hand her files she'll just read them from you. lowkey versatile. πŸ¦‹


🌸 DESCRIPTION 🌸

so here's the vibe: ezstream-file.sh takes an ezstream configuration file template, and uses it to stream a whole list of files β€” either the ones you name right there on the command line, or the ones coming in through standard input. in other words (and fr fr this is the whole trick), the filenames get written to a temporary playlist, and then a template-based configuration gets generated so ezstream can stream them. temporary playlist + generated config = your music, but make it pipeline. ✨

you gotta give it a path to a configuration template. two ways to do that, pick your fighter:

  • the -T command line argument, or
  • the EZSTREAM_TEMPLATE environment variable.

the configuration template has to be a valid playlist configuration, and it must contain this exact configuration statement inside the <media /> block:

<filename>%FILENAME%</filename>

that's the placeholder doing all the work, don't skip her. πŸ‘‘

and if you don't specify any input files? no worries bestie, the list of files to be streamed gets read from standard input instead. 🫢

lastly β€” and this is a fun one β€” the EZSTREAM environment variable lets you specify an alternate ezstream binary. so if your ezstream lives somewhere weird, she's got you.


⚑ Command line parameters ⚑

one bullet per flag, exactly as they come, no cap:

  • -h β€” print a summary of the available command line parameters with short descriptions, then exit. your friendly little help menu. πŸ’–
  • -p pidfile β€” (passed to ezstream.) write the ezstream-file.sh process ID β€” just a single number β€” to pidfile. one number, one file, very demure.
  • -q β€” (passed to ezstream.) be more quiet. suppresses the output that external programs send to standard error. shhh. πŸ™ˆ
  • -r β€” (passed to ezstream.) show a real-time stream status information line on standard output. implies -q, so heads up. live status updates, main character energy. πŸ”₯
  • -T cfg_template β€” use the configuration in cfg_template, overriding the default set in the EZSTREAM_TEMPLATE environment variable. this one wins the argument, periodt.
  • -V β€” print the ezstream-file.sh version number and exit. a little "hi, it's me" and then she's gone. πŸ’…
  • -v β€” (passed to ezstream.) produce more verbose output from ezstream. use it twice for even more verbose output β€” yes bestie, stack them, -vv, she ate. πŸ“

πŸ¦‹ FILES πŸ¦‹

  • /usr/share/examples/ezstream β€” directory containing example configuration files for various uses of ezstream, as well as example playlist and metadata scripts. go snoop, it's free real estate. ✨

🌈 SEE ALSO 🌈

your reading list, go off. πŸ“š


πŸ’œ AUTHORS πŸ’œ

the ezstream-file.sh script and this manual were written by Moritz Grimm. give her a round of applause, she did both, no help, respect. πŸ‘


tiny reminder bestie: the -r flag implies -q, and your template must have that <filename>%FILENAME%</filename> line in the <media /> block or this whole thing does not go. you got this. πŸ’–

mwah, that's the whole page 🫢 β€” this cutie is ezstream version 1.0.2, dated April 28, 2026, and that's the sign-off babe, stream responsibly and slay. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from