playing with mpd..

This commit is contained in:
Harri Lahtinen 2019-05-28 23:55:41 +03:00
parent a12aa02130
commit 51c64ce1c3
3 changed files with 19 additions and 8 deletions

View File

@ -100,7 +100,7 @@ radio_tracks_count = 25
#enabled = true #enabled = true
[file] [file]
enabled = false enabled = true
media_dirs = media_dirs =
$XDG_MUSIC_DIR|Music $XDG_MUSIC_DIR|Music
~/|Home ~/|Home

View File

@ -21,8 +21,7 @@ max_output_buffer_size "16384"
audio_output { audio_output {
type "pulse" type "pulse"
name "My PULSE Device" name "pulse audio"
server "localhost"
} }
audio_output { audio_output {

View File

@ -26,7 +26,7 @@ lyrics_directory = "~/.lyrics"
# #
## set it in order to make tag editor and renaming files work properly ## set it in order to make tag editor and renaming files work properly
# #
mpd_host = "localhost" mpd_host = "192.168.1.20"
# #
mpd_port = "6600" mpd_port = "6600"
# #
@ -45,12 +45,24 @@ mpd_crossfade_time = "5"
## has to be set to 44100:16:1. Example configuration: ## has to be set to 44100:16:1. Example configuration:
## (it has to be put into mpd.conf) ## (it has to be put into mpd.conf)
## ##
#audio_output {
# type "httpd"
# name "MPD Stream"
# encoder "vorbis" # optional, vorbis or lame
# port "8000"
# bind_to_address "0.0.0.0" # optional, IPv4 or IPv6
## 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
#}
audio_output { audio_output {
type "fifo" type "fifo"
name "My FIFO" name "My FIFO"
path "/tmp/mpd.fifo" path "/tmp/mpd.fifo"
format "44100:16:2" format "44100:16:2"
} }
## ##
# #
## ##