Thread: mpd + ncmpcpp dont work
hello , merry christmas
had install lubuntu new works perfect when try setup mpd + ncmcpp wont work![]()
i'am sad
steps have done
music stored in partiton called music
/media/music #if linux ntfs partition
setup mpd system wide not user
here fstab (i hope i'have done right)
code:sudo blkid /dev/sda5: label="music" uuid="464c96747afb6eb9" type="ntfs"code:shaft@shaft:~$ sudo cat /etc/fstab # /etc/fstab: static file system information. # # use 'blkid -o value -s uuid' print universally unique identifier # device; may used uuid= more robust way name # devices works if disks added , removed. see fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 # / on /dev/sda9 during installation uuid=2b42ec22-4d7b-4163-bdd8-78c7a151f6e7 / ext4 errors=remount-ro 0 1 # /home on /dev/sda11 during installation uuid=1cb9690d-5fb1-44e9-ba88-86e04ba924f0 /home ext4 defaults 0 2 # swap on /dev/sda10 during installation uuid=8a7e5f02-73bc-44a7-a114-97cfa446176c none swap sw 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 # eingehängte music partition uuid=464c96747afb6eb9 /media/music ntfs rw,auto,users,nls=utf8,umask=007,gid=46 0 0code:sudo mkdir -p /media/musiccode:sudo mount -acode:shaft@shaft:~$ cat /var/lib/mpd/tag_cache info_begin format: 1 mpd_version: 0.16.1 fs_charset: utf-8 tag: artist tag: artistsort tag: album tag: albumartist tag: albumartistsort tag: title tag: track tag: name tag: genre tag: date tag: composer tag: performer tag: disc tag: musicbrainz_artistid tag: musicbrainz_albumid tag: musicbrainz_albumartistid tag: musicbrainz_trackid info_endcode:shaft@shaft:~$ sudo service mpd restart * stopping music player daemon mpd [ ok ] * starting music player daemon mpdcode:shaft@shaft:~$ sudo sed '/^#\|^$/d' /etc/mpd.conf music_directory "/media/music/" playlist_directory "/var/lib/mpd/playlists" db_file "/var/lib/mpd/tag_cache" log_file "/var/log/mpd/mpd.log" pid_file "/var/run/mpd/pid" state_file "/var/lib/mpd/state" user "mpd" bind_to_address "localhost" input { plugin "curl" } #type "pulse" #name "mpd pulseaudio ausgabe" #server "pulseaudio" # optional #sink "alsa_output" # optional audio_output { type "alsa" name "my alsa device" device "hw:0,0" # optional format "44100:16:2" # optional mixer_device "default" # optional mixer_control "pcm" # optional mixer_index "0" # optional } filesystem_charset "utf-8" id3v1_encoding "utf-8"code:shaft@shaft:~$ ls -l /etc/mpd.conf -rw-r----- 1 mpd audio 12616 2011-12-07 18:27 /etc/mpd.confcode:shaft@shaft:/var/lib/mpd$ ls -la insgesamt 36 drwxr-xr-x 5 mpd audio 4096 2011-12-07 18:00 . drwxr-xr-x 55 root root 4096 2011-12-07 16:49 .. -rw------- 1 mpd audio 16 2011-12-07 18:00 .esd_auth drwxr-xr-x 2 mpd audio 4096 2011-02-02 12:50 music drwxr-xr-x 2 mpd audio 4096 2011-02-02 12:50 playlists drwx------ 2 mpd audio 4096 2011-12-07 18:35 .pulse -rw------- 1 mpd audio 256 2011-12-07 17:41 .pulse-cookie -rw-r--r-- 1 mpd audio 183 2011-12-07 18:46 state -rw-r--r-- 1 mpd audio 344 2011-12-07 16:50 tag_cachecode:shaft@shaft:~$ ls -la /media/music/80\'/80\'s_night_djcollections/01 insgesamt 27320 drwxrwx--- 1 root plugdev 12288 2011-11-22 12:54 . drwxrwx--- 1 root plugdev 4096 2011-02-27 21:13 .. -rwxrwx--- 2 root plugdev 4950144 2007-03-08 11:30 16_steve_arrington_feel_so_real.mp3 -rwxrwx--- 2 root plugdev 3442816 2007-03-08 11:33 17_rick_astley_never_gonna_give_you_up.mp3 -rwxrwx--- 2 root plugdev 3289216 2007-03-08 12:15 18_rick_astley_together_for_ever.mp3 -rwxrwx--- 1 root plugdev 4031215 2011-11-20 18:42 abba_super_trouper.mp3 -rwxrwx--- 1 root plugdev 4538496 2011-11-20 19:27 alphaville_big_in_japan.mp3 -rwxrwx--- 1 root plugdev 3796206 2011-11-21 10:32 aneka_japanese_boy.mp3here ncmpcpp configcode:sudo usermod -ag plugdev mpd
code:shaft@shaft:/var/lib/mpd$ cat /home/shaft/.ncmpcpp/config #################################################### ## example configuration file, copy ## ## ~/.ncmpcpp/config , set preferences ## #################################################### # ##### connection settings ##### # ## set in order make tag editor , renaming files work # mpd_host = "localhost" # mpd_port = "6600" # mpd_music_dir = "/media/music" # mpd_connection_timeout = "5" # mpd_crossfade_time = "5" # mpd_communication_mode = "notifications" (polling/notifications) # ##### music visualizer ##### ## ## note: in order make music visualizer work you'll ## need use mpd fifo output, format parameter ## has set 44100:16:1. example configuration: ## (it has put mpd.conf) ## ## audio_output { ## type "fifo" ## name "my fifo" ## path "/tmp/mpd.fifo" ## format "44100:16:1" ## } ## #code:shaft@shaft:~/arbeitsfläche/christmas$ sudo cat /var/log/mpd/mpd.log dec 08 10:50 : state_file: failed open /var/lib/mpd/state: no such file or directory dec 08 10:58 : output: failed enable "mpd pulseaudio ausgabe" [pulse]: pa_context_connect() has failed: connection refused dec 08 11:03 : output: failed enable "mpd pulseaudio ausgabe" [pulse]: pa_context_connect() has failed: connection refused dec 08 11:04 : output: failed enable "mpd pulseaudio ausgabe" [pulse]: pa_context_connect() has failed: connection refused dec 08 11:09 : output: failed enable "mpd pulseaudio ausgabe" [pulse]: pa_context_connect() has failed: connection refused dec 08 11:26 : output: failed enable "mpd pulseaudio ausgabe" [pulse]: pa_context_connect() has failed: connection refused dec 08 11:27 : output: failed enable "mpd pulseaudio ausgabe" [pulse]: pa_context_connect() has failed: connection refused dec 08 11:38 : output: failed enable "mpd pulseaudio ausgabe" [pulse]: pa_context_connect() has failed: connection refused dec 08 11:38 : output: failed enable "mpd pulseaudio ausgabe" [pulse]: pa_context_connect() has failed: connection refused dec 08 11:41 : output: failed enable "mpd pulseaudio ausgabe" [pulse]: pa_context_connect() has failed: connection refusedi hope find mistake , mecode:shaft@shaft:/var/lib/mpd$ id mpd uid=107(mpd) gid=29(audio) gruppen=29(audio),46(plugdev)
when start ncmpcpp not find when press 3 music files
![]()
you said new lubuntu install. did install pulseaudio?
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Multimedia Software [SOLVED] mpd + ncmpcpp dont work
Ubuntu
Comments
Post a Comment