SHOW:
|
|
- or go back to the newest paste.
1 | Install MPD | |
2 | *********** | |
3 | sudo apt-get update | |
4 | sudo apt-get install mpd mpc alsa-utils | |
5 | ||
6 | ||
7 | Configure MPD | |
8 | ------------- | |
9 | WinSCP > browse to and open /etc/mpd.conf | |
10 | ||
11 | ||
12 | music_directory "/etc/mpd/music" | |
13 | playlist_directory "/etc/mpd/playlist" | |
14 | db_file "/etc/mpd/database.db" | |
15 | log_file "/tmp/mpd.log" | |
16 | pid_file "/etc/mpd/mpd.pid" | |
17 | state_file "/etc/mpd/mpd.state" | |
18 | sticker_file "/etc/mpd/mpd.sticker" | |
19 | ||
20 | #user "mpd" | |
21 | ||
22 | bind_to_address "any" | |
23 | ||
24 | port "6600" | |
25 | ||
26 | metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc" | |
27 | ||
28 | auto_update "yes" | |
29 | ||
30 | audio_output { | |
31 | type "alsa" | |
32 | name "My STB Audio Device" | |
33 | auto_resample "no" | |
34 | device "hw:1,0" # USB SoundCard | |
35 | #device "hw:0,0" # Default HDMI | |
36 | options "dev=dmixer" | |
37 | format "44100:16:2" | |
38 | mixer_type "software" | |
39 | mixer_device "default" | |
40 | mixer_control "Speaker" | |
41 | mixer_index "0" | |
42 | } | |
43 | ||
44 | ||
45 | PuTTY : service mpd restart | |
46 | ||
47 | NB : | |
48 | Cek hw sound > aplay -l | |
49 | ||
50 | Jika ada noti, | |
51 | mpdlisten: bind to ‘0.0.0.0:6600’ failed: Address already in use (continuing anyway, because binding to ‘[::]:6600’ succeeded) | |
52 | Tidak apa, dan mpd server akan tetap berfungsi | |
53 | ||
54 | MPD-Client bisa mengunakan : | |
55 | MPDroid - Android | |
56 | Auremo - Windows https://drive.google.com/drive/u/0/folders/0Bzt-AN6S9mTEa2JHSUl6SXRpOW8 | |
57 | ||
58 | Download folder /etc/mpd >> https://drive.google.com/file/d/1qvTpV_q0EyRl-S07mcHazLoZeX94zDHm/view?usp=sharing | |
59 | ||
60 | Regrads, | |
61 | FuadSalim | |
62 | fb.com/fuad.salim.drg |