Hi
:thumbup
Indeed it may be used as this way.
So I assume you set your mpd server like this :
- open the file /direct-usb/mpd/mpd.conf
- comment all the following lines (by adding a #)
- Code: Select all
audio_output {
type "alsa"
name "USB audio card"
device "hw:0"
mixer_control "Speaker"
}
so
- Code: Select all
# audio_output {
# type "alsa"
# name "USB audio card"
# device "hw:0"
# mixer_control "Speaker"
#}
- add these new settings
- Code: Select all
# optional output to stream music to local device (phone, tablet, pc,...)
audio_output {
type "httpd"
name "Local Stream"
encoder "vorbis"
#encoder "lame" # comment vorbis and use lame for iOS support
port "7000"
quality "5.0" # do not define if bitrate is defined
#bitrate "128" # do not define if quality is defined
#format "44100:16:1"
always_on "yes" # prevent MPD from disconnecting all listeners when playback
tags "yes" # httpd supports sending tags to listening streams.
}
Notes :
- set an unused port by the firmware, port 7000 should not be used by the firmware. You can check it by using this command
- Code: Select all
netstat -apn
- if you have a too cpu usage high level you may decrease the quality or birate value