[xiph-commits] r18744 - icecast/trunk/ices/src

ph3-der-loewe at svn.xiph.org ph3-der-loewe at svn.xiph.org
Thu Dec 13 16:54:36 PST 2012


Author: ph3-der-loewe
Date: 2012-12-13 16:54:36 -0800 (Thu, 13 Dec 2012)
New Revision: 18744

Modified:
   icecast/trunk/ices/src/playlist_script.c
Log:
do not start end-of-song command if there was no song being played

Modified: icecast/trunk/ices/src/playlist_script.c
===================================================================
--- icecast/trunk/ices/src/playlist_script.c	2012-12-14 00:44:27 UTC (rev 18743)
+++ icecast/trunk/ices/src/playlist_script.c	2012-12-14 00:54:36 UTC (rev 18744)
@@ -93,7 +93,7 @@
     script_playlist *pl = data;
     FILE *pipe;
 
-    if (!pl->on_ended)
+    if (!pl->on_ended || !fn)
         return;
 
     pipe = popen(pl->on_ended, "w");



More information about the commits mailing list