$ git clone http://tcclient.ion.nu/tc_client.git
commit b75a1a2f9ee3ff7e4e7ed0b80b631ff99e8d3fde
Author: Alicia <...>
Date:   Tue May 31 10:36:05 2016 +0200

    bugfix: brought back announcing when a cam stream ends.

diff --git a/ChangeLog b/ChangeLog
index 11c2b85..f5d9dec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 0.39:
 Added a /closecam command to stop receiving a cam stream.
 modbot: only use youtube-dl's 'ytsearch:' for --get-id, and only if it doesn't appear to be an ID already.
+bugfix: brought back announcing when a cam stream ends.
 tc_client-gtk: handle only one sendmessage event at a time, and don't send empty lines.
 tc_client-gtk: added postprocessing options for cams upon right-click, starting with brightness adjustment.
 tc_client-gtk: moved encoding out of the cam thread, allowing postprocessing to be applied to the broadcasted frame.
diff --git a/media.c b/media.c
index 0e7b725..50960d9 100644
--- a/media.c
+++ b/media.c
@@ -129,6 +129,7 @@ void stream_handlestatus(struct amf* amf, int sock)
   if(!strcmp(code->string.string, "NetStream.Play.Stop"))
   {
     unsigned int id=strtoul(details->string.string, 0, 0);
+    printf("VideoEnd: %u\n", id);
     stream_stopvideo(sock, id);
   }
 }