EZSTREAM-FILE.SH(1)
π 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
-Tcommand line argument, or - the
EZSTREAM_TEMPLATEenvironment 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. π-ppidfile β (passed to ezstream.) write theezstream-file.shprocess 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. π₯-Tcfg_template β use the configuration in cfg_template, overriding the default set in theEZSTREAM_TEMPLATEenvironment variable. this one wins the argument, periodt.-Vβ print theezstream-file.shversion 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-rflag 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
- alpine 3.24: ezstream-doc 1.0.2-r5 Β· GPL-2.0
- Copyright (c) 2009, 2015 Moritz Grimm <mgrimm@mrsserver.net>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms