Closed billy27607 closed 13 years ago
It works for me with alsa. uncomment in forked-daapd.conf in audio section
card = "default"
check that you have a default device (you can specifiy it in you /etc/asound.conf) forked-daapd should be in audio group
good luck
Hmm... I had tried alsa, failed, switched to oss4 failed, now switched back and it works... Go figure... Thanks for verifying, it got me there...
Hi, I'm having the same problem, here is my log :
[2011-04-14 20:31:22] daap: Remote 'Nono' logging in with GUID 11697DE0492B1FBF
[2011-04-14 20:31:22] daap: Could not find requested meta field 'com.apple.itunes.saved-genius'
[2011-04-14 20:31:22] daap: Could not find requested meta field 'dmap.editcommandssupported'
[2011-04-14 20:31:22] daap: Could not find requested meta field 'com.apple.itunes.jukebox-current'
[2011-04-14 20:31:22] db: End of query results
[2011-04-14 20:31:23] db: End of query results
[2011-04-14 20:31:27] db: End of query results
[2011-04-14 20:31:27] ffmpeg: max_analyze_duration reached
[2011-04-14 20:31:27] ffmpeg: Estimating duration from bitrate, this may be inaccurate
[2011-04-14 20:31:27] raop: Failed to retrieve artwork for 'U-Turn (Lili)' (2481); no artwork will be sent
[2011-04-14 20:31:27] laudio: cannot find card '0'[2011-04-14 20:31:27] laudio: function snd_func_card_driver returned error: No such file or directory[2011-04-14 20:31:27] laudio: error evaluating strings[2011-04-14 20:31:27$
[2011-04-14 20:31:27] player: Could not open local audio
[2011-04-14 20:31:27] dacp: Could not start playback
I tried to set the default device but it didn't seemed to work ...
My logs looked exactly like that... I now have it working with ALSA. I am not sure what I did, but I was never successful specifying the device. I got the same messages as you. When I just uncomment the spec line and let it say "default" it works.
How do I add forked-daapd to the audio group? I'm fighting with the same issue.
EDIT: Nevermind, I found the solution. For everyone else:
If sound works for root account but not for a normal user, then you need to add the user to the audio group. This can be done by running the command
Here local audio support does not work! i have no idea how to get it to work...
audio {
nickname = "T64 Server Out"
# Audio device name for local audio output
card = "default"
# Mixer channel to use for volume control - ALSA/Linux only
# If not set, PCM will be used if available, otherwise Master.
#mixer = ""
But there is no "T64 Server Out" in the speaker selection in iTunes/Remote.app....
[2012-01-03 13:39:17] main: Forked Media Server Version 0.19 taking off [2012-01-03 13:39:17] main: mDNS init [2012-01-03 13:39:17] mdns: Avahi state change: Client running [2012-01-03 13:40:09] player: AirTunes device D830622EAD42@Knatterkiste is password-protected [2012-01-03 13:40:09] player: No password given in config for AirTunes device D830622EAD42@Knatterkiste [2012-01-03 13:40:09] player: AirTunes device D830622EAD42@Knatterkiste is password-protected [2012-01-03 13:40:09] player: No password given in config for AirTunes device D830622EAD42@Knatterkiste [2012-01-03 13:40:09] player: AirTunes device 28E7CFD0E067@Apple TV is password-protected [2012-01-03 13:40:09] player: No password given in config for AirTunes device 28E7CFD0E067@Apple TV [2012-01-03 13:40:09] player: AirTunes device 28E7CFD0E067@Apple TV is password-protected
Any Idea?
PS.: sorry for that big/small fonts... i have no idea how that works.... ;)
sudo adduser daapd audio
worked for me for local audio error laudio: Could not open playback device: No such file or directory
! Tnx @tristan-k
I cannot get local audio to work with forked-daapd. I can play songs locally through cli and graphical players, but not with forked-daapd. I can play through an airport express that I have. the Daapd account is in the audio group. I have tried with both alsa and oss4. The messages are similar...
[2011-03-18 16:09:57] laudio: cannot find card '0'[2011-03-18 16:09:57] laudio: function snd_func_card_driver returned error: No such file or directory[2011-03-18 16:09:57] laudio: error evaluating strings[2011-03-18 16:09:57] laudio: function snd_func_concat returned error: No such file or directory[2011-03-18 16:09:57] laudio: error evaluating name[2011-03-18 16:09:57] laudio: function snd_func_refer returned error: No such file or directory[2011-03-18 16:09:57] laudio: Evaluate error: No such file or directory[2011-03-18 16:09:57] laudio: Unknown PCM default[2011-03-18 16:09:57] laudio: Could not open playback device: No such file or directory
2011-03-18 16:09:57] player: Could not open local audio [2011-03-18 16:09:57] dacp: Could not start playback
Does anyone have any suggestions? [