Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Install MPD
- ***********
- sudo apt-get update
- sudo apt-get install mpd mpc alsa-utils
- Configure MPD
- -------------
- WinSCP > browse to and open /etc/mpd.conf
- music_directory "/etc/mpd/music"
- playlist_directory "/etc/mpd/playlist"
- db_file "/etc/mpd/database.db"
- log_file "/tmp/mpd.log"
- pid_file "/etc/mpd/mpd.pid"
- state_file "/etc/mpd/mpd.state"
- sticker_file "/etc/mpd/mpd.sticker"
- #user "mpd"
- bind_to_address "any"
- port "6600"
- metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
- auto_update "yes"
- audio_output {
- type "alsa"
- name "My STB Audio Device"
- auto_resample "no"
- device "hw:1,0" # USB SoundCard
- #device "hw:0,0" # Default HDMI
- options "dev=dmixer"
- format "44100:16:2"
- mixer_type "software"
- mixer_device "default"
- mixer_control "Speaker"
- mixer_index "0"
- }
- PuTTY : service mpd restart
- NB :
- Cek hw sound > aplay -l
- Jika ada noti,
- mpdlisten: bind to ‘0.0.0.0:6600’ failed: Address already in use (continuing anyway, because binding to ‘[::]:6600’ succeeded)
- Tidak apa, dan mpd server akan tetap berfungsi
- MPD-Client bisa mengunakan :
- MPDroid - Android
- Auremo - Windows https://drive.google.com/drive/u/0/folders/0Bzt-AN6S9mTEa2JHSUl6SXRpOW8
- Download folder /etc/mpd >> https://drive.google.com/file/d/1qvTpV_q0EyRl-S07mcHazLoZeX94zDHm/view?usp=sharing
- Regrads,
- FuadSalim
- fb.com/fuad.salim.drg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement