2007-03-10 15:13:56 -05:00
|
|
|
#!/bin/sh
|
|
|
|
|
2009-08-28 11:55:13 -04:00
|
|
|
# Minimalist example metadata script that has the behavior required by
|
|
|
|
# ezstream.
|
2017-01-01 20:08:26 -05:00
|
|
|
#
|
|
|
|
# From the current working directory, return the contents of metadata.txt,
|
|
|
|
# artist.txt, and title.txt.
|
2007-03-10 15:13:56 -05:00
|
|
|
|
2017-01-01 20:08:26 -05:00
|
|
|
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
|
2017-09-15 13:17:13 -04:00
|
|
|
test x"${1}" = "xalbum" && cat album.txt 2> /dev/null
|
2017-09-19 18:17:20 -04:00
|
|
|
|
|
|
|
exit 0
|