From 5c29f55942a67edb1005f577537e5eb92fd5caa0 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 11 Nov 2025 23:28:24 +0000 Subject: [PATCH] Fix incorrect VLC ICY metadata documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removed references to non-existent VLC options: - --icy-metadata (doesn't exist) - --http-continuous (not needed) VLC automatically sends the "Icy-MetaData: 1" HTTP header when connecting to HTTP audio streams, and the server responds with ICY metadata blocks. No special VLC flags are needed. Also fixed the stream URL in help text (/stream → /test/stream). --- pmoparadise/examples/stream_block.rs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pmoparadise/examples/stream_block.rs b/pmoparadise/examples/stream_block.rs index 162cf769..e9d71a07 100644 --- a/pmoparadise/examples/stream_block.rs +++ b/pmoparadise/examples/stream_block.rs @@ -24,8 +24,9 @@ //! Then open in VLC: //! vlc http://localhost:8080/test/stream //! -//! For ICY metadata (Now Playing): -//! vlc --http-continuous --icy-metadata http://localhost:8080/test/stream +//! VLC automatically requests ICY metadata (Now Playing info). +//! To test metadata updates: +//! curl http://localhost:8080/test/metadata use axum::{ body::Body, @@ -125,10 +126,9 @@ async fn main() -> Result<(), Box> { eprintln!(" 3 - World/Etc Mix (global sounds)"); eprintln!(); eprintln!("After starting, open in VLC:"); - eprintln!(" vlc http://localhost:8080/stream"); + eprintln!(" vlc http://localhost:8080/test/stream"); eprintln!(); - eprintln!("For ICY metadata (Now Playing):"); - eprintln!(" vlc --http-continuous --icy-metadata http://localhost:8080/stream"); + eprintln!("VLC automatically requests ICY metadata (Now Playing)"); std::process::exit(1); } @@ -229,8 +229,7 @@ async fn main() -> Result<(), Box> { tracing::info!("Open in VLC:"); tracing::info!(" vlc http://localhost:8080/test/stream"); tracing::info!(""); - tracing::info!("For ICY metadata:"); - tracing::info!(" vlc --http-continuous --icy-metadata http://localhost:8080/test/stream"); + tracing::info!("VLC automatically requests ICY metadata (Now Playing)"); tracing::info!(""); tracing::info!("Metadata endpoint:"); tracing::info!(" curl http://localhost:8080/test/metadata");