Mpd and ncmpcpp

well I installed ncmpcpp, but when ever I try to run it I get this:
Cannot connect to mpd: problems connecting to "localhost" on port 6600: Connection refused
I have no clue what mpd was/is, so I installed it.. and ran "mpd"
unable to bind port 6600: Address already in use
maybe MPD is still running?
I am not familiar with mpd so I dont know what to do... I tried searching around but didnt find anything that solved my problem. Thankshave
Last edited by k0rfain (2008-09-29 10:09:09)

i re-edited my conf file,
# An example configuration file for MPD
# See the mpd.conf man page for a more detailed description of each parameter.
######################## REQUIRED PATHS ########################
#music_directory "/home/k0rfain/Music"
#playlist_directory "~/playlists"
#db_file "~/mpd.db"
#log_file "~/mpd.log"
#error_file "~/mpd.error"
music_directory "/home/k0rfain/Music"
playlist_directory "~/playlists"
db_file "~/mpd.db"
log_file "~/mpd.log"
error_file "~/mpd.error"
# Note: ~ is the home directory of user set in the "user" option
######################## OPTIONAL PATHS ########################
# If you wish to use mpd --kill to stop MPD, then you must
# specify a file here in which to store MPD's process ID.
pid_file "~/.mpd/mpd.pid"
pid_file "/var/run/mpd/mpd.pid"
# If specified, MPD will save its current state (playlist,
# current song, playing/paused, etc.) at exit. This will be
# used to restore the session the next time it is run.
state_file "~/.mpd/mpdstate"
state_file "/var/lib/mpd/mpdstate"
######################## DAEMON OPTIONS ########################
# If started as root, MPD will drop root privileges and run as
# this user instead. Otherwise, MPD will run as the user it was
# started by. If left unspecified, MPD will not drop root
# privileges at all (not recommended).
user "k0rfain"
# The address and port to listen on.
bind_to_address "127.0.0.1"
bind_to_address "any"
port "6600"
# Controls the amount of information that is logged. Can be
# "default", "secure", or "verbose".
#log_level "default"
########################## PERMISSIONS #########################
# MPD can require that users specify a password before using it.
# You may specify one ore more here, along with what users who
# log in with that password are allowed to do.
#password "password@read,add,control,admin"
# Specifies what permissions a user who has not logged in with a
# password has. By default, all users have full access to MPD
# if no password is specified above, or no access if one or
# more passwords are specified.
#default_permissions "read,add,control,admin"
########################## AUDIO OUTPUT ########################
# MPD supports many audio output types, as well as playing
# through multiple audio outputs at the same time. You can
# specify one or more here. If you don't specify any, MPD will
# automatically scan for a usable audio output.
# See <http://mpd.wikia.com/wiki/Configuration#Audio_Outputs>
# for examples of other audio outputs.
# An example of an ALSA output:
#audio_output {
# type "alsa"
# name "My ALSA Device"
# device "hw:0,0" # optional
# format "44100:16:2" # optional
# An example of an OSS output:
#audio_output {
# type "oss"
# name "My OSS Device"
# device "/dev/dsp" # optional
# format "44100:16:2" # optional
# An example of a shout output (for streaming to Icecast):
#audio_output {
# type "shout"
# name "My Shout Stream"
# host "localhost"
# port "8000"
# mount "/mpd.ogg"
# password "hackme"
# quality "5.0"
# bitrate "128"
# format "44100:16:1"
# user "source" # optional
# description "My Stream Description" # optional
# genre "jazz" # optional
# public "no" # optional
# Force all decoded audio to be converted to this format before
# being passed to the audio outputs.
#audio_output_format "44100:16:2"
############################# MIXER ############################
# MPD needs to know what mixer settings to change when you
# adjust the volume. If you don't specify one here, MPD will
# pick one based on which ones it was compiled with support for.
# An example for controlling an ALSA mixer:
#mixer_type "alsa"
#mixer_device "default"
#mixer_control "PCM"
# An example for controlling an OSS mixer:
#mixer_type "oss"
#mixer_device "/dev/mixer"
#mixer_control "PCM"
# If you want MPD to adjust the volume of audio sent to the
# audio outputs, you can tell it to use the software mixer:
#mixer_type "software"
######################### NORMALIZATION ########################
# Specifies the type of ReplayGain to use. Can be "album" or
# "track". ReplayGain will not be used if not specified. See
# <http://www.replaygain.org> for more details.
#replaygain "album"
# Sets the pre-amp used for files that have ReplayGain tags.
#replaygain_preamp "0"
# Enable on the fly volume normalization. This will cause the
# volume of all songs played to be adjusted so that they sound
# as though they are of equal loudness.
#volume_normalization "no"
########################### BUFFERING ##########################
# The size of the buffer containing decoded audio. You probably
# shouldn't change this.
#audio_buffer_size "2048"
# How much of the buffer to fill before beginning to play.
#buffer_before_play "0%"
# Similar options for the HTTP stream buffer. If you hear
# skipping while playing HTTP streams, you may wish to increase
# these.
#http_buffer_size "128"
#http_prebuffer_size "25%"
########################### HTTP PROXY #########################
# Specifies the HTTP proxy to use for playing HTTP streams.
#http_proxy_host "proxy.isp.com"
#http_proxy_port "8080"
#http_proxy_user "user"
#http_proxy_password "password"
############################# LIMITS ###########################
# These are various limits to prevent MPD from using too many
# resources. You should only change them if they start
# restricting your usage of MPD.
#connection_timeout "60"
#max_connections "5"
#max_playlist_length "16384"
#max_command_list_size "2048"
#max_output_buffer_size "8192"
###################### CHARACTER ENCODINGS #####################
# If file or directory names do not display correctly, then you
# may need to change this. In most cases it should be either
# "ISO-8859-1" or "UTF-8". You must recreate your database
# after changing this (use mpd --create-db).
#filesystem_charset "ISO-8859-1"
# The encoding that ID3v1 tags should be converted from.
#id3v1_encoding "ISO-8859-1"
######################### OTHER OPTIONS ########################
# The metadata types MPD will recognize.
#metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
# Enable this if you wish to use your MPD created playlists in
# other music players.
#save_absolute_paths_in_playlists "no"
i also did what kclive18 said, and when i enter /etc/rc.d/mpd start, i get
:: Starting Music Player Daemon [FAIL]

Similar Messages

  • How to start and stop mpd and ncmpcpp together?

    I have got the setup of mpd+ncmpcpp working together. However, to start, I first have to start mpd in the console and then ncmpcpp. Also, to stop, I have to quit ncmpcpp (pressing q) and then kill mpd (using mpd --kill).
    I was just wondering if there is a way out to make the whole process easy. I wish to accomplish:
    1. Start mpd followed by ncmpcpp from a ".desktop" file which would show up in the menu.
    2. Stop mpd when you quit ncmpcpp.
    Any comments would be much appreciated.

    I think if that is the functionality you are looking for, then maybe a different music program might suit your needs better.  I believe that cmus functions in that way.
    Part of the appeal of mpd is that it runs as a daemon, so you can connect from it anywhere, be it locally or remotely.  For instance, I can connect to my server's running instance of mpd and listen and play music from that machine.  Or I can connect to my local instance of mpd and listen to music from this machine.

  • [SOLVED]Serious frustrations with MPD-Pulse and ncmpcpp

    There are a couple of problems I'm having.  First and foremost, I can't access any sort of flash video without mpd stopping and not working until a full system reboot, I've tried "sudo mpd --kill && sudo mpd --no-create-db" as well as "sudo /etc/rc.d/mpd restart" and they don't work.  I've noticed several people with this problem while using alsa, I've tried normal mpd and tried some of the suggestions that I found for mpd.conf but to no avail and got the added bonus of play on startup which annoys me (mpd-pulse for whatever reason doesn't do that) so I was wondering if there exist any sort of work around for mpd-pulse or pulse in general (I'll take whatever).
    Moving onto the more minor problem with ncmpcpp, there was an update today and upon installing I've noticed a serious decrease in speed, particularly when scrolling through the library and stumbling upon a certain artist that has a lot of albums/songs, but also when first playing a song after a system boot ncmpcpp will wait ~6 seconds before playing any sound (while the progress bar for the song is moving forward).  The first issue is more important as I have several discographies and going from one end of my library to another is rather difficult at present, but the latter is still really annoying.
    I'm mainly trying to see if any one has a suggestion for my mpd-pulse issues with flash, and I'm curious if the ncmpcpp things are something everyone is experiencing or if it's just me.
    Thank you in advance,
    --Wes
    Last edited by Wesman26 (2010-06-19 03:52:55)

    About flash:
    If I'm correct in saying that all audio is out after using flash in a browser, and nothing works until the browser is closed, then the problem is indeed OSS. Here's what you do: before starting any audio applications, (as root)
    # rmmod snd-pcm-oss
    # rmmod snd-mixer-oss
    # rmmod snd-seq-oss
    Add these into your /etc/rc.conf module list, with a ! before them (this blacklists them):
    MODULES=( <...other modules...> !snd_pcm_oss !snd_seq_oss)
    I found this thread because of ncmpcpp is gone really slow for me too. Gonna have to try this unix socket stuff. I don't really understand it if I'm honest B-)

  • [SOLVED] mpd and sonata issue

    Hi again!
    I've installed mpd and sonata but i don't see my library in sonata .
    This is my /etc/mpd.conf file
    # An example configuration file for MPD
    # See the mpd.conf man page for a more detailed description of each parameter.
    # Files and directories #######################################################
    # This setting controls the top directory which MPD will search to discover the
    # available audio files and add them to the daemon's online database. This
    # setting defaults to the XDG directory, otherwise the music directory will be
    # be disabled and audio files will only be accepted over ipc socket (using
    # file:// protocol) or streaming files over an accepted protocol.
    music_directory "/home/andreas/Downloads"
    # This setting sets the MPD internal playlist directory. The purpose of this
    # directory is storage for playlists created by MPD. The server will use
    # playlist files not created by the server but only if they are in the MPD
    # format. This setting defaults to playlist saving being disabled.
    #playlist_directory "~/.mpd/playlists"
    # This setting sets the location of the MPD database. This file is used to
    # load the database at server start up and store the database while the
    # server is not up. This setting defaults to disabled which will allow
    # MPD to accept files over ipc socket (using file:// protocol) or streaming
    # files over an accepted protocol.
    db_file "/var/lib/mpd/mpd.db"
    # These settings are the locations for the daemon log files for the daemon.
    # These logs are great for troubleshooting, depending on your log_level
    # settings.
    # The special value "syslog" makes MPD use the local syslog daemon. This
    # setting defaults to logging to syslog, otherwise logging is disabled.
    log_file "/var/log/mpd/mpd.log"
    # This setting sets the location of the file which stores the process ID
    # for use of mpd --kill and some init scripts. This setting is disabled by
    # default and the pid file will not be stored.
    pid_file "/var/run/mpd/mpd.pid"
    # This setting sets the location of the file which contains information about
    # most variables to get MPD back into the same general shape it was in before
    # it was brought down. This setting is disabled by default and the server
    # state will be reset on server start up.
    state_file "/var/lib/mpd/mpdstate"
    # General music daemon options ################################################
    # This setting specifies the user that MPD will run as. MPD should never run as
    # root and you may use this setting to make MPD change its user ID after
    # initialization. This setting is disabled by default and MPD is run as the
    # current user.
    user "mpd"
    # This setting sets the address for the daemon to listen on. Careful attention
    # should be paid if this is assigned to anything other then the default, any.
    # This setting can deny access to control of the daemon.
    # For network
    #bind_to_address "any"
    # And for Unix Socket
    #bind_to_address "~/.mpd/socket"
    # This setting is the TCP port that is desired for the daemon to get assigned
    # to.
    #port "6600"
    # This setting controls the type of information which is logged. Available
    # setting arguments are "default", "secure" or "verbose". The "verbose" setting
    # argument is recommended for troubleshooting, though can quickly stretch
    # available resources on limited hardware storage.
    #log_level "default"
    # If you have a problem with your MP3s ending abruptly it is recommended that
    # you set this argument to "no" to attempt to fix the problem. If this solves
    # the problem, it is highly recommended to fix the MP3 files with vbrfix
    # (available from <http://www.willwap.co.uk/Programs/vbrfix.php>), at which
    # point gapless MP3 playback can be enabled.
    #gapless_mp3_playback "yes"
    # This setting enables MPD to create playlists in a format usable by other
    # music players.
    #save_absolute_paths_in_playlists "no"
    # This setting defines a list of tag types that will be extracted during the
    # audio file discovery process. Optionally, 'comment' can be added to this
    # list.
    #metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
    # Symbolic link behavior ######################################################
    # If this setting is set to "yes", MPD will discover audio files by following
    # symbolic links outside of the configured music_directory.
    #follow_outside_symlinks "yes"
    # If this setting is set to "yes", MPD will discover audio files by following
    # symbolic links inside of the configured music_directory.
    #follow_inside_symlinks "yes"
    # Zeroconf / Avahi Service Discovery ##########################################
    # If this setting is set to "yes", service information will be published with
    # Zeroconf / Avahi.
    #zeroconf_enabled "yes"
    # The argument to this setting will be the Zeroconf / Avahi unique name for
    # this MPD server on the network.
    #zeroconf_name "Music Player"
    # Permissions #################################################################
    # If this setting is set, MPD will require password authorization. The password
    # can setting can be specified multiple times for different password profiles.
    #password "password@read,add,control,admin"
    # This setting specifies the permissions a user has who has not yet logged in.
    #default_permissions "read,add,control,admin"
    # Input #######################################################################
    input {
    plugin "curl"
    # proxy "proxy.isp.com:8080"
    # proxy_user "user"
    # proxy_password "password"
    # Audio Output ################################################################
    # MPD supports various audio output types, as well as playing through multiple
    # audio outputs at the same time, through multiple audio_output settings
    # blocks. Setting this block is optional, though the server will only attempt
    # autodetection for one sound card.
    # See <http://mpd.wikia.com/wiki/Configuration#Audio_Outputs> for examples of
    # other audio outputs.
    # An example of an ALSA output:
    #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
    # An example of an OSS output:
    #audio_output {
    # type "oss"
    # name "My OSS Device"
    ## device "/dev/dsp" # optional
    ## format "44100:16:2" # optional
    ## mixer_device "/dev/mixer" # optional
    ## mixer_control "PCM" # optional
    # An example of a shout output (for streaming to Icecast):
    #audio_output {
    # type "shout"
    # encoding "ogg" # optional
    # name "My Shout Stream"
    # host "localhost"
    # port "8000"
    # mount "/mpd.ogg"
    # password "hackme"
    # quality "5.0"
    # bitrate "128"
    # format "44100:16:1"
    ## protocol "icecast2" # optional
    ## user "source" # optional
    ## description "My Stream Description" # optional
    ## genre "jazz" # optional
    ## public "no" # optional
    ## timeout "2" # optional
    # An example of a httpd output (built-in HTTP streaming server):
    #audio_output {
    # type "httpd"
    # name "My HTTP Stream"
    # encoder "vorbis" # optional, vorbis or lame
    # port "8000"
    ## quality "5.0" # do not define if bitrate is defined
    # bitrate "128" # do not define if quality is defined
    # format "44100:16:1"
    # An example of a pulseaudio output (streaming to a remote pulseaudio server)
    #audio_output {
    # type "pulse"
    # name "My Pulse Output"
    ## server "remote_server" # optional
    ## sink "remote_server_sink" # optional
    ## Example "pipe" output:
    #audio_output {
    # type "pipe"
    # name "my pipe"
    # command "aplay -f cd 2>/dev/null"
    ## Or if you're want to use AudioCompress
    # command "AudioCompress -m | aplay -f cd 2>/dev/null"
    ## Or to send raw PCM stream through PCM:
    # command "nc example.org 8765"
    # format "44100:16:2"
    ## An example of a null output (for no audio output):
    #audio_output {
    # type "null"
    # name "My Null Output"
    # This setting will change all decoded audio to be converted to the specified
    # format before being passed to the audio outputs. By default, this setting is
    # disabled.
    #audio_output_format "44100:16:2"
    # If MPD has been compiled with libsamplerate support, this setting specifies
    # the sample rate converter to use. Possible values can be found in the
    # mpd.conf man page or the libsamplerate documentation. By default, this is
    # setting is disabled.
    #samplerate_converter "Fastest Sinc Interpolator"
    # Volume control mixer ########################################################
    # These are the global volume control settings. By default, this setting will
    # be detected to the available audio output device, with preference going to
    # hardware mixing. Hardware and software mixers for individual audio_output
    # sections cannot yet be mixed.
    # An example for controlling an ALSA, OSS or Pulseaudio mixer; If this
    # setting is used other sound applications will be affected by the volume
    # being controlled by MPD.
    #mixer_type "hardware"
    # An example for controlling all mixers through software. This will control
    # all controls, even if the mixer is not supported by the device and will not
    # affect any other sound producing applications.
    #mixer_type "software"
    # This example will not allow MPD to touch the mixer at all and will disable
    # all volume controls.
    #mixer_type "disabled"
    # Normalization automatic volume adjustments ##################################
    # This setting specifies the type of ReplayGain to use. This setting can have
    # the argument "album" or "track". See <http://www.replaygain.org> for more
    # details. This setting is disabled by default.
    #replaygain "album"
    # This setting sets the pre-amp used for files that have ReplayGain tags. By
    # default this setting is disabled.
    #replaygain_preamp "0"
    # This setting enables on-the-fly normalization volume adjustment. This will
    # result in the volume of all playing audio to be adjusted so the output has
    # equal "loudness". This setting is disabled by default.
    #volume_normalization "no"
    # MPD Internal Buffering ######################################################
    # This setting adjusts the size of internal decoded audio buffering. Changing
    # this may have undesired effects. Don't change this if you don't know what you
    # are doing.
    #audio_buffer_size "2048"
    # This setting controls the percentage of the buffer which is filled before
    # beginning to play. Increasing this reduces the chance of audio file skipping,
    # at the cost of increased time prior to audio playback.
    #buffer_before_play "10%"
    # Resource Limitations ########################################################
    # These settings are various limitations to prevent MPD from using too many
    # resources. Generally, these settings should be minimized to prevent security
    # risks, depending on the operating resources.
    #connection_timeout "60"
    #max_connections "10"
    #max_playlist_length "16384"
    #max_command_list_size "2048"
    #max_output_buffer_size "8192"
    # Character Encoding ##########################################################
    # If file or directory names do not display correctly for your locale then you
    # may need to modify this setting. After modification of this setting mpd
    # --create-db must be run to change the database.
    #filesystem_charset "UTF-8"
    # This setting controls the encoding that ID3v1 tags should be converted from.
    #id3v1_encoding "ISO-8859-1"
    I've add the mpd daemon in rc.conf and i've chosen my directory /home/andreas/Downloads in sonata .Also i put mpd:ALL to etc/hosts.allow
    Sonata connects fine to the server but i can't see my libary .
    What might be the issue ?
    Thanks again
    Last edited by shak (2010-06-10 11:27:13)

    If you continue to have issues with permissions, the solution i use is to simply run MPD as my normal user, storing all the necessary directories and files under ~/.mpd and just pointing it at the config file I stuck there:
    $ mpd ~/.mpd/config
    No more permissions issues! There's an explanation of this in the wiki.

  • Questions about mpd and sonata ram usage

    Hi again!
    I'm very impressed with mpd and i really love the sonata client with it's cover art , lyrics fetching features .
    I've noticed that mpd uses about 13 mb ram and sonata 16 mb of ram. I have about 6 albums in my library .
    I was just wondering if it is normal for mpd and sonata to use that ram .
    I have enough ram about 1gb so it's not an issue , i'm just curious if this is normal
    Also i've noticed that with mpd and sonata the cpu usage is much lower than with audacious when playing files , but the ram usage with mpd is higher
    Thanks again
    Last edited by shak (2010-06-10 12:15:25)

    Hmmm...I have Arch64 with a 15,000 collection, MPD uses 9.8MB and Sonata uses 52.5.MB, whether there are songs in the playlist or not.

  • Mpd and libmodplug issue

    When I am doing an mpc --update, mpd constantly segfaults when it tries to add my mod and sid-files.
    mpd[4276]: segfault at 0 ip b7bcfc92 sp b46f6900 error 4 in libmodplug.so.0.0.0[b7b98000+45000]
    Anyone else recognizes this problem?

    If you continue to have issues with permissions, the solution i use is to simply run MPD as my normal user, storing all the necessary directories and files under ~/.mpd and just pointing it at the config file I stuck there:
    $ mpd ~/.mpd/config
    No more permissions issues! There's an explanation of this in the wiki.

  • Mpd and pulseaudio

    Hello all,
    I am trying (so far unsuccessfully) to set up mpd with pulseaudio. I enabled mpd.service, mpd is started when I boot up. But as soon as I try playing something back with (g)mpc, I get the well known "problems opening audio device".
    Before anyone asks, both mpd and pulseaudio are running under my own UID. The problem seems to be that mpd does not know how to talk to the session bus that is used by pulseaudio. This makes sense, as mpd is launched before the session bus (which is launched by startx). Therefore, mpd does not know the correct DBUS_SESSION_BUS_ADDRESS and can't connect. Is there anyway to fix this behaviour? I would like to have the possibility to launch a dbus session bus before I launch mpd via systemd in such a way that the value of DBUS_SESSION_BUS_ADDRESS is broadcasted to the other daemons.
    x2b

    [jacob@BlackWater ~]$ mpd
    listen: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
    this is not actually an error. It just says it bound to your ipv6 interface before it could be bound to ipv4 interface. Define your binding statically in mpd.conf with
    bind_to_address "127.0.0.1"
    daemon: cannot init supplementary groups of user "jacob": Operation not permitted
    you are running mpd as user, altho you should be running it as root
    if you want to run it as user, make sure to remove the user line from mpd.conf
    problems opening audio device
    I can only guess here. You are saying you have pulseaudio. Did you configure the pulseaudio output in mpd.conf?
    if you do so, make sure to comment out the alsa output. If you want to use the alsa output with your pulseaudio server, make sure you have pulseaudio-alsa installed
    Last edited by Rasi (2011-05-04 18:59:49)

  • MPD and flash i conflict

    I have this litle problem with mpd and flash.When i am listening to music from mpd flash dosn`t work.when i have luck just sound isn`t working.
    But if i`m watching videos on youtube or have a chat msg on facebook mpd dosn`t work but after 10 - 15 minutes like nothing happend

    Hi there,
    I am a long time Camino user and today decided I wanted to try Safari again since I ran across a page that Camino didn't show the images on, but Safari did. So I was at Flickr and was looking at stuff a friend had on their account including a short video. But I couldn't play it saying I needed to update Flash. OK so I download and install the Flash plug in. Still no go, but works fine in Camino.
    Anyway, to make a long story short, from another post here someone said to check that you had in the HD>Library>Internet Plug-ins folder these two files: Flash Player.plugin and flashplayer.xpt. Yep, I have those, BUT I also had Flash Player Enabler.plugin with a date code of 2006. So on a whim, I moved it out to my desktop & restarted Safari. Dang if it doesn't work very nicely now.
    So you might check to see if you have the same file lingering around in there that might be causing issues.
    Cheers,
    Patrick

  • Mpd and python-mpd problem utf8

    Hi,
    i've just update the new mpd and python mpd package, so there is a problem with utf8 directory. Now it can not display my covers.
    The error :
    Exception in thread Thread-28:
    Traceback (most recent call last):
    File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
    File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
    File "/usr/lib/python2.5/site-packages/sonata/main.py", line 3971, in _artwork_update
    imgfound = self.artwork_check_for_local()
    File "/usr/lib/python2.5/site-packages/sonata/main.py", line 3993, in artwork_check_for_local
    type, filename = self.artwork_get_local_image()
    File "/usr/lib/python2.5/site-packages/sonata/main.py", line 4038, in artwork_get_local_image
    testfile = img.single_image_in_dir(self.musicdir[self.profile_num] + songpath)
    File "/usr/lib/python2.5/site-packages/sonata/img.py", line 62, in single_image_in_dir
    dir = gobject.filename_from_utf8(dir)
    GError: Séquence d'octets non valide en entrée du convertisseur

    I'm having the same output whenever I try to view an artists's albums in the collection and the album title contains non strictly ascii characters (which happens pretty often, as I am not a native english speaker). The problem is that the albums do not appear in the collection ! I can still access them by the filesystem view, but then the songs are sorted alphabetically, not by track number.
    This problem appeared with Sonata 1.5.

  • Mpd and bluetooth headset

    Anyone of you guys got mpd and bluetooth audio up and working? I cant seam to find any good info in the matter.

    I'm just guessing here, but maybe something along the lines of this in /etc/mpd.conf
    audio_output {
    type "alsa"
    name "My ALSA Device"
    device "hw:0,0"
    format "44100:16:2"
    Change the 'device' line to suit whatever numbers your bluetooth headset is...

  • MPD and replaygain

    I just started using MPD and would love to get Replaygain working with it. I know how to tag my files with mp3gain and have configured MPD to use replaygain info.  Problem is mp3gain stores replaygain info in APEv2 tags and MPD only supports reading replaygain info from ID3v2 tags.
    Is there a tool I can use to store replaygain info ID3v2 form for my music collection?
    I'm sure there's a simple solution I've just overlooked.
    Last edited by Zer0 (2009-10-28 00:47:44)

    I finally solved my problem: iptables was running on my RPi, and it was blocking the MPD requests... Thanks
    Last edited by nounoursheureux (2015-01-22 06:37:17)

  • [SOLVED] MPD and Mplayer don't play nice

    At the moment, I have to kill the MPD process in order to get MPlayer to play sound, otherwise a 'resource is busy' type message comes up.
    I'm using alsa and using self compiled Mplayer (from svn).
    Any suggestions?
    Last edited by dyscoria (2008-03-03 16:28:34)

    oliwer wrote:
    I had the same problem
    In /etc/mpd.conf, go to the "audio_output" section and comment the lines "device" and "format" (thoses lines are marked as optionnal).
    Now restart mpd, and it will work as any other alsa application.
    Ah worked like a charm! Thanks bud
    *MPD wiki edited*

  • Mpd and JACK - problem with ncmpcpp

    I have archlinux with kde installed on my desktop computer, however I was curious and wanted to record sound from movies and games with recordmydesktop. I went with the jack solution, but halfway through the process I ended up with this:
    [wyrm88@nbabic ~]$ jackd -d alsa
    jackd 0.118.0
    Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
    jackd comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the file COPYING for details
    JACK compiled with System V SHM support.
    loading driver ..
    creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
    control device hw:0
    configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
    ALSA: final selected sample format for capture: 32bit integer little-endian
    ALSA: use 2 periods for capture
    ALSA: final selected sample format for playback: 32bit integer little-endian
    ALSA: use 2 periods for playback
    Now, I'm not sure if it has to stop there or is there anything else supposed to follow after this... Anywho, if I don't do this, i can't start mpd normally. If I do this, mpd starts normally , ncmpcpp also, but I have a conky with covers displaying according to the song, which worked before this all jack-messing, now notify-osd doesn't work at all. This is my conky (first post). Also I have qjackctl and alsa-plugins installed, I unchecked realtime in the setup of qjackctll but jack still isn't working.
    Any help appreciated.

    Hmm, managed to get mpd start without inputing "jackd -d alsa", had to delete /etc/asound.conf, also got cover showing to work. If anybody has any advice about setting jack I'll be very happy.

  • MPD and Jack

    Hej,
    I am trying hard to get mpd running with jack, but am constantly failing. Starting mpd it says "successfully detected a jack audio device" and everything looks fine, except i cannot play any file. When i try that with mpc i receive an error "Problems opening audio device". In the mpd logfile appears sth similar:
    Oct 24 20:23 : output: Failed to open "default detected output" [jack]: Failed to connect to JACK server
    Oct 24 20:23 : player_thread: problems opening audio device while playing "000 neue 000/Eddie Vedder/Into the wild/01 - Setting Forth.mp3"
    Any ideas on how to solve this?
    I am able to play sounds through jack with aplay, so my .asoundrc should be fine
    thanks in advance

    Yeah, and with the first way (direct mpd-jack-output) there is the problem.
    Mpd starts fine, but if you wanna play any audio over your favourite client (ncmpcpp in my case), a error-msg is written to the log.
    Something like the ones calle posted.
    But ... ... I am going to increase the verbosity level of mpd. *idea* :-)
    EDIT:
    The Result
    Nov 11 14:11 : decoder: audio_format=44100:24:2, seekable=true
    Nov 11 14:11 : output: Failed to open "default" [jack]: Failed to connect to JACK server
    Nov 11 14:11 : player_thread: problems opening audio device while playing "Hidden_-_Song.mp3"
    This is the output with the highest verbosity-level.
    greetz
    The SIghter
    Last edited by sighter (2009-11-11 13:16:20)

  • MPD and queueing

    Hello, I'm looking for an mpd-client which will allow queueing like in foobar2k, winamp or the Spotify client.
    All I can find is mpd devz saying: "Should be implemented in client" and client devz saying: "Should be implemented in mpd"
    I'm currently using ncmpcpp and I like it except for this missing feature, does anyone have any help to give on this?

    I once wrote something that will play a song that is in your current playlist and then continue with where you were when it's done.
    I wrote it quite a while ago, and it may need some fine-tuning.
    Depending on what other features you want, I could update it. I really hate what the MPD devs did to 0.16 though, I'm sticking with the 0.15 branch, so mpd.db will be different (for searching songs outside of your current playlist).  Maybe mpc can do that though...
    #! /bin/bash
    [ $# = 0 ] && exit
    mpdstate=~/.mpd/mpdstate
    currentsong=$(mpc | sed -n '2s/.*#\([0-9]*\).*/\1/p')
    currentseek=$(mpc | sed -n '2s/.*(\([0-9]*%\))/\1/p')
    search=$({ echo search any $(echo $* | sed 's/ / any /g'); echo close; } | nc localhost 6600 | grep ^file | cut -d' ' -f2-)
    lines=$(echo "$search" | wc -l)
    [ $lines = 0 ] && exit
    if [ $lines -gt 1 ]; then
    if tty > /dev/null; then
    IFS="
    select line in $search; do search=$line; break; done
    [ -z "$REPLY" ] && exit
    else
    search=$(echo "$search" | dmenuwrap)
    [ -z "$search" ] && exit
    fi
    fi
    mpc play $(( $(grep -F "$search" $mpdstate | cut -d':' -f1) + 1 )) > /dev/null # mpdstate is 0-based
    while mpc idle > /dev/null; do
    mpc --format '%file%' | grep -q -F "$search" || break # don't play previous song if you are just pausing the player or repeating the track
    done
    mpc play $currentsong > /dev/null
    mpc seek $currentseek > /dev/null

Maybe you are looking for

  • HDMI output not working on HP Pavilion 15

    Hi guys, i am new here on HP Forum. My problems started when i got my new laptop and i HATED windows 8. So a friend of mine had a disc with Windows 7 on it. After the installation nothing worked, Not wlan, USB, HDMI and so on, I serched for days for

  • Logging out behaviour after installing leopard

    I believe that before I installed the Leopard upgrade when I would log out of one account on my machine and nothing was running, the system would just log off the account without prompting me and return the to the login screen. After installing Leopa

  • Can we add search filters to CV04N?

    Hi, What i am being asked to do is add different search filters to CV04N. Is it possible to add a search field at CV04N? My customers case: "We use CV04N to track vehicle software editions. What we need is a screen that we can track software edition

  • I am trying to save  one  picture in different versions- How do I do that- there is nothing that allows me to save as

    I am trying to save  one  picture in different versions- How do I do that- there is nothing that allows me to save as- How do I do that??

  • Keyboard Shortcut for comments

    I have a question and something to share. Turns out it's pretty easy to add a keyboard shortcut for adding ColdFusion comments (mostly so that you don't have to click on the comment dropdown and select the ColdFusion one, that's 2 clicks). You can ad