💾 Archived View for pub.phreedom.club › ~progserega_linux › glog › 2024.02.23_mpd_and_piperwire.gmi captured on 2024-08-25 at 00:42:19. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-03-21)
-=-=-=-=-=-=-
Проверено на debian 12.
https://wiki.archlinux.org/title/Music_Player_Daemon#Per-user_configuration
sudo systemctl disable mpd.service systemctl --user enable mpd
mkdir -p ~/.config/mpd zcat /usr/share/doc/mpd/mpdconf.example.gz > ~/.config/mpd/mpd.conf
cat ~/.config/mpd/mpd.conf|grep -v '^#.*' music_directory "/mnt/media/Музыка" playlist_directory "~/.config/mpd/playlists" db_file "~/.config/mpd/database" pid_file "~/.config/mpd/pid" state_file "~/.local/state/mpd/state" sticker_file "~/.config/mpd/sticker.sql" auto_update "yes" input { plugin "curl" } audio_output { type "pipewire" name "PipeWire Sound Server" }
Создаём нужные директории и перезагружаем mpd:
mkdir -p ~/.config/mpd/playlists mkdir -p ~/.local/state/mpd systemctl --user restart mpd
Ставим любимый интерфейс (например gmpc, mpc), запускаем и радуемся.