NEWS
Драйвер MPD
-
Там все автоматоп подставляется, нужно выбрать только один объект. Версии последнии? `
Версии последние.То есть надо выбрать только один объект в 1 виджете, а все остальные сами поставятся?
И какой это объект, который надо выбрать первым? Я выбирал Play=mpd.0.play - в sonos-е ничего не заполняется.
В winamp - play=mpd.0.playid, сами заполнились ещё seek и mute. В других 2 виджетах winamp-а ничего не заполнилось.
-
Там все автоматоп подставляется, нужно выбрать только один объект. Версии последнии? `
Версии последние.То есть надо выбрать только один объект в 1 виджете, а все остальные сами поставятся?
И какой это объект, который надо выбрать первым? Я выбирал Play=mpd.0.play - в sonos-е ничего не заполняется.
В winamp - play=mpd.0.playid, сами заполнились ещё seek и mute. В других 2 виджетах winamp-а ничего не заполнилось. `
в соносе нет плейлиста и браузера это только для мпд коди и фубара. для каждого виджета заполняется отдельно -
в соносе нет плейлиста и браузера это только для мпд коди и фубара. для каждого виджета заполняется отдельно `
В других виджетах winamp-а поставил Плейлист=mpd.0.lsinfoСудя по логу- список загрузился. В браузере его не видно.
-
sayit + mpd
! mpd.0 2017-01-18 15:52:02.468 debug inMem message mpd.0.* mpd.0.playlistlength
! mpd.0 2017-01-18 15:52:02.467 debug inMem message mpd.0.* mpd.0.playlist
! mpd.0 2017-01-18 15:52:02.465 debug inMem message mpd.0.* mpd.0.playlist_list
! mpd.0 2017-01-18 15:52:02.403 debug inMem message mpd.0.* mpd.0.playtime
! mpd.0 2017-01-18 15:52:02.403 debug inMem message mpd.0.* mpd.0.uptime
! mpd.0 2017-01-18 15:52:02.402 debug inMem message mpd.0.* mpd.0.id
! mpd.0 2017-01-18 15:52:02.402 debug inMem message mpd.0.* mpd.0.state
! mpd.0 2017-01-18 15:52:02.401 debug inMem message mpd.0.* mpd.0.playlistlength
! mpd.0 2017-01-18 15:52:02.399 debug inMem message mpd.0.* mpd.0.playlist
! mpd.0 2017-01-18 15:52:02.300 debug inMem message mpd.0.* mpd.0.consume
! mpd.0 2017-01-18 15:52:02.275 debug mpd.0 LoadPlaylist…
! mpd.0 2017-01-18 15:52:02.275 info mpd.0 client.sendCommand {"load": "temp_ForSayIt"} OK! - ""
! mpd.0 2017-01-18 15:52:02.274 debug mpd.0 CleraPlaylist...
! mpd.0 2017-01-18 15:52:02.274 info mpd.0 client.sendCommand {"clear": ""} OK! - ""
! mpd.0 2017-01-18 15:52:02.179 debug mpd.0 CleraPlaylist...
! mpd.0 2017-01-18 15:52:02.167 info mpd.0 client.sendCommand {"consume ": "0"} OK! - ""
! mpd.0 2017-01-18 15:52:02.146 debug mpd.0 StopSay...[object Object]
! mpd.0 2017-01-18 15:52:02.070 debug mpd.0 sayTimePlay…
! mpd.0 2017-01-18 15:52:01.942 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:52:01.834 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:52:01.726 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:52:01.618 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:52:01.508 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:52:01.443 debug inMem message mpd.0.* mpd.0.seek
! mpd.0 2017-01-18 15:52:01.442 debug inMem message mpd.0.* mpd.0.current_elapsed
! mpd.0 2017-01-18 15:52:01.440 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:52:01.373 debug inMem message mpd.0.* mpd.0.elapsed
! mpd.0 2017-01-18 15:52:01.343 debug inMem message mpd.0.* mpd.0.time
! mpd.0 2017-01-18 15:52:01.294 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:52:01.187 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:52:01.079 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:52:00.972 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:52:00.867 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:52:00.760 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:52:00.654 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:52:00.548 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:52:00.436 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:52:00.415 debug inMem message mpd.0.* mpd.0.seek
! mpd.0 2017-01-18 15:52:00.413 debug inMem message mpd.0.* mpd.0.current_elapsed
! mpd.0 2017-01-18 15:52:00.379 debug inMem message mpd.0.* mpd.0.elapsed
! mpd.0 2017-01-18 15:52:00.376 debug inMem message mpd.0.* mpd.0.time
! mpd.0 2017-01-18 15:52:00.321 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:52:00.193 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:52:00.083 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:59.960 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:59.844 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:59.738 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:59.632 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:59.522 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:59.420 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:59.404 debug inMem message mpd.0.* mpd.0.seek
! mpd.0 2017-01-18 15:51:59.394 debug inMem message mpd.0.* mpd.0.current_elapsed
! mpd.0 2017-01-18 15:51:59.341 debug inMem message mpd.0.* mpd.0.elapsed
! mpd.0 2017-01-18 15:51:59.340 debug inMem message mpd.0.* mpd.0.time
! mpd.0 2017-01-18 15:51:59.338 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:59.183 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:59.075 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:58.967 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:58.859 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:58.753 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:58.644 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:58.535 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:58.440 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:58.439 debug inMem message mpd.0.* mpd.0.seek
! mpd.0 2017-01-18 15:51:58.437 debug inMem message mpd.0.* mpd.0.current_elapsed
! mpd.0 2017-01-18 15:51:58.321 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:58.317 debug inMem message mpd.0.* mpd.0.elapsed
! mpd.0 2017-01-18 15:51:58.283 debug inMem message mpd.0.* mpd.0.time
! mpd.0 2017-01-18 15:51:58.181 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:58.068 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:57.960 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:57.854 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:57.745 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:57.635 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:57.529 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:57.424 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:57.357 debug inMem message mpd.0.* mpd.0.seek
! mpd.0 2017-01-18 15:51:57.347 debug inMem message mpd.0.* mpd.0.current_elapsed
! mpd.0 2017-01-18 15:51:57.312 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:57.295 debug inMem message mpd.0.* mpd.0.elapsed
! mpd.0 2017-01-18 15:51:57.271 debug inMem message mpd.0.* mpd.0.time
! mpd.0 2017-01-18 15:51:57.200 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:57.093 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:56.984 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:56.877 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:56.772 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:56.666 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:56.556 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:56.451 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:56.373 debug inMem message mpd.0.* mpd.0.seek
! mpd.0 2017-01-18 15:51:56.373 debug inMem message mpd.0.* mpd.0.current_elapsed
! mpd.0 2017-01-18 15:51:56.372 debug inMem message mpd.0.* mpd.0.elapsed
! mpd.0 2017-01-18 15:51:56.371 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:56.369 debug inMem message mpd.0.* mpd.0.time
! mpd.0 2017-01-18 15:51:56.184 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:56.068 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:55.959 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:55.852 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:55.745 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:55.638 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:55.526 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:55.415 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:55.320 debug inMem message mpd.0.* mpd.0.seek
! mpd.0 2017-01-18 15:51:55.319 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:55.319 debug inMem message mpd.0.* mpd.0.current_elapsed
! mpd.0 2017-01-18 15:51:55.316 debug inMem message mpd.0.* mpd.0.elapsed
! mpd.0 2017-01-18 15:51:55.254 debug inMem message mpd.0.* mpd.0.time
! mpd.0 2017-01-18 15:51:55.190 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:55.083 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.975 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.866 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.758 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.656 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.656 debug inMem message mpd.0.* mpd.0.seek
! mpd.0 2017-01-18 15:51:54.654 debug inMem message mpd.0.* mpd.0.current_elapsed
! mpd.0 2017-01-18 15:51:54.604 debug inMem message mpd.0.* mpd.0.elapsed
! mpd.0 2017-01-18 15:51:54.564 debug inMem message mpd.0.* mpd.0.time
! mpd.0 2017-01-18 15:51:54.512 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.406 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.300 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.189 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.042 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.041 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.039 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.039 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.039 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.038 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.037 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.037 debug inMem message mpd.0.* mpd.0.seek
! mpd.0 2017-01-18 15:51:54.030 debug inMem message mpd.0.* mpd.0.current_elapsed
! mpd.0 2017-01-18 15:51:54.029 debug inMem message mpd.0.* mpd.0.elapsed
! mpd.0 2017-01-18 15:51:54.029 debug inMem message mpd.0.* mpd.0.time
! mpd.0 2017-01-18 15:51:54.028 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.026 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.025 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.025 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.025 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.025 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.024 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.024 debug inMem message mpd.0.* mpd.0.id
! mpd.0 2017-01-18 15:51:54.024 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.023 debug inMem message mpd.0.* mpd.0.seek
! mpd.0 2017-01-18 15:51:54.023 debug inMem message mpd.0.* mpd.0.current_elapsed
! mpd.0 2017-01-18 15:51:54.023 debug inMem message mpd.0.* mpd.0.current_duration
! mpd.0 2017-01-18 15:51:54.022 debug inMem message mpd.0.* mpd.0.current_duration_s
! mpd.0 2017-01-18 15:51:54.022 debug inMem message mpd.0.* mpd.0.audio
! mpd.0 2017-01-18 15:51:54.021 debug inMem message mpd.0.* mpd.0.bitrate
! mpd.0 2017-01-18 15:51:54.021 debug inMem message mpd.0.* mpd.0.elapsed
! mpd.0 2017-01-18 15:51:54.021 debug inMem message mpd.0.* mpd.0.time
! mpd.0 2017-01-18 15:51:54.020 debug inMem message mpd.0.* mpd.0.songid
! mpd.0 2017-01-18 15:51:54.020 debug inMem message mpd.0.* mpd.0.playtime
! mpd.0 2017-01-18 15:51:54.020 debug inMem message mpd.0.* mpd.0.uptime
! mpd.0 2017-01-18 15:51:54.019 debug inMem message mpd.0.* mpd.0.state
! mpd.0 2017-01-18 15:51:54.019 info mpd.0 client.sendCommand {"setvol": "60"} OK! - ""
! mpd.0 2017-01-18 15:51:54.019 debug inMem message mpd.0.* mpd.0.playlistlength
! mpd.0 2017-01-18 15:51:54.018 debug inMem message mpd.0.* mpd.0.playlist
! mpd.0 2017-01-18 15:51:54.018 debug inMem message mpd.0.* mpd.0.playlist_list
! mpd.0 2017-01-18 15:51:54.017 info mpd.0 client.sendCommand {"playid": "31"} OK! - ""
! mpd.0 2017-01-18 15:51:54.016 debug mpd.0 SayIt addid...Id: 31
! mpd.0 2017-01-18 15:51:54.015 info mpd.0 client.sendCommand {"addid": "http://192.168.1.150:8083/state/sayit.0.tts.mp3"} OK! - "Id: 31\n"
! mpd.0 2017-01-18 15:51:54.014 debug mpd.0 CleraPlaylist...
! mpd.0 2017-01-18 15:51:54.012 info mpd.0 client.sendCommand {"consume ": "1"} OK! - ""
! mpd.0 2017-01-18 15:51:54.012 debug mpd.0 CleraPlaylist...
! mpd.0 2017-01-18 15:51:54.012 info mpd.0 client.sendCommand {"clear": ""} OK! - ""
! mpd.0 2017-01-18 15:51:54.012 debug mpd.0 CleraPlaylist...
! mpd.0 2017-01-18 15:51:54.011 info mpd.0 client.sendCommand {"clear": ""} OK! - ""
! mpd.0 2017-01-18 15:51:54.011 debug inMem message mpd.0.* mpd.0.uptime
! mpd.0 2017-01-18 15:51:54.011 debug inMem message mpd.0.* mpd.0.id
! mpd.0 2017-01-18 15:51:54.010 debug inMem message mpd.0.* mpd.0.state
! mpd.0 2017-01-18 15:51:54.010 debug inMem message mpd.0.* mpd.0.playlistlength
! mpd.0 2017-01-18 15:51:54.010 debug inMem message mpd.0.* mpd.0.playlist
! mpd.0 2017-01-18 15:51:54.010 debug mpd.0 StopSay...[object Object]
! mpd.0 2017-01-18 15:51:54.009 debug mpd.0 sayTimePlay…
! mpd.0 2017-01-18 15:51:54.009 debug inMem message mpd.0.* mpd.0.playlist_list
! mpd.0 2017-01-18 15:51:54.009 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.008 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.008 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.008 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.007 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.007 debug inMem message mpd.0.* mpd.0.seek
! mpd.0 2017-01-18 15:51:54.006 debug inMem message mpd.0.* mpd.0.current_elapsed
! mpd.0 2017-01-18 15:51:54.006 debug inMem message mpd.0.* mpd.0.bitrate
! mpd.0 2017-01-18 15:51:54.006 debug inMem message mpd.0.* mpd.0.elapsed
! mpd.0 2017-01-18 15:51:54.005 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.005 debug inMem message mpd.0.* mpd.0.time
! mpd.0 2017-01-18 15:51:54.005 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.004 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.004 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.004 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.003 debug inMem message messagebox.system.adapter.mpd.0 messagebox.system.adapter.mpd.0
! mpd.0 2017-01-18 15:51:54.003 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.002 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:54.001 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:53.996 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:53.996 debug inMem message mpd.0.* mpd.0.id
! mpd.0 2017-01-18 15:51:53.995 debug inMem message mpd.0.* mpd.0.current_duration
! mpd.0 2017-01-18 15:51:53.994 debug inMem message mpd.0.* mpd.0.current_duration_s
! mpd.0 2017-01-18 15:51:53.994 debug inMem message mpd.0.* mpd.0.audio
! mpd.0 2017-01-18 15:51:53.993 debug inMem message mpd.0.* mpd.0.bitrate
! mpd.0 2017-01-18 15:51:53.993 debug inMem message mpd.0.* mpd.0.elapsed
! mpd.0 2017-01-18 15:51:53.992 debug inMem message mpd.0.* mpd.0.time
! mpd.0 2017-01-18 15:51:53.991 debug inMem message mpd.0.* mpd.0.songid
! mpd.0 2017-01-18 15:51:53.991 debug inMem message mpd.0.* mpd.0.playtime
! mpd.0 2017-01-18 15:51:53.987 debug inMem message mpd.0.* mpd.0.uptime
! mpd.0 2017-01-18 15:51:53.986 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:53.985 debug inMem message mpd.0.* mpd.0.state
! mpd.0 2017-01-18 15:51:53.985 debug inMem message mpd.0.* mpd.0.playlist
! mpd.0 2017-01-18 15:51:53.984 info mpd.0 client.sendCommand {"setvol": "60"} OK! - ""
! mpd.0 2017-01-18 15:51:53.983 debug inMem message mpd.0.* mpd.0.playlist_list
! mpd.0 2017-01-18 15:51:53.983 debug inMem message mpd.0.* mpd.0.playlistlength
! mpd.0 2017-01-18 15:51:53.982 debug inMem message mpd.0.* mpd.0.playlist
! mpd.0 2017-01-18 15:51:53.981 debug inMem message mpd.0.* mpd.0.consume
! mpd.0 2017-01-18 15:51:53.981 debug inMem message mpd.0.* mpd.0.playlist_list
! mpd.0 2017-01-18 15:51:53.980 info mpd.0 client.sendCommand {"playid": "30"} OK! - ""
! mpd.0 2017-01-18 15:51:53.980 debug inMem message mpd.0.* mpd.0.playlistlength
! mpd.0 2017-01-18 15:51:53.979 debug inMem message mpd.0.* mpd.0.playlist
! mpd.0 2017-01-18 15:51:53.978 debug mpd.0 SayIt addid...Id: 30
! mpd.0 2017-01-18 15:51:53.977 info mpd.0 client.sendCommand {"addid": "http://192.168.1.150:8083/state/sayit.0.tts.mp3"} OK! - "Id: 30\n"
! mpd.0 2017-01-18 15:51:53.966 debug inMem message mpd.0.* mpd.0.uptime
! mpd.0 2017-01-18 15:51:53.966 debug inMem message mpd.0.* mpd.0.playlistlength
! mpd.0 2017-01-18 15:51:53.965 debug inMem message mpd.0.* mpd.0.playlist
! mpd.0 2017-01-18 15:51:53.956 debug mpd.0 CleraPlaylist...
! mpd.0 2017-01-18 15:51:53.955 info mpd.0 client.sendCommand {"consume ": "1"} OK! - ""
! mpd.0 2017-01-18 15:51:53.954 debug mpd.0 CleraPlaylist...
! mpd.0 2017-01-18 15:51:53.953 info mpd.0 client.sendCommand {"clear": ""} OK! - ""
! mpd.0 2017-01-18 15:51:53.947 debug mpd.0 SavePlaylist...
! mpd.0 2017-01-18 15:51:53.946 info mpd.0 client.sendCommand {"save": "temp_ForSayIt"} OK! - ""
! mpd.0 2017-01-18 15:51:53.945 debug mpd.0 DelPlaylist...
! mpd.0 2017-01-18 15:51:53.944 info mpd.0 client.sendCommand {"rm": "temp_ForSayIt"} OK! - ""
! sayit.0 2017-01-18 15:51:53.962 info sayit.0 Send to MPD 60;http://192.168.1.150:8083/state/sayit.0.tts.mp3
! sayit.0 2017-01-18 15:51:53.951 info sayit.0 saying: Сейчас за окном. По прогнозу: Ясно. Температура от -11 до -8°C. По датчикам: температура 0,1°C, влажность 72%, давление 757,61мм ртутного столба.
! sayit.0 2017-01-18 15:51:53.950 info sayit.0 Send to MPD 60;http://192.168.1.150:8083/state/sayit.0.tts.mp3
! sayit.0 2017-01-18 15:51:53.947 info sayit.0 saying: /opt/iobroker/node_modules/iobroker.sayit/gong.mp3
! mpd.0 2017-01-18 15:51:53.941 debug inMem message messagebox.system.adapter.mpd.0 messagebox.system.adapter.mpd.0
! mpd.0 2017-01-18 15:51:44.190 debug inMem message mpd.0.* mpd.0.playlist_list
! mpd.0 2017-01-18 15:51:44.190 debug inMem message mpd.0.* mpd.0.playlist
! mpd.0 2017-01-18 15:51:44.189 debug inMem message mpd.0.* mpd.0.consume
! mpd.0 2017-01-18 15:51:44.189 debug inMem message mpd.0.* mpd.0.uptime
! mpd.0 2017-01-18 15:51:44.188 debug inMem message mpd.0.* mpd.0.id
! mpd.0 2017-01-18 15:51:44.188 debug inMem message mpd.0.* mpd.0.state
! mpd.0 2017-01-18 15:51:44.187 debug inMem message mpd.0.* mpd.0.playlistlength
! mpd.0 2017-01-18 15:51:44.184 debug inMem message mpd.0.* mpd.0.playlist
! mpd.0 2017-01-18 15:51:43.899 debug inMem message mpd.0.* mpd.0.playlist_list
! mpd.0 2017-01-18 15:51:43.583 debug mpd.0 LoadPlaylist...
! mpd.0 2017-01-18 15:51:43.583 info mpd.0 client.sendCommand {"load": "temp_ForSayIt"} OK! - ""
! mpd.0 2017-01-18 15:51:43.583 debug mpd.0 CleraPlaylist...
! mpd.0 2017-01-18 15:51:43.580 info mpd.0 client.sendCommand {"clear": ""} OK! - ""
! mpd.0 2017-01-18 15:51:43.529 debug mpd.0 CleraPlaylist...
! mpd.0 2017-01-18 15:51:43.528 info mpd.0 client.sendCommand {"consume ": "0"} OK! - ""
! mpd.0 2017-01-18 15:51:43.528 debug mpd.0 StopSay...[object Object]
! mpd.0 2017-01-18 15:51:43.525 debug mpd.0 sayTimePlay…
! mpd.0 2017-01-18 15:51:43.404 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:43.282 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:43.159 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:43.052 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:42.943 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:42.836 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:42.731 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:42.679 debug inMem message mpd.0.* mpd.0.id
! mpd.0 2017-01-18 15:51:42.678 debug inMem message mpd.0.* mpd.0.seek
! mpd.0 2017-01-18 15:51:42.678 debug inMem message mpd.0.* mpd.0.current_elapsed
! mpd.0 2017-01-18 15:51:42.677 debug inMem message mpd.0.* mpd.0.current_duration
! mpd.0 2017-01-18 15:51:42.677 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:42.676 debug inMem message mpd.0.* mpd.0.current_duration_s
! mpd.0 2017-01-18 15:51:42.676 debug inMem message mpd.0.* mpd.0.audio
! mpd.0 2017-01-18 15:51:42.676 debug inMem message mpd.0.* mpd.0.bitrate
! mpd.0 2017-01-18 15:51:42.675 debug inMem message mpd.0.* mpd.0.elapsed
! mpd.0 2017-01-18 15:51:42.675 debug inMem message mpd.0.* mpd.0.time
! mpd.0 2017-01-18 15:51:42.674 debug inMem message mpd.0.* mpd.0.songid
! mpd.0 2017-01-18 15:51:42.673 debug inMem message mpd.0.* mpd.0.playtime
! mpd.0 2017-01-18 15:51:42.671 debug inMem message mpd.0.* mpd.0.uptime
! mpd.0 2017-01-18 15:51:42.478 info mpd.0 client.sendCommand {"setvol": "60"} OK! - ""
! mpd.0 2017-01-18 15:51:42.477 debug inMem message mpd.0.* mpd.0.state
! mpd.0 2017-01-18 15:51:42.466 debug inMem message mpd.0.* mpd.0.playlistlength
! mpd.0 2017-01-18 15:51:42.464 debug inMem message mpd.0.* mpd.0.playlist
! mpd.0 2017-01-18 15:51:42.271 debug inMem message mpd.0.* mpd.0.playlist_list
! mpd.0 2017-01-18 15:51:42.242 info mpd.0 client.sendCommand {"playid": "28"} OK! - ""
! mpd.0 2017-01-18 15:51:42.210 debug mpd.0 SayIt addid...Id: 28
! mpd.0 2017-01-18 15:51:42.207 info mpd.0 client.sendCommand {"addid": "http://192.168.1.150:8083/state/sayit.0.tts.mp3"} OK! - "Id: 28\n"
! mpd.0 2017-01-18 15:51:42.162 debug mpd.0 CleraPlaylist...
! mpd.0 2017-01-18 15:51:42.162 info mpd.0 client.sendCommand {"consume ": "1"} OK! - ""
! mpd.0 2017-01-18 15:51:42.132 debug mpd.0 CleraPlaylist...
! mpd.0 2017-01-18 15:51:42.130 info mpd.0 client.sendCommand {"clear": ""} OK! - ""
! mpd.0 2017-01-18 15:51:42.079 debug mpd.0 CleraPlaylist...
! mpd.0 2017-01-18 15:51:42.077 info mpd.0 client.sendCommand {"clear": ""} OK! - ""
! mpd.0 2017-01-18 15:51:41.189 debug inMem message mpd.0.* mpd.0.playtime
! mpd.0 2017-01-18 15:51:41.189 debug inMem message mpd.0.* mpd.0.uptime
! mpd.0 2017-01-18 15:51:41.188 debug inMem message mpd.0.* mpd.0.id
! mpd.0 2017-01-18 15:51:41.175 debug inMem message mpd.0.* mpd.0.state
! mpd.0 2017-01-18 15:51:41.088 debug inMem message mpd.0.* mpd.0.playlistlength
! mpd.0 2017-01-18 15:51:41.086 debug inMem message mpd.0.* mpd.0.playlist
! mpd.0 2017-01-18 15:51:41.086 debug mpd.0 StopSay...[object Object]
! mpd.0 2017-01-18 15:51:41.083 debug mpd.0 sayTimePlay…
! mpd.0 2017-01-18 15:51:40.980 debug inMem message mpd.0.* mpd.0.playlist_list
! mpd.0 2017-01-18 15:51:40.930 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:40.823 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:40.714 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:40.608 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:40.501 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:40.470 debug inMem message mpd.0.* mpd.0.seek
! mpd.0 2017-01-18 15:51:40.469 debug inMem message mpd.0.* mpd.0.current_elapsed
! mpd.0 2017-01-18 15:51:40.467 debug inMem message mpd.0.* mpd.0.bitrate
! mpd.0 2017-01-18 15:51:40.396 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:40.379 debug inMem message mpd.0.* mpd.0.elapsed
! mpd.0 2017-01-18 15:51:40.347 debug inMem message mpd.0.* mpd.0.time
! mpd.0 2017-01-18 15:51:40.287 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:40.177 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:40.058 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:39.942 debug mpd.0 sayTimePlay...
! mpd.0 2017-01-18 15:51:39.834 debug mpd.0 sayTimePlay...
! inMem 2017-01-18 15:51:39.656 debug 2
! inMem 2017-01-18 15:51:39.656 debug message messagebox.system.adapter.mpd.0 messagebox.system.adapter.mpd.0 command=say, message=60;http://192.168.1.150:8083/state/sayit.0.tts.mp3, from=system.adapter.sayit.0, _id=50068396
! inMem 2017-01-18 15:51:39.648 debug message mpd.0.* mpd.0.id val=27, ack=true, ts=1484743899451, q=0, from=system.adapter.mpd.0, lc=1484743899451
! inMem 2017-01-18 15:51:39.641 debug message mpd.0.* mpd.0.seek val=0.00, ack=true, ts=1484743899340, q=0, from=system.adapter.mpd.0, lc=1484740804875
! inMem 2017-01-18 15:51:39.635 debug message mpd.0.* mpd.0.current_elapsed val=00:00, ack=true, ts=1484743899337, q=0, from=system.adapter.mpd.0, lc=1484740804872
! mpd.0 2017-01-18 15:51:39.609 debug sayTimePlay...
! inMem 2017-01-18 15:51:39.587 debug message mpd.0.* mpd.0.current_duration val=00:02, ack=true, ts=1484743899333, q=0, from=system.adapter.mpd.0, lc=1484743899333
! inMem 2017-01-18 15:51:39.569 debug message mpd.0.* mpd.0.current_duration_s val=2, ack=true, ts=1484743899324, q=0, from=system.adapter.mpd.0, lc=1484743899324
! inMem 2017-01-18 15:51:39.542 debug message mpd.0.* mpd.0.audio val=44100:24:2, ack=true, ts=1484743899319, q=0, from=system.adapter.mpd.0, lc=1484743899319
! inMem 2017-01-18 15:51:39.505 debug message mpd.0.* mpd.0.bitrate val=160, ack=true, ts=1484743899316, q=0, from=system.adapter.mpd.0, lc=1484743899316
! inMem 2017-01-18 15:51:39.499 debug message mpd.0.* mpd.0.elapsed val=0.359, ack=true, ts=1484743899312, q=0, from=system.adapter.mpd.0, lc=1484743899312
! inMem 2017-01-18 15:51:39.483 debug message mpd.0.* mpd.0.time val=0:2, ack=true, ts=1484743899308, q=0, from=system.adapter.mpd.0, lc=1484743899308
! inMem 2017-01-18 15:51:39.470 debug message mpd.0.* mpd.0.songid val=27, ack=true, ts=1484743899305, q=0, from=system.adapter.mpd.0, lc=1484743899305
! inMem 2017-01-18 15:51:39.464 debug message mpd.0.* mpd.0.song val=0, ack=true, ts=1484743899301, q=0, from=system.adapter.mpd.0, lc=1484716267114
! inMem 2017-01-18 15:51:39.443 debug message mpd.0.* mpd.0.pos val=0, ack=true, ts=1484743899298, q=0, from=system.adapter.mpd.0, lc=1484716267122
! mpd.0 2017-01-18 15:51:39.436 debug sayTimePlay...
! sayit.0 2017-01-18 15:51:39.391 info Send to MPD 60;http://192.168.1.150:8083/state/sayit.0.tts.mp3
! sayit.0 2017-01-18 15:51:39.384 info saying: Доброе утро!
! inMem 2017-01-18 15:51:39.339 debug message mpd.0.* mpd.0.file val=http://192.168.1.150:8083/state/sayit.0.tts.mp3, ack=true, ts=1484743899282, q=0, from=system.adapter.mpd.0, lc=1484733247964
! mpd.0 2017-01-18 15:51:39.327 info client.sendCommand {"setvol": "60"} OK! - ""
! inMem 2017-01-18 15:51:39.312 debug message mpd.0.* mpd.0.playtime val=49, ack=true, ts=1484743899249, q=0, from=system.adapter.mpd.0, lc=1484743899249
! inMem 2017-01-18 15:51:39.294 debug message mpd.0.* mpd.0.state val=play, ack=true, ts=1484743899234, q=0, from=system.adapter.mpd.0, lc=1484743899234
! inMem 2017-01-18 15:51:39.274 debug message mpd.0.* mpd.0.playlist val=67, ack=true, ts=1484743899213, q=0, from=system.adapter.mpd.0, lc=1484743899213
! inMem 2017-01-18 15:51:39.107 debug message mpd.0.* mpd.0.playlist_list val=[{"artist":"","album":"","bitrate":0,"title":"","file":"http://192.168.1.150:8083/state/sayit.0 ... :"
! mpd.0 2017-01-18 15:51:39.033 info client.sendCommand {"playid": "27"} OK! - ""
! inMem 2017-01-18 15:51:39.028 debug message mpd.0.* mpd.0.uptime val=27662, ack=true, ts=1484743898915, q=0, from=system.adapter.mpd.0, lc=1484743898915
! inMem 2017-01-18 15:51:39.012 debug message mpd.0.* mpd.0.playlistlength val=1, ack=true, ts=1484743898911, q=0, from=system.adapter.mpd.0, lc=1484743898911
! inMem 2017-01-18 15:51:39.005 debug message mpd.0.* mpd.0.playlist val=66, ack=true, ts=1484743898889, q=0, from=system.adapter.mpd.0, lc=1484743898889
! inMem 2017-01-18 15:51:38.929 debug message mpd.0.* mpd.0.consume val=1, ack=true, ts=1484743898868, q=0, from=system.adapter.mpd.0, lc=1484743898868
! inMem 2017-01-18 15:51:38.914 debug message mpd.0.* mpd.0.playlist_list val=[], ack=true, ts=1484743898831, q=0, from=system.adapter.mpd.0, lc=1484743898831
! mpd.0 2017-01-18 15:51:38.845 debug SayIt addid...Id: 27
! mpd.0 2017-01-18 15:51:38.832 info client.sendCommand {"addid": "http://192.168.1.150:8083/state/sayit.0.tts.mp3"} OK! - "Id: 27\n"
! inMem 2017-01-18 15:51:38.822 debug message mpd.0.* mpd.0.playlistlength val=0, ack=true, ts=1484743898726, q=0, from=system.adapter.mpd.0, lc=1484743898726
! inMem 2017-01-18 15:51:38.817 debug message mpd.0.* mpd.0.playlist val=65, ack=true, ts=1484743898722, q=0, from=system.adapter.mpd.0, lc=1484743898722
! inMem 2017-01-18 15:51:38.811 debug message mpd.0.* mpd.0.db_update val=1484594245, ack=true, ts=1484743898719, q=0, from=system.adapter.mpd.0, lc=1484630731361
! inMem 2017-01-18 15:51:38.806 debug message mpd.0.* mpd.0.db_playtime val=0, ack=true, ts=1484743898703, q=0, from=system.adapter.mpd.0, lc=1482816340497
! inMem 2017-01-18 15:51:38.801 debug message mpd.0.* mpd.0.songs val=0, ack=true, ts=1484743898658, q=0, from=system.adapter.mpd.0, lc=1482816340494
! inMem 2017-01-18 15:51:38.793 debug message mpd.0.* mpd.0.albums val=0, ack=true, ts=1484743898654, q=0, from=system.adapter.mpd.0, lc=1482816340492
! inMem 2017-01-18 15:51:38.787 debug message mpd.0.* mpd.0.artists val=0, ack=true, ts=1484743898651, q=0, from=system.adapter.mpd.0, lc=1482816340489
! mpd.0 2017-01-18 15:51:38.722 debug CleraPlaylist...
! mpd.0 2017-01-18 15:51:38.718 info client.sendCommand {"consume ": "1"} OK! - ""
! inMem 2017-01-18 15:51:38.685 debug message mpd.0.* mpd.0.playtime val=48, ack=true, ts=1484743898635, q=0, from=system.adapter.mpd.0, lc=1484740804862
! inMem 2017-01-18 15:51:38.661 debug message mpd.0.* mpd.0.uptime val=27661, ack=true, ts=1484743898614, q=0, from=system.adapter.mpd.0, lc=1484743898614
! mpd.0 2017-01-18 15:51:38.647 debug CleraPlaylist...
! mpd.0 2017-01-18 15:51:38.634 info client.sendCommand {"clear": ""} OK! - ""
! mpd.0 2017-01-18 15:51:38.601 debug SavePlaylist...
! mpd.0 2017-01-18 15:51:38.597 info client.sendCommand {"save": "temp_ForSayIt"} OK! - ""
! mpd.0 2017-01-18 15:51:38.553 debug DelPlaylist...
! mpd.0 2017-01-18 15:51:38.549 info client.sendCommand {"rm": "temp_ForSayIt"} OK! - ""
! inMem 2017-01-18 15:51:38.494 debug message messagebox.system.adapter.mpd.0 messagebox.system.adapter.mpd.0 command=say, message=60;http://192.168.1.150:8083/state/sayit.0.tts.mp3, from=system.adapter.sayit.0, _id=50068395
! sayit.0 2017-01-18 15:51:38.375 info Send to MPD 60;http://192.168.1.150:8083/state/sayit.0.tts.mp3
! sayit.0 2017-01-18 15:51:38.369 info saying: /opt/iobroker/node_modules/iobroker.sayit/gong.mp3 -
У меня ошибка вылезла и ничего не проговаривает
mpd.0 2017-01-20 07:40:48.472 error mpd.0 client.sendCommand {"seek": "9,112"} ERROR - Error: [2@0] {seek} Bad song index mpd.0 2017-01-20 07:40:43.470 info mpd.0 client.sendCommand {"load": "temp_ForSayIt"} OK! - "" mpd.0 2017-01-20 07:40:43.470 info mpd.0 client.sendCommand {"clear": ""} OK! - "" mpd.0 2017-01-20 07:40:43.469 info mpd.0 client.sendCommand {"consume ": "0"} OK! - "" mpd.0 2017-01-20 07:40:42.355 info client.sendCommand {"setvol": "70"} OK! - "" mpd.0 2017-01-20 07:40:42.254 info client.sendCommand {"playid": "2653"} OK! - "" mpd.0 2017-01-20 07:40:42.251 info client.sendCommand {"addid": "http://192.168.0.193:8082/state/sayit.0.tts.mp3"} OK! - "Id: 2653\n" mpd.0 2017-01-20 07:40:42.212 info client.sendCommand {"consume ": "1"} OK! - "" mpd.0 2017-01-20 07:40:42.211 info client.sendCommand {"clear": ""} OK! - "" mpd.0 2017-01-20 07:40:42.210 info client.sendCommand {"clear": ""} OK! - "" sayit.0 2017-01-20 07:40:39.402 info Set "mpd.0.say: 70;http://192.168.0.193:8082/state/sayit.0.tts.mp3 sayit.0 2017-01-20 07:40:39.401 info saying: Доброе утро. mpd.0 2017-01-20 07:40:38.181 info client.sendCommand {"setvol": "70"} OK! - "" mpd.0 2017-01-20 07:40:38.080 info client.sendCommand {"playid": "2652"} OK! - "" mpd.0 2017-01-20 07:40:38.079 info client.sendCommand {"addid": "http://192.168.0.193:8082/state/sayit.0.tts.mp3"} OK! - "Id: 2652\n" mpd.0 2017-01-20 07:40:38.040 info client.sendCommand {"consume ": "1"} OK! - "" mpd.0 2017-01-20 07:40:38.039 info client.sendCommand {"clear": ""} OK! - "" mpd.0 2017-01-20 07:40:38.000 info client.sendCommand {"save": "temp_ForSayIt"} OK! - "" mpd.0 2017-01-20 07:40:37.999 info client.sendCommand {"rm": "temp_ForSayIt"} OK! - "" mpd.0 2017-01-20 07:40:37.959 info client.sendCommand {"setvol": "2"} OK! - "" mpd.0 2017-01-20 07:40:37.668 info client.sendCommand {"setvol": "12"} OK! - "" mpd.0 2017-01-20 07:40:37.417 info client.sendCommand {"setvol": "22"} OK! - "" mpd.0 2017-01-20 07:40:37.166 info client.sendCommand {"setvol": "32"} OK! - "" mpd.0 2017-01-20 07:40:36.916 info client.sendCommand {"setvol": "42"} OK! - "" mpd.0 2017-01-20 07:40:36.664 info client.sendCommand {"setvol": "52"} OK! - "" sayit.0 2017-01-20 07:40:36.397 info Set "mpd.0.say: 70;http://192.168.0.193:8082/state/sayit.0.tts.mp3 sayit.0 2017-01-20 07:40:36.396 info saying: /opt/iobroker/node_modules/iobroker.sayit/123.mp3 javascript.0 2017-01-20 07:40:36.394 info script.js.sayit: registered 0 subscriptions and 1 schedule javascript.0 2017-01-20 07:40:36.378 info Start javascript script.js.sayit javascript.0 2017-01-20 07:40:36.367 info Stop script script.js.sayit
-
Еще рапортую об обнаруженном баге: включаем музыку с клиента(например андроид), послушали, выключили с клиента, отрабатывает скрипт на проговаривание, например времени(mpd остановлен через клиента!), время не проговаривается, но после нескольких секунд начинает проигрывать музыка которая играла до остановки с клиента.
-
Вот так у меня отображается winamp.
OS debian + mpd демон.
С андроид (MPD-клиента) видны нормально имена файлов.
В свойствах объекта mpd.lsinfo iobrokera видно что список доступных mp3 файлов подгружается нормально.
Что я делаю не так?
1444_mpd.png -
Вот так у меня отображается winamp.
OS debian + mpd демон.
С андроид (MPD-клиента) видны нормально имена файлов.
В свойствах объекта mpd.lsinfo iobrokera видно что список доступных mp3 файлов подгружается нормально.
Что я делаю не так? `
Это относится к этой ветке http://forum.iobroker.net/viewtopic.php?f=31&t=4663.Судя по скринам ошибка с кодировками
-
настраиваю/настоил проигрыватель по http://www.iobroker.net/docu/?page_id=6099&lang=ru
но драйвер mpd.0 "светит" красным напротив "соединён с mpd"
порт и там и там 6600
строка
#bind_to_address "localhost"
bind_to_address "0.0.0.0"
не решило проблему, к сожалению
-
Попытался задействовать MPD для оповещения и сталкнулся с проблемой:
Iobroker - 192.168.11.3
Debian c MPD - 192.168.11.89
root@orangepipc:~# cat /proc/asound/cards
0 [audiocodec ]: audiocodec - audiocodec audiocodec 1 [sndhdmi ]: sndhdmi - sndhdmi sndhdmi
mpd.conf
! ````
An example configuration file for MPD.
Read the user manual for documentation: http://www.musicpd.org/doc/user/
or /usr/share/doc/mpd/user-manual.html
! # Files and directories #######################################################
This setting controls the top directory which MPD will search to discover the
available audio files and add them to the daemon's online database. This
setting defaults to the XDG directory, otherwise the music directory will be
be disabled and audio files will only be accepted over ipc socket (using
file:// protocol) or streaming files over an accepted protocol.
#music_directory "/var/lib/mpd/music"
music_directory "/home/mikhail/Music"This setting sets the MPD internal playlist directory. The purpose of this
directory is storage for playlists created by MPD. The server will use
playlist files not created by the server but only if they are in the MPD
format. This setting defaults to playlist saving being disabled.
#playlist_directory "/var/lib/mpd/playlists"
playlist_directory "/home/mikhail/.mpd/playlists"This setting sets the location of the MPD database. This file is used to
load the database at server start up and store the database while the
server is not up. This setting defaults to disabled which will allow
MPD to accept files over ipc socket (using file:// protocol) or streaming
files over an accepted protocol.
#db_file "/var/lib/mpd/tag_cache"
db_file "/home/mikhail/.mpd/tag_cache"These settings are the locations for the daemon log files for the daemon.
These logs are great for troubleshooting, depending on your log_level
settings.
The special value "syslog" makes MPD use the local syslog daemon. This
setting defaults to logging to syslog, otherwise logging is disabled.
#log_file "/var/log/mpd/mpd.log"
log_file "/home/mikhail/.mpd/mpd.log"This setting sets the location of the file which stores the process ID
for use of mpd --kill and some init scripts. This setting is disabled by
default and the pid file will not be stored.
#pid_file "/run/mpd/pid"
pid_file "/home/mikhail/.mpd/pid"This setting sets the location of the file which contains information about
most variables to get MPD back into the same general shape it was in before
it was brought down. This setting is disabled by default and the server
state will be reset on server start up.
#state_file "/var/lib/mpd/state"
state_file "/home/mikhail/.mpd/state"The location of the sticker database. This is a database which
manages dynamic information attached to songs.
#sticker_file "/var/lib/mpd/sticker.sql"
sticker_file "/home/mikhail/.mpd/sticker.sql"###############################################################################
! # General music daemon options ################################################
This setting specifies the user that MPD will run as. MPD should never run as
root and you may use this setting to make MPD change its user ID after
initialization. This setting is disabled by default and MPD is run as the
current user.
user "mpd"
This setting specifies the group that MPD will run as. If not specified
primary group of user specified with "user" setting will be used (if set).
This is useful if MPD needs to be a member of group such as "audio" to
have permission to use sound card.
#group "nogroup"
This setting sets the address for the daemon to listen on. Careful attention
should be paid if this is assigned to anything other then the default, any.
This setting can deny access to control of the daemon. Choose any if you want
to have mpd listen on every address
For network
bind_to_address "localhost"
And for Unix Socket
#bind_to_address "/run/mpd/socket"
This setting is the TCP port that is desired for the daemon to get assigned
to.
port "6600"
This setting controls the type of information which is logged. Available
setting arguments are "default", "secure" or "verbose". The "verbose" setting
argument is recommended for troubleshooting, though can quickly stretch
available resources on limited hardware storage.
log_level "default"
If you have a problem with your MP3s ending abruptly it is recommended that
you set this argument to "no" to attempt to fix the problem. If this solves
the problem, it is highly recommended to fix the MP3 files with vbrfix
(available as vbrfix in the debian archive), at which
point gapless MP3 playback can be enabled.
#gapless_mp3_playback "yes"
Setting "restore_paused" to "yes" puts MPD into pause mode instead
of starting playback after startup.
#restore_paused "no"
This setting enables MPD to create playlists in a format usable by other
music players.
#save_absolute_paths_in_playlists "no"
This setting defines a list of tag types that will be extracted during the
audio file discovery process. The complete list of possible values can be
found in the mpd.conf man page.
#metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
This setting enables automatic update of MPD's database when files in
music_directory are changed.
#auto_update "yes"
Limit the depth of the directories being watched, 0 means only watch
the music directory itself. There is no limit by default.
#auto_update_depth "3"
###############################################################################
! # Symbolic link behavior ######################################################
If this setting is set to "yes", MPD will discover audio files by following
symbolic links outside of the configured music_directory.
#follow_outside_symlinks "yes"
If this setting is set to "yes", MPD will discover audio files by following
symbolic links inside of the configured music_directory.
#follow_inside_symlinks "yes"
###############################################################################
! # Zeroconf / Avahi Service Discovery ##########################################
If this setting is set to "yes", service information will be published with
Zeroconf / Avahi.
#zeroconf_enabled "yes"
The argument to this setting will be the Zeroconf / Avahi unique name for
this MPD server on the network.
#zeroconf_name "Music Player"
###############################################################################
! # Permissions #################################################################
If this setting is set, MPD will require password authorization. The password
can setting can be specified multiple times for different password profiles.
#password "password@read,add,control,admin"
This setting specifies the permissions a user has who has not yet logged in.
#default_permissions "read,add,control,admin"
###############################################################################
! # Database #######################################################################
! #database {
plugin "proxy"
host "other.mpd.host"
port "6600"
#}
! # Input #######################################################################
! input {
plugin "curl"proxy "proxy.isp.com:8080"
proxy_user "user"
proxy_password "password"
}
! #
###############################################################################
! # Audio Output ################################################################MPD supports various audio output types, as well as playing through multiple
audio outputs at the same time, through multiple audio_output settings
blocks. Setting this block is optional, though the server will only attempt
autodetection for one sound card.
An example of an ALSA output:
audio_output {
type "alsa"
name "My ALSA Device"
device "hw:0,0" # optional
mixer_type "software" # optionalmixer_device "default" # optional
mixer_control "PCM" # optional
mixer_index "0" # optional
}
An example of an OSS output:
#audio_output {
type "oss"
name "My OSS Device"
device "/dev/dsp" # optional
mixer_type "hardware" # optional
mixer_device "/dev/mixer" # optional
mixer_control "PCM" # optional
#}
An example of a shout output (for streaming to Icecast):
#audio_output {
type "shout"
encoding "ogg" # optional
name "My Shout Stream"
host "localhost"
port "8000"
mount "/mpd.ogg"
password "hackme"
quality "5.0"
bitrate "128"
format "44100:16:1"
protocol "icecast2" # optional
user "source" # optional
description "My Stream Description" # optional
url "http://example.com" # optional
genre "jazz" # optional
public "no" # optional
timeout "2" # optional
mixer_type "software" # optional
#}
An example of a recorder output:
#audio_output {
type "recorder"
name "My recorder"
encoder "vorbis" # optional, vorbis or lame
path "/var/lib/mpd/recorder/mpd.ogg"
quality "5.0" # do not define if bitrate is defined
bitrate "128" # do not define if quality is defined
format "44100:16:1"
#}
An example of a httpd output (built-in HTTP streaming server):
#audio_output {
type "httpd"
name "My HTTP Stream"
encoder "lame" # 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
#}
An example of a pulseaudio output (streaming to a remote pulseaudio server)
Please see README.Debian if you want mpd to play through the pulseaudio
daemon started as part of your graphical desktop session!
#audio_output {
type "pulse"
name "My Pulse Output"
server "remote_server" # optional
sink "remote_server_sink" # optional
#}
An example of a winmm output (Windows multimedia API).
#audio_output {
type "winmm"
name "My WinMM output"
device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
or
device "0" # optional
mixer_type "hardware" # optional
#}
An example of an openal output.
#audio_output {
type "openal"
name "My OpenAL output"
device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
#}
Example "pipe" output:
#audio_output {
type "pipe"
name "my pipe"
command "aplay -f cd 2>/dev/null"
Or if you're want to use AudioCompress
command "AudioCompress -m | aplay -f cd 2>/dev/null"
Or to send raw PCM stream through PCM:
command "nc example.org 8765"
format "44100:16:2"
#}
An example of a null output (for no audio output):
#audio_output {
type "null"
name "My Null Output"
mixer_type "none" # optional
#}
If MPD has been compiled with libsamplerate support, this setting specifies
the sample rate converter to use. Possible values can be found in the
mpd.conf man page or the libsamplerate documentation. By default, this is
setting is disabled.
#samplerate_converter "Fastest Sinc Interpolator"
###############################################################################
! # Normalization automatic volume adjustments ##################################
This setting specifies the type of ReplayGain to use. This setting can have
the argument "off", "album", "track" or "auto". "auto" is a special mode that
chooses between "track" and "album" depending on the current state of
random playback. If random playback is enabled then "track" mode is used.
See <http: www.replaygain.org="">for more details about ReplayGain.
This setting is off by default.
#replaygain "album"
This setting sets the pre-amp used for files that have ReplayGain tags. By
default this setting is disabled.
#replaygain_preamp "0"
This setting sets the pre-amp used for files that do NOT have ReplayGain tags.
By default this setting is disabled.
#replaygain_missing_preamp "0"
This setting enables or disables ReplayGain limiting.
MPD calculates actual amplification based on the ReplayGain tags
and replaygain_preamp / replaygain_missing_preamp setting.
If replaygain_limit is enabled MPD will never amplify audio signal
above its original level. If replaygain_limit is disabled such amplification
might occur. By default this setting is enabled.
#replaygain_limit "yes"
This setting enables on-the-fly normalization volume adjustment. This will
result in the volume of all playing audio to be adjusted so the output has
equal "loudness". This setting is disabled by default.
#volume_normalization "no"
###############################################################################
! # Character Encoding ##########################################################
If file or directory names do not display correctly for your locale then you
may need to modify this setting.
filesystem_charset "UTF-8"
This setting controls the encoding that ID3v1 tags should be converted from.
id3v1_encoding "UTF-8"
###############################################################################
! # SIDPlay decoder #############################################################
songlength_database:
Location of your songlengths file, as distributed with the HVSC.
The sidplay plugin checks this for matching MD5 fingerprints.
See http://www.c64.org/HVSC/DOCUMENTS/Songlengths.faq
default_songlength:
This is the default playing time in seconds for songs not in the
songlength database, or in case you're not using a database.
A value of 0 means play indefinitely.
filter:
Turns the SID filter emulation on or off.
#decoder {
plugin "sidplay"
songlength_database "/media/C64Music/DOCUMENTS/Songlengths.txt"
default_songlength "120"
filter "true"
#}
###############################################################################</http:>
После отработки сайит MPD выдает ошибки…
Jan 16 12:09 : playlist: No such playlist
Jan 16 12:09 : player: played "http://192.168.11.3:8082/state/sayit.0.tts.mp3"
Jan 16 12:09 : errno: Failed to open "/home/mikhail/.mpd/playlists/temp_ForSayIt.m3u": No such file or directory
Jan 16 12:09 : playlist: No such playlist
Jan 16 18:58 : playlist: No such playlist
Jan 16 18:58 : player: played "http://192.168.11.3:8082/state/sayit.0.tts.mp3"
Jan 16 18:58 : errno: Failed to open "/home/mikhail/.mpd/playlists/temp_ForSayIt.m3u": No such file or directory
Jan 16 18:58 : playlist: No such playlistЧто предпринять? PS: заработало /home/mikhail/.mpd/playlists - права нужно 755 mpd:audio Чтоб громкость была нормальная в mpd.conf добавил
decoder {
plugin "mad"
enabled "no"
}вычитал тут - [https://forum.armbian.com/topic/1947-an … nge-pi-pc/](https://forum.armbian.com/topic/1947-analog-audio-output-low-volume-with-mpd-server-orange-pi-pc/)