Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpc mpd #2

Open
itgoyo opened this issue Jan 19, 2019 · 1 comment
Open

mpc mpd #2

itgoyo opened this issue Jan 19, 2019 · 1 comment

Comments

@itgoyo
Copy link
Owner

itgoyo commented Jan 19, 2019

sudo apt-get install mpd mpc

@itgoyo
Copy link
Owner Author

itgoyo commented Jan 24, 2019

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant