Fix incorrect VLC ICY metadata documentation

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).
This commit is contained in:
Claude
2025-11-11 23:28:24 +00:00
parent aceb9ab2a1
commit 5c29f55942

View File

@@ -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<dyn std::error::Error>> {
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<dyn std::error::Error>> {
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");