mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-12-04 14:46:31 -05:00
15 lines
421 B
Bash
Executable File
15 lines
421 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Minimalist example metadata script that has the behavior required by
|
|
# ezstream.
|
|
#
|
|
# From the current working directory, return the contents of metadata.txt,
|
|
# artist.txt, and title.txt.
|
|
|
|
test -z "${1}" && cat metadata.txt 2> /dev/null
|
|
test x"${1}" = "xartist" && cat artist.txt 2> /dev/null
|
|
test x"${1}" = "xtitle" && cat title.txt 2> /dev/null
|
|
test x"${1}" = "xalbum" && cat album.txt 2> /dev/null
|
|
|
|
exit 0
|