Temat: muzyka openwrt
Mam postawione openwrt na terminalu , konkretnie na NetVoyager LX-1010
korzystając z poradnika > http://eko.one.pl/?p=openwrt-audio , chciałem postawić sobie radio internetowe czy odtwarzacz mp3. Rozumiem że mam kartę audio wbudowaną już (bo przecież jest to mini pc z wyjściami audio i mikrofon)
wiec zrobiłem tylko :
opkg install mpd-full mpc
nano /etc/mpd.conf
dodałem co gdzie ma być, utworzyłem foldery :
music_directory "/mnt/sda1/music"
playlist_directory "/mnt/sda1/playlists"
db_file "/mnt/sda1/database"
pid_file "/mnt/sda1/pid"
state_file "/mnt/sda1/state"
input {
plugin "curl"
}
mixer_type "software"
/etc/init.d/mpd start
BusyBox v1.19.4 (2013-03-06 20:07:44 UTC) multi-call binary.
Usage: nice [-n ADJUST] [PROG ARGS]
Change scheduling priority, run PROG
-n ADJUST Adjust priority by ADJUST
listen: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
Failed to load database: Database corrupted
database: db file "/mnt/sda1/database" is not a regular fileA jak usunę foldery, zostawie tylko music i playlists:
/etc/init.d/mpd start
BusyBox v1.19.4 (2013-03-06 20:07:44 UTC) multi-call binary.
Usage: nice [-n ADJUST] [PROG ARGS]
Change scheduling priority, run PROG
-n ADJUST Adjust priority by ADJUST
listen: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
Failed to load database: Failed to open database file "/tmp/MP3/database": No such file or directory
output: No "audio_output" defined in config file
output: Attempt to detect audio output device
output: Attempting to detect a alsa audio device
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM default
alsa: Error opening default ALSA device: No such file or directory
output: Attempting to detect a oss audio device
oss: Error opening OSS device "/dev/dsp": No such file or directory
oss: Error opening OSS device "/dev/sound/dsp": No such file or directory
output: Unable to detect an audio deviceCzyli rozumiem że nie wykrywa wbudowanej karty audio, jak mogę sobie z tym poradzić?