You are not logged in.

#1 2018-12-31 16:34:00

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,689

libscmclient error in mpd

I had to reinstall arch and tried to use my old configurations for my mpd setup which was working flawlessly but the now mpd hasn't been working properly. I have a system-wide mpd installation and have an external DAC as my main ALSA card. Sometimes it works sometimes it doesn't but everytime it doesn't work I get libsmbclient errors:

Dec 31 16:15:11 TUF-Z270 libsmbclient[1105]: exception: No such playlist
Dec 31 16:15:16 TUF-Z270 libsmbclient[1105]: player: played "Ahmad Jamal/Ahmad Jamal - Marseille/01 - Marseille (Instrumental).flac"
Dec 31 16:15:27 TUF-Z270 libsmbclient[1105]: exception: Unsupported URI scheme
Dec 31 16:15:28 TUF-Z270 libsmbclient[1105]: exception: Failed to open '/var/lib/mpd/playlists/[Radio Streams].m3u': No such file or directory
Dec 31 16:15:28 TUF-Z270 libsmbclient[1105]: exception: No such playlist

I also have pulseaudio but my old asound.conf configuration which worked well:

pcm.!default {
    type hw
    card 0
    slave {
        type pulse
        fallback "sysdefault"
        hint {
            show on
            description "Default ALSA Output (currently PulseAudio Sound Server)"
        }
    }
}

ctl.!default {
    type hw
    card 0
    slave {
        type pulse
        fallback "sysdefault"
    }
}

doesn't work anymore. ALSA complains of unknown slave. At the moment the default asound.conf provided by pulse:

defaults.pcm.card 0
defaults.ctl.card 0

# Use PulseAudio by default
pcm.!default {
  type pulse
  fallback "sysdefault"
  hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
  }
}

ctl.!default {
  type pulse
  fallback "sysdefault"
}

is the one working. I'd like to know how to setup asound.conf with my DAC as default instead of pulse.
Here is my mpd.conf:

# Files and directories #######################################################
#
music_directory		"/home/dipswitch/Music"
pid_file            "/run/mpd/mpd.pid"
db_file             "/var/lib/mpd/mpd.db"
state_file          "/var/lib/mpd/mpdstate"
playlist_directory  "/var/lib/mpd/playlists"
log_file            "syslog"
#
###############################################################################

# 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"
#
###############################################################################

# Input #######################################################################
#
input {
        plugin "curl"
#       proxy "proxy.isp.com:8080"
#       proxy_user "user"
#       proxy_password "password"
}
input {
        plugin  "tidal"
        enabled "no"
}
input {
        plugin  "qobuz"
        enabled "no"
}
#
###############################################################################

# Audio Output ################################################################
audio_output {
        type                "alsa"
        name                "Cambridge Audio DAC"
        device              "hw:0,0"
        auto_resample       "no"
        auto_format         "no"
        auto_channels       "no"
        replay_gain_handler "none"
        mixer_type          "none"
}
audio_output {
        type		"pulse"
        name		"Local Music Player Daemon"
        server		"127.0.0.1"
}
replaygain                 "off"

filesystem_charset    "UTF-8"
log_level             "default"
auto_update           "yes"
auto_update_depth     "4096"

connection_timeout     "60"
max_connections        "10"
max_playlist_length    "16384"
max_command_list_size  "2048"
max_output_buffer_size "8192"
#
###############################################################################

Any solution?

Offline

Board footer

Powered by FluxBB