Hey! This is my Home Assistant's Supervisor add-ons repository.
Based on Raph2i with some smaller changes. All Addons compile on your machine at installation, let it work. Librespot takes 5-15 minutes to build as an example.
some Hass.IO Addons
License: Other
thread 'main' panicked at 'connection closed'
Snapcast-server version 0.25 is installed, but while starting up, getting the following error - **"s6-overlay-suexec: fatal: can only run as pid 1"**
.
I did a little digging and found this page mentioning recent changes related to S6-Overlay -
https://developers.home-assistant.io/blog/2022/05/12/s6-overlay-base-images/
Please update the add-on to be compatible with this changes.
Environment Info -
Home Assistant Core 2022.5.5
Home Assistant Supervisor 2022.05.2
Home Assistant OS 8.1
Device - Raspberry Pi 4B+
Unable to install snapcast on Hassio 2021.2.0
when i tried to install i got error:
The command '/bin/ash -o pipefail -c sed -i -e 's/v[[:digit:]]..*//edge//g' /etc/apk/repositories && apk add --no-cache snapcast bash' returned a non-zero code: 1
also i see the following log in hassio:
WARNING:
Ignoring https://dl-cdn.alpinelinux.org/alpine/edge/main: Permission denied
fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/armv7/APKINDEX.tar.gz
WARNING:
Ignoring https://dl-cdn.alpinelinux.org/alpine/edge/community: temporary error (try again later)
ERROR:
unable to select packages:
snapcast (no such package):
required by: world[snapcast]
Removing intermediate container 28ba52a16ef7
The spotcast and librespot seem not to work with current HA versions.. At least for me.
Anyone else come across those problems?
Both addons are installed and get started.
Getting this error over and over again from Spotcast:
[Error] (PosixStream) Connect exception: execve failed: Permission denied
Any chance you could help me install this without hassio?
thanks for your addons, great work
I noticed that snapcast-client stopped working, probably after the upgrade on the release #9
this is what I get when I connect to my snapcast server:
metadata:{"STREAM":"Volumio-MPD"} 2020-05-03 22-04-52 [Info] Codec: flac 2020-05-03 22-04-52 [Notice] sampleformat: 48000:16:2 ALSA lib dlmisc.c:283:(snd_dlobj_cache_get0) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so ((null): Error loading shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so: No such file or directory) 2020-05-03 22-04-52 [Err] Controller::onException: Can't open default PCM device: No such device or address 2020-05-03 22-04-54 [Warn] timeout while waiting for response to: 730, timeout 2000 2020-05-03 22-04-54 [Err] Exception in Controller::worker(): Can't open default PCM device: No such device or address 2020-05-03 22-04-55 [Notice] Connected to 10.251.107.65 2020-05-03 22-04-55 [Info] My MAC: "02:42:ac:1e:21:0a", socket: 5 2020-05-03 22-04-55 [Info] ServerSettings - buffer: 1000, latency: 0, volume: 100, muted: 0
there is also an open issue about this: home-assistant/plugin-audio#12
Hi @raph2i,
Could it be possible to get some instructions about to get it live ?
I would like to perform a standard installation for test like :
Client_iPhone -> LibreSpot -> SnapcastServer -> SnapcastClient.
Actually when I launch Snapcast server I get the following logs
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[15:58:49] INFO: Populating snapserver.conf...
[15:58:50] INFO: Starting SnapServer...
Error relocating /usr/lib/libavahi-common.so.3: __gettimeofday_time64: symbol not found
Error relocating /usr/lib/libavahi-common.so.3: __time64: symbol not found
Error relocating /usr/lib/libFLAC.so.8: __fstat_time64: symbol not found
Error relocating /usr/lib/libFLAC.so.8: __stat_time64: symbol not found
Error relocating /usr/lib/libFLAC.so.8: __utime64: symbol not found
Error relocating /usr/lib/libintl.so.8: __fstat_time64: symbol not found
Error relocating /usr/lib/libdbus-1.so.3: __lstat_time64: symbol not found
Error relocating /usr/lib/libdbus-1.so.3: __clock_getres_time64: symbol not found
Error relocating /usr/lib/libdbus-1.so.3: __pthread_cond_timedwait_time64: symbol not found
Error relocating /usr/lib/libdbus-1.so.3: __gettimeofday_time64: symbol not found
Error relocating /usr/lib/libdbus-1.so.3: __nanosleep_time64: symbol not found
Error relocating /usr/lib/libdbus-1.so.3: __fstat_time64: symbol not found
Error relocating /usr/lib/libdbus-1.so.3: __stat_time64: symbol not found
Error relocating /usr/lib/libdbus-1.so.3: __clock_gettime64: symbol not found
Error relocating /usr/bin/snapserver: __localtime64_r: symbol not found
Error relocating /usr/bin/snapserver: __stat_time64: symbol not found
Error relocating /usr/bin/snapserver: __fstat_time64: symbol not found
Error relocating /usr/bin/snapserver: __time64: symbol not found
[cmd] /run.sh exited 127
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
Configuration :
stream:
streams:
- >-
pipe:///share/snapfifo/librespot?name=SpotifyConnect&sampleformat=44100:16:2
- 'pipe:///share/snapfifo/mopidy?name=Mopidy&sampleformat=44100:16:2'
buffer: '1000'
codec: flac
send_to_muted: 'false'
sampleformat: '48000:16:2'
http:
enabled: 'true'
doc_root: ' '
tcp:
enabled: 'true'
logging:
enabled: 'true'
server:
threads: '-1'
datadir: /share/snapcast/
Hello I'm facing this issue when i try to install this addon
The command '/bin/ash -o pipefail -c apk add --no-cache python2 py2-paho-mqtt bash curl wget tar && curl -L https://raw.githubusercontent.com/MartyTremblay/sip2mqtt/master/sip2mqtt.py -o sip2mqtt.py && apk add --no-cache --virtual .build4pjsip alpine-sdk && apk add --no-cache libsrtp-dev python2-dev openssl-dev opus-dev && cd && wget -qnv "http://www.pjsip.org/release/2.7.2/pjproject-2.7.2.tar.bz2" -O - | tar xjf - && cd pjproject-2.7.2 && ./configure --with-external-srtp --enable-shared --disable-sound --disable-oss --disable-sdl --disable-speex-aec --disable-video --prefix=/usr/local > /dev/null && make dep && make && make install && cd pjsip-apps/src/python && make && make install && cd && rm -rf pjproject-2.7.2 && apk del .build4pjsip' returned a non-zero code: 1
Can anyone please help me in order to solve this issue ? Thank and bets regards
HassOS - 3.12
Supervisor - 222
20-05-11 19:01:00 INFO (MainThread) [supervisor.addons] Create Home Assistant add-on data folder /data/addons/data/7d3aa1ca_sip2mqtt
20-05-11 19:01:00 INFO (SyncWorker_9) [supervisor.docker.addon] Start build 7d3aa1ca/armv7-addon-sip2mqtt:beta
20-05-11 19:01:17 ERROR (SyncWorker_9) [supervisor.docker.addon] Can't build 7d3aa1ca/armv7-addon-sip2mqtt:beta: The command '/bin/ash -o pipefail -c apk add --no-cache python2 py2-paho-mqtt bash curl wget tar && curl -L https://raw.githubusercontent.com/MartyTremblay/sip2mqtt/master/sip2mqtt.py -o sip2mqtt.py && apk add --no-cache --virtual .build4pjsip alpine-sdk && apk add --no-cache libsrtp-dev python2-dev openssl-dev opus-dev && cd && wget -qnv "http://www.pjsip.org/release/2.7.2/pjproject-2.7.2.tar.bz2" -O - | tar xjf - && cd pjproject-2.7.2 && ./configure --with-external-srtp --enable-shared --disable-sound --disable-oss --disable-sdl --disable-speex-aec --disable-video --prefix=/usr/local > /dev/null && make dep && make && make install && cd pjsip-apps/src/python && make && make install && cd && rm -rf pjproject-2.7.2 && apk del .build4pjsip' returned a non-zero code: 1
Trying to install sip2mqtt in latest Home Assistant on an Odroidc2 (aarch64) failed:
../../webrtc/src/webrtc//modules/audio_processing/aec/aec_core_sse2.c:15:10: fatal error: emmintrin.h: No such file or directory
Looks like it's trying to build webrtc with intrinisics for Intel SSE2.
Maybe disable WebRTC would help? (--disable-libwebrtc)
Hey there,
I added your repo and was able to successfully get snapserver and snapclient working, thank you! I'm having a problem with libspotify - after building and starting the container, I'm getting the error that libgcc_s.so.1 is missing. I'm not sure how to fix this?
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Start Librespot...
Error loading shared library libgcc_s.so.1: No such file or directory (needed by /usr/local/bin/librespot)
Error relocating /usr/local/bin/librespot: _Unwind_Resume: symbol not found
Error relocating /usr/local/bin/librespot: _Unwind_GetIPInfo: symbol not found
Error relocating /usr/local/bin/librespot: _Unwind_GetDataRelBase: symbol not found
Error relocating /usr/local/bin/librespot: _Unwind_GetRegionStart: symbol not found
Error relocating /usr/local/bin/librespot: _Unwind_SetGR: symbol not found
Error relocating /usr/local/bin/librespot: _Unwind_GetTextRelBase: symbol not found
Error relocating /usr/local/bin/librespot: _Unwind_DeleteException: symbol not found
Error relocating /usr/local/bin/librespot: _Unwind_RaiseException: symbol not found
Error relocating /usr/local/bin/librespot: _Unwind_GetIP: symbol not found
Error relocating /usr/local/bin/librespot: _Unwind_Backtrace: symbol not found
Error relocating /usr/local/bin/librespot: _Unwind_GetLanguageSpecificData: symbol not found
Error relocating /usr/local/bin/librespot: _Unwind_SetIP: symbol not found
[cmd] /run.sh exited 127
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
You can add an input stream to snapserver with a stream like:
- 'tcp://0.0.0.0:4953/?name=tcp_in'
But this being docker, we'd need a port forward into the container to see it.
With this in place, I reckon I'll be able to have a tannoy/public address like system. (especially with the meta:/// stream type coming in snapcast 0.22)
I just installed Hassio on a Raspi4 and now want to use Spotify Connect and Snapcast to cast the sound to snapcast clients. This repo looks perfect for it, but I don't understand how I can install it. I think I need to add this repo as an additional Hassio addon store, but I'm unsure how.
Could anyone help me out with a tip on how to use this code?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.