[xiph-commits] r16525 - trunk/ezstream/examples

moritz at svn.xiph.org moritz at svn.xiph.org
Sat Aug 29 02:12:54 PDT 2009


Author: moritz
Date: 2009-08-29 02:12:53 -0700 (Sat, 29 Aug 2009)
New Revision: 16525

Modified:
   trunk/ezstream/examples/playlist-logger.sh
Log:
Listen to my own documentation: the end-of-playlist case is indicated by an
empty line. But ...


Modified: trunk/ezstream/examples/playlist-logger.sh
===================================================================
--- trunk/ezstream/examples/playlist-logger.sh	2009-08-28 20:19:49 UTC (rev 16524)
+++ trunk/ezstream/examples/playlist-logger.sh	2009-08-29 09:12:53 UTC (rev 16525)
@@ -101,6 +101,8 @@
 if [ ${_track_no} -gt ${_num_tracks} ]; then
 	if [ ${REPEAT} -ne 1 ]; then
 		# We're done.
+		# Output an empty line to indicate end-of-playlist:
+		echo
 		rm -f "${_state}"
 		exit 0
 	fi



More information about the commits mailing list