Index: /trunk/liquidsoap/src/outputs/icecast2.ml
===================================================================
--- /trunk/liquidsoap/src/outputs/icecast2.ml	(revision 7142)
+++ /trunk/liquidsoap/src/outputs/icecast2.ml	(revision 7143)
@@ -354,6 +354,10 @@
               ()
      end ;
-    (* Now send the remaining data.. *)
-    if ogg then
+    (* Now send the remaining data.. 
+     * We reset the ogg encoder only if
+     * icy_metadata = false. This allows 
+     * the use of icy.update_metadata in order
+     * to have custom metadata updates. *)
+    if ogg && (not icy_metadata) then
       (Utils.get_some encoder).Encoder.reset m 
     else ""
