bestlibre / hassio-addons

173 stars 110 forks source link

snapcast wont start #86

Open LEDTECHCHGO opened 5 years ago

LEDTECHCHGO commented 5 years ago

please help error below and is there any way i can add depenncys like alsa mixer and mqttt mopidy

pipe:///tmpfs/snapfifo?name=default 2018-09-07 03-07-47 [Notice] Settings file: "/root/.config/snapserver/server.json" 2018-09-07 03-07-47 [Err] Error reading config: [json.exception.parse_error.101] parse error at 1: syntax error - unexpected end of input; expected '[', '{', or a literal 2018-09-07 03-07-47 [Err] Failed to create client: Daemon not running 2018-09-07 03-07-47 [Info] PcmStream sampleFormat: 48000:16:2 2018-09-07 03-07-47 [Info] metadata={ 2018-09-07 03-07-47 [Info] "STREAM": "default" 2018-09-07 03-07-47 [Info] } 2018-09-07 03-07-47 [Info] onMetaChanged (default) 2018-09-07 03-07-47 [Info] PipeStream mode: create 2018-09-07 03-07-47 [Info] Stream: {"fragment":"","host":"","path":"/tmpfs/snapfifo","query":{"buffer_ms":"20","codec":"flac","name":"default","sampleformat":"48000:16:2"},"raw":"pipe:////tmpfs/snapfifo?buffer_ms=20&codec=flac&name=default&sampleformat=48000:16:2","scheme":"pipe"} 2018-09-07 03-07-47 [Err] (PipeStream) Exception: end of file usage: mopidy [-h] [--version] [-q] [-v] [--save-debug-log] [--config FILES] [-o OPTIONS] argument -o/--option: snapcast=true must have the format section/key=value

LEDTECHCHGO commented 5 years ago

Change to this and now i get the unexpected ! { "local_scan": true, "options": [ { "name": "local/media_dir", "value": "/share/mopidy/media" }, { "name": "audio/output", "value": "audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! wavenc ! filesink location=/tmp/snapfifo" } ] }

pipe:///tmpfs/snapfifo?name=default 2018-09-08 02-49-05 [Notice] Settings file: "/root/.config/snapserver/server.json" 2018-09-08 02-49-05 [Err] Error reading config: [json.exception.parse_error.101] parse error at 1: syntax error - unexpected end of input; expected '[', '{', or a literal 2018-09-08 02-49-05 [Err] Failed to create client: Daemon not running 2018-09-08 02-49-05 [Info] PcmStream sampleFormat: 48000:16:2 2018-09-08 02-49-05 [Info] metadata={ 2018-09-08 02-49-05 [Info] "STREAM": "default" 2018-09-08 02-49-05 [Info] } 2018-09-08 02-49-05 [Info] onMetaChanged (default) 2018-09-08 02-49-05 [Info] PipeStream mode: create 2018-09-08 02-49-05 [Info] Stream: {"fragment":"","host":"","path":"/tmpfs/snapfifo","query":{"buffer_ms":"20","codec":"flac","name":"default","sampleformat":"48000:16:2"},"raw":"pipe:////tmpfs/snapfifo?buffer_ms=20&codec=flac&name=default&sampleformat=48000:16:2","scheme":"pipe"} 2018-09-08 02-49-05 [Err] (PipeStream) Exception: end of file usage: mopidy [-h] [--version] [-q] [-v] [--save-debug-log] [--config FILES] [-o OPTIONS] unrecognized command: !