Hi Niels,
What are your files format? If they are mp3, it won't be played because
mpd is built without mp3 support in release images.
You would have to build your own mpd (and libmad) with
CONFIG_BUILD_PATENTED flag.
On Sun, 3 Jul 2011, Niels Felsted Thorsen wrote:
Hi
I'm trying to setup mpd and mpc/ncmpc to play music on my
nanonote, but no succes so far.
mpd seems to start up ok, but it can't find any music files, and I
end up with an empty database.
I'm using the latest image from 2011-05-28.
Here is the relevant lines from my mpd.conf
,----[ /etc/mpd.conf ]
| music_directory "/data/music"
| playlist_directory "~/.mpd/playlists"
| db_file "~/.mpd/database"
| log_fil "~/.mpd/log"
| pid_file "~/.mpd/pid"
| state_file "~/.mpd/state"
| log_level "verbose"
`----
All the files and directories exists, and are owned and readable by
root, including the music files.
After running "mpc update" to update the database I can only se the
directories under /data/music, but they are all empty. Browsing with
ncmpc shows no files.
Here is the log:
Jul 03 14:27 : state_file: Loading state file /root/.mpd/state
Jul 03 14:27 : client: [0] opened from 127.0.0.1:35422
Jul 03 14:27 : client: [0] process command "lsinfo """
Jul 03 14:27 : client: [0] command returned 0
Jul 03 14:27 : client: [0] closed
Jul 03 14:27 : client: [1] opened from 127.0.0.1:35423
Jul 03 14:27 : client: [1] process command list
Jul 03 14:27 : client: command_process_list: process command "update """
Jul 03 14:27 : update: spawned thread for update job id 1
Jul 03 14:27 : client: command_process_list: command returned 0
Jul 03 14:27 : update: starting
Jul 03 14:27 : client: [1] process command list returned 0
Jul 03 14:27 : client: [1] process command list
Jul 03 14:27 : client: command_process_list: process command "status"
Jul 03 14:27 : mixer: Failed to read mixer for 'default detected output': no
such mixer control: PCM
Jul 03 14:27 : client: command_process_list: command returned 0
Jul 03 14:27 : client: command_process_list: process command "currentsong"
Jul 03 14:27 : client: command_process_list: command returned 0
Jul 03 14:27 : client: [1] process command list returned 0
Jul 03 14:27 : client: [1] closed
Jul 03 14:27 : update: finished
Jul 03 14:27 : client: [2] opened from 127.0.0.1:35424
Jul 03 14:27 : client: [2] process command "lsinfo """
Jul 03 14:27 : client: [2] command returned 0
Jul 03 14:27 : client: [2] closed
Jul 03 14:27 : state_file: Saving state file /root/.mpd/state
Jul 03 14:27 : listen: listen_global_finish called
Jul 03 14:27 : db_finish took 0.000000 seconds
--
Niels
_______________________________________________
Qi Hardware Discussion List
Mail to list (members only): [email protected]
Subscribe or Unsubscribe:
http://lists.en.qi-hardware.com/mailman/listinfo/discussion
_______________________________________________
Qi Hardware Discussion List
Mail to list (members only): [email protected]
Subscribe or Unsubscribe:
http://lists.en.qi-hardware.com/mailman/listinfo/discussion