Skip to content

mpc mpd #2

Open
Open
@itgoyo

Description

@itgoyo
Owner

sudo apt-get install mpd mpc

Activity

itgoyo

itgoyo commented on Jan 24, 2019

@itgoyo
OwnerAuthor

mpd配置
.config/mpd/mpd.conf

db_file            "~/.config/mpd/database"
auto_update        "yes"
log_file           "~/.config/mpd/log"
music_directory    "~/Music"
playlist_directory "~/.config/mpd/playlists"
pid_file           "~/.config/mpd/pid"
state_file         "~/.config/mpd/state"
sticker_file       "~/.config/mpd/sticker.sql"

bind_to_address "127.0.0.1"
restore_paused "yes"
max_output_buffer_size "16384"

audio_output {
   type        "alsa"
    name        "ALSA"
    device      "hw:0,0"    # optional
    mixer_type       "hardware" # optional
    mixer_device    "default"   # optional
    mixer_control   "Master"        # optional 注意此处
    mixer_index "0"     # optional 
}

audio_output {
type               "fifo"
name               "toggle_visualizer"
path               "/tmp/mpd.fifo"
format             "44100:16:2"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @itgoyo

        Issue actions

          mpc mpd · Issue #2 · itgoyo/i3