Created
December 19, 2020 14:26
-
-
Save nosrednawall/9f66af298cbbd2f387659e5bd812ce26 to your computer and use it in GitHub Desktop.
mpd debian buster
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
wget http://www.musicpd.org/download/mpd/0.22/mpd-0.22.3.tar.xz | |
tar xf mpd-0.22.3.tar.xz | |
cd mpd-0.22.3 | |
sudo apt install meson g++ \ | |
libpcre3-dev \ | |
libmad0-dev libmpg123-dev libid3tag0-dev \ | |
libflac-dev libvorbis-dev libopus-dev libogg-dev \ | |
libadplug-dev libaudiofile-dev libsndfile1-dev libfaad-dev \ | |
libfluidsynth-dev libgme-dev libmikmod-dev libmodplug-dev \ | |
libmpcdec-dev libwavpack-dev libwildmidi-dev \ | |
libsidplay2-dev libsidutils-dev libresid-builder-dev \ | |
libavcodec-dev libavformat-dev \ | |
libmp3lame-dev libtwolame-dev libshine-dev \ | |
libsamplerate0-dev libsoxr-dev \ | |
libbz2-dev libcdio-paranoia-dev libiso9660-dev libmms-dev \ | |
libzzip-dev \ | |
libcurl4-gnutls-dev libyajl-dev libexpat-dev \ | |
libasound2-dev libao-dev libjack-jackd2-dev libopenal-dev \ | |
libpulse-dev libshout3-dev \ | |
libsndio-dev \ | |
libmpdclient-dev \ | |
libnfs-dev \ | |
libupnp-dev \ | |
libavahi-client-dev \ | |
libsqlite3-dev \ | |
libsystemd-dev \ | |
libgtest-dev \ | |
libboost-dev \ | |
libicu-dev \ | |
libchromaprint-dev \ | |
libgcrypt20-dev | |
meson . output/release --buildtype=debugoptimized -Db_ndebug=true | |
ninja -C output/release | |
sudo ninja -C output/release install | |
mkdir -p ~/.config/mpd/playlists | |
cd ~/.config/mpd | |
touch database mpd.fifo mpd.log mpd.pid mpdstate socket | |
ln -s /home/anderson/.dotfiles/debian-bspwd/arquivos/mpd/config /home/anderson/.config/mpd/config | |
mkdir -p ~/.ncmpcpp | |
ln -s /home/anderson/.dotfiles/debian-bspwd/arquivos/mpd/ncmpcpp /home/anderson/.ncmpcpp/config |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db_file "~/.config/mpd/database" | |
log_file "~/.config/mpd/mpd.log" | |
music_directory "/home/anderson/Músicas" | |
pid_file "~/.config/mpd/mpd.pid" | |
state_file "~/.config/mpd/mpdstate" | |
#bind_to_address "192.168.1.42" | |
bind_to_address "127.0.0.1" | |
bind_to_address "[::1]:6602" | |
bind_to_address "~/.config/mpd/socket" | |
port "6602" | |
audio_output { | |
type "pulse" | |
name "pulse audio" | |
} | |
audio_output { | |
type "fifo" | |
name "FIFO" | |
path "/tmp/mpd.fifo" | |
format "44100:16:2" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ncmpcpp_directory = "~/.ncmpcpp" | |
mpd_host = "127.0.0.1" | |
mpd_port = "6602" | |
mpd_music_dir = "/home/anderson/Músicas" | |
mpd_crossfade_time = 5 | |
visualizer_fifo_path = "/tmp/mpd.fifo" | |
visualizer_output_name = "FIFO" | |
visualizer_in_stereo = "yes" | |
visualizer_sync_interval = "30" | |
visualizer_type = "spectrum" | |
visualizer_look = "◆▋" | |
message_delay_time = "3" | |
playlist_shorten_total_times = "yes" | |
playlist_display_mode = "columns" | |
browser_display_mode = "columns" | |
search_engine_display_mode = "columns" | |
playlist_editor_display_mode = "columns" | |
autocenter_mode = "yes" | |
centered_cursor = "yes" | |
user_interface = "alternative" | |
follow_now_playing_lyrics = "yes" | |
locked_screen_width_part = "60" | |
display_bitrate = "yes" | |
external_editor = "vim" | |
use_console_editor = "yes" | |
header_window_color = "cyan" | |
volume_color = "yellow" | |
state_line_color = "yellow" | |
state_flags_color = "cyan" | |
progressbar_color = "yellow" | |
statusbar_color = "cyan" | |
visualizer_color = "cyan" | |
mouse_list_scroll_whole_page = "yes" | |
lines_scrolled = "1" | |
enable_window_title = "yes" | |
song_columns_list_format = "(25)[cyan]{a} (40)[]{f} (30)[red]{b} (7f)[green]{l}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment