|
|
在0.15的几个版本中无问题,是升级到0.16后出现的- ^_^ ~ $ mpd
- daemon: cannot init supplementary groups of user "mishell": Operation not permitted
复制代码- ^_^ ~ $ mpc play
- error: Connection closed by the server
复制代码- ^_^ ~ $ ps aux | grep mpd
- mishell 2415 0.0 0.2 238116 5304 ? Ssl 12:09 0:00 mpd
- mishell 2445 0.0 0.0 101820 864 pts/1 S+ 12:11 0:00 grep --color=auto mpd
复制代码- ^_^ ~ $ cat /etc/group | grep mpd
- audio::18:mishell,mpd
复制代码- ^_^ ~ $ cat .mpdconf
- # Files and directories
- music_directory "/mnt/Media/Music/flac"
- playlist_directory "/home/mishell/.mpd/playlists"
- db_file "/home/mishell/.mpd/mpd.db"
- log_file "/home/mishell/.mpd/mpd.log"
- #error_file "/home/mishell/.mpd/mpd.error"
- pid_file "/home/mishell/.mpd/mpd.pid"
- state_file "/home/mishell/.mpd/mpd.state"
- # General music daemon options
- user "mishell"
- #group "audio"
- bind_to_address "localhost"
- #bind_to_address "/var/lib/mpd/socket"
- port "6600"
- metadata_to_use "artist,title,name"
- # Input
- #input {
- # plugin "curl"
- # proxy "proxy.isp.com:8080"
- # proxy_user "user"
- # proxy_password "password"
- #}
- # Audio Output
- audio_output {
- type "alsa"
- name "My ALSA Device"
- # driver "oss"
- auto_resample "no"
- # device "hw:0,0"
- # device "/dev/oss/oss_hdaudio0/pcm0"
- # format "44100:16:2"
- # mixer_device "default"
- # mixer_device "/dev/oss/oss_hdaudio0/mix0"
- # mixer_device "/dev/dsp"
- mixer_control "Master"
- # mixer_control "Pcm"
- # mixer_index "0"
- }
- #audio_output_format "44100:16:2"
- # Character Encoding
- filesystem_charset "UTF-8"
- #id3v1_encoding "GB2312"
复制代码- ^_^ ~ $ ll .mpd/
- total 200K
- -rw-r--r-- 1 mishell mishell 12K Dec 17 11:50 mpd.db
- -rw-r--r-- 1 mishell mishell 42K Dec 17 12:14 mpd.log
- srw-rw-rw- 1 mishell mishell 0 Dec 15 09:05 mpd.socket
- -rw-r--r-- 1 mishell mishell 183 Dec 17 12:14 mpd.state
- drwxr-xr-x 2 mishell mishell 4.0K Nov 27 15:25 playlists
复制代码 |
|