Music Player Daemon is a music player that allows audio playback acting in the background (daemon) .
MPD is meant to create a database of songs (called "mpd.db"), and set a user mpd which owns the rights to the folder.
The daemon configuration is simple enough to edit the file / etc / mpd.conf seguneti the adjusting entries.
------------------------------------------------ ----------------------------------------------
music_directory "/home/tuo-utnente/Documenti/Musica"
playlist_directory "/home/tuo-utnente/.mpd/playlists"
db_file "/home/tuo-utnente/.mpd/mpd.db"
log_file "/home/tuo-utnente/.mpd/mpd.log"
pid_file "/home/tuo-utnente/.mpd/mpd.log"
state_file "/var/lib/mpd/state"
user "mpd"
bind_to_address "localhost"
playlist_directory "/home/tuo-utnente/.mpd/playlists"
db_file "/home/tuo-utnente/.mpd/mpd.db"
log_file "/home/tuo-utnente/.mpd/mpd.log"
pid_file "/home/tuo-utnente/.mpd/mpd.log"
state_file "/var/lib/mpd/state"
user "mpd"
bind_to_address "localhost"
bind_to_address "/ Var / run / mpd / socket"
port "8000"
port "8000"
------------------------------- -------------------------------------------------- -----------
The path of the demon "mpd" and / etc / init.d / mpd to start the server you can type the command.
sudo / etc / init.d / mpd start
Using this program requires the use of Abina fronted a program that allows access to different clients demone.Esistono compatible with mpd, interface graphics, such as "Aryan" and "Sonata", however I will recommend the project ncmpcpp that works in the console and it consumes very little resources re.
Now to configure the client ncmpcpp copy the file "/ usr / share / doc / ncmpcpp / examples / config.gz and scompattiamolo in the directory. Ncmpcpp" then edit the following entries
-------- -------------------------------------------------- --------------------------------------
user "mpd"
bind_to_address "localhost"
port "8000"
music_directory "~ / Music"
playlist_directory "~ / .mpd / playlists"
DB_File "~ / .mpd / tag_cache"
log_file "~ / .mpd / mpd.log"
error_file "~ / .mpd / errors.log"
pid_file "~ / .mpd / pid"
state_file "~ / .mpd / state"
-------- -------------------------------------------------- -------------------------------------
0 comments:
Post a Comment