EZSTREAM-FILE.SH(1)

πŸ’– EZSTREAM-FILE.SH πŸ’–

okay bestie, welcome to the manual page for ezstream-file from the General Commands Manual β€” she's a lil script, she's a whole vibe, and she streams files straight from your command line. let's get into it ✨


🌸 NAME 🌸

ezstream-file β€” a script to stream files from the command line


πŸŽ€ SYNOPSIS πŸŽ€

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

✨ DESCRIPTION ✨

okay so here's the tea πŸ«– β€” the ezstream-file script takes an ezstream configuration file template and uses it to stream a list of files you hand it on the command line, or that you pipe in via standard input. like, that's the whole plot. filenames get written to a temporary playlist, and then a template-based config gets generated to stream them. it's giving efficiency. πŸ’…

you gotta give it a path to a configuration template, bestie β€” either with the -T command line argument, or by setting the EZSTREAM_TEMPLATE environment variable. no template, no stream, no cap.

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

<filename>%FILENAME%</filename>

if you don't specify any input files at all? no worries, the list of files to be streamed gets read from standard input instead. slay. πŸ‘‘

and lastly β€” the EZSTREAM environment variable lets you point at an alternate ezstream binary. cute, right? πŸ¦‹


πŸ“ Command line parameters πŸ“

  • -h β€” prints a summary of all the available command line parameters with short descriptions, then exits. your lil help menu moment.
  • -p pidfile β€” (passed straight through to ezstream.) writes the ezstream-file process ID (just a single number, nothing fancy) to pidfile.
  • -q β€” (passed to ezstream.) be more quiet. suppresses the output that external programs send to standard error. shhh era.
  • -r β€” (passed to ezstream.) shows a real-time stream status information line on standard output. implies -q. so like, you get the status line instead of the noise. ⭐
  • -T cfg_template β€” use the configuration in cfg_template, overriding the default set in the EZSTREAM_TEMPLATE environment variable. she overrides. she's that girl.
  • -V β€” prints the ezstream-file version number and exits. quick lil flex.
  • -v β€” (passed to ezstream.) produces more verbose output from ezstream. use it twice for even more verbose output. go off, honestly. πŸ”₯

🌈 FILES 🌈

  • /usr/share/doc/ezstream/examples β€” directory containing example configuration files for various uses of ezstream, as well as example playlist and metadata scripts. go look, it's full of treasures.

πŸ‘‘ SEE ALSO πŸ‘‘

ezstream(1), ezstream-cfgmigrate(1)


πŸ’œ AUTHORS πŸ’œ

the ezstream-file script and this manual were written by Moritz Grimm. thank you for your service, legend 🫢


and that's the whole page, bestie!! πŸŽ€ this was ezstream version 1.0.2, dated August 01, 2022, brought to you by the General Commands Manual. now go stream something iconic πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from