turn ur pc into music streaming client

 sudo pacman -S mpc mpd

mkdir ~/.config/mpd
 cp /usr/share/doc/mpd/mpdconf.example ~/.config/mpd/mpd.conf
 or make own config

music_directory "~/Music"
playlist_directory "~/.config/mpd/playlists"
db_file "~/.config/mpd/database"
log_file "~/.config/mpd/log"
auto_update "yes"
sticker_file "~/.config/mpd/sticker.sql"
#bind_to_address "0.0.0.0"
#bind_to_address "~/.config/mpd/socket"
pid_file "~/.config/mpd/pid"
state_file "~/.config/state"
#password "cgj2m"
audio_output {
type "pulse"
name "pulse audio"
}

audio_output {
type "httpd"
name "My HTTP Stream"
encoder "vorbis" # optional, vorbis or lame
port "8000"
quality "5.0" # do not define if bitrate is defined
# bitrate "128" # do not define if quality is defined
format "44100:16:1"
max_clients "0" # optional 0=no limit
}
 
mkdir ~/.config/mpd/playlists
 
for alsa 
~/.config/mpd/mpd.conf
audio_output {
        type          "alsa"
        name          "ALSA sound card"
        # Optional
        #device        "iec958:CARD=Intel,DEV=0"
        #mixer_control "PCM"
}
  




src:: https://wiki.archlinux.org/title/Music_Player_Daemon

https://mpd.fandom.com/wiki/Configuration

Comments

Popular posts from this blog

sxhkd volume andbrightness config for dwm on void

fix idm integration on chrome

Hidden Wiki