I'm casting audio with VLC, with the commandline
Code: Select all
cvlc /home/pi/partage/*.mp3 --random --loop --sout '#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100,scodec=none}:http{mux=mp3,dst=:19131/}' --no-sout-all --sout-keep
When I stream with mpd, I have the titlename of the songs in my player
Here is part of mpd config file
Code: Select all
metadata_to_use "title,name"
audio_output {
type "httpd"
name "My HTTP Stream"
encoder "vorbis" # optional, vorbis or lame
port "8000"
bitrate "128" # do not define if quality is defined
format "44100:16:1"
max_clients "0" # optional 0=no limit
}
Thanks !