- mount Android‘s Music folder as local storage in termux
-
termux-setup-storage
-
- Install mpd and pulseaudio
-
pkg install mpd pkg install pulseaudio
-
- Setup mpd (vi ../usr/etc/mpd.conf)
-
change music_directory to the music folder path. enable following lines auto_update "yes" auto_update_depth "3" bind_to_address "any" port "8600" only use audio_output as below: audio_output { type "pulse" name "My Pulse Output" server "localhost" }
-
- Setup pulse audio (vi ../usr/etc/mpd.conf)
- enable load-module module-native-protocol-tcp
- Start pulse audio and mpd
- pulseaudio --start #pulseaudio --kill
- mpd
- Install ncmpnpp or other mpd client app