1EZSTREAM-FILE.SH(1) BSD General Commands Manual EZSTREAM-FILE.SH(1)
2
4 ezstream-file.sh — script to stream files from the command line
5
7 ezstream-file.sh [-hqrVv] [-p pidfile] [-T cfg_template] [file ...]
8
10 The ezstream-file.sh script uses an ezstream configuration file template
11 to stream a list of files given on the command line, or via standard in‐
12 put. In other words, filenames are written to a temporary playlist, and
13 a template-based configuration is generated to stream them.
14
15 The path to a configuration template must be provided, either by using
16 the -T command line argument, or the EZSTREAM_TEMPLATE environment vari‐
17 able.
18
19 The configuration template must be a valid playlist configuration, and
20 contain the follwing configuration statement inside the <media /> block:
21
22 <filename>%FILENAME%</filename>
23
24 If no input files are specified, the list of files to be streamed are
25 read from standard input.
26
27 Lastly, the EZSTREAM environment variable allows to specify an alternate
28 ezstream binary.
29
30 Command line parameters
31 -h Print a summary of available command line parameters with short
32 descriptions and exit.
33
34 -p pidfile
35 (Passed to ezstream.) Write the ezstream-file.sh process ID (a
36 single number) to pidfile.
37
38 -q (Passed to ezstream.) Be more quiet. Suppress the output that
39 external programs send to standard error.
40
41 -r (Passed to ezstream.) Show a real-time stream status information
42 line on standard output. Implies -q.
43
44 -T cfg_template
45 Use the configuration in cfg_template, overriding the default set
46 in the EZSTREAM_TEMPLATE environment variable.
47
48 -V Print the ezstream-file.sh version number and exit.
49
50 -v (Passed to ezstream.) Produce more verbose output from ezstream.
51 Use twice for even more verbose output.
52
54 /usr/share/examples/ezstream Directory containing example configuration
55 files for various uses of ezstream, as well
56 as example playlist and metadata scripts.
57
59 ezstream(1), ezstream-cfgmigrate(1)
60
62 The ezstream-file.sh script and this manual were written by Moritz Grimm.
63
64ezstream 1.0.2 July 21, 2022 ezstream 1.0.2