Giter Site home page Giter Site logo

custom_components's People

Contributors

chiu0602 avatar johnpdowling avatar sretalla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

custom_components's Issues

ERROR: Failed to install addon

When trying to install the add-on, I get this error:

The command '/bin/bash -o pipefail -c apk update && apk add --no-cache libcrypto1.1=1.1.1g-r0 libssl1.1=1.1.1g-r0 && apk add --no-cache --virtual deps1 alsa-lib-dev autoconf automake cmake avahi-dev bash bsd-compat-headers build-base confuse-dev curl curl-dev ffmpeg-dev file git gnutls-dev gperf json-c-dev libevent-dev libgcrypt-dev libplist-dev libsodium-dev libtool libunistring-dev openjdk7-jre-base protobuf-c-dev sqlite-dev && apk add --no-cache --virtual=deps2 --repository http://nl.alpinelinux.org/alpine/edge/testing libantlr3c-dev mxml-dev && apk add --no-cache avahi confuse dbus ffmpeg json-c libcurl libevent libgcrypt libplist libsodium libunistring libuv=1.29.1-r0 libuv-dev=1.29.1-r0 protobuf-c sqlite sqlite-libs openssl && apk add --no-cache --repository http://nl.alpinelinux.org/alpine/edge/testing libantlr3c mxml && curl -L -o /tmp/antlr-3.4-complete.jar http://www.antlr3.org/download/antlr-3.4-complete.jar && echo '#!/bin/bash' > /usr/local/bin/antlr3 && echo 'exec java -cp /tmp/antlr-3.4-complete.jar org.antlr.Tool "$@"' >> /usr/local/bin/antlr3 && chmod 775 /usr/local/bin/antlr3 && cd /tmp && git clone --branch "v3.2.2" --depth=1 https://github.com/warmcat/libwebsockets.git && cd /tmp/libwebsockets && cmake ./ -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=TRUE -DLWS_IPV6=ON -DLWS_STATIC_PIC=ON -DLWS_UNIX_SOCK=OFF -DLWS_WITH_LIBUV=ON -DLWS_WITH_SHARED=ON -DLWS_WITHOUT_TESTAPPS=ON && make && make install && cd /tmp && git clone https://github.com/ejurgensen/forked-daapd.git && cd /tmp/forked-daapd && autoreconf -fi && ./configure --enable-itunes --with-libwebsockets && make && make install && apk del --purge deps1 deps2 && rm -rf /usr/local/bin/antlr3 /tmp/* && cd /usr/local/etc && sed -i -e 's/\(uid.*=.*\)/uid = "root"/g' forked-daapd.conf && sed -i s#"ipv6 = yes"#"ipv6 = no"#g forked-daapd.conf && sed -i s#/srv/music#/config/forked-daapd/music#g forked-daapd.conf && sed -i s#/usr/local/var/cache/forked-daapd/songs3.db#/config/forked-daapd/cache/songs3.db#g forked-daapd.conf && sed -i s#/usr/local/var/cache/forked-daapd/cache.db#/config/forked-daapd/cache/cache.db#g forked-daapd.conf && sed -i s#/usr/local/var/log/forked-daapd.log#/dev/stdout#g forked-daapd.conf && sed -i "/websocket_port\ =/ s/# *//" forked-daapd.conf && sed -i "/trusted_networks\ =/ s/# *//" forked-daapd.conf && sed -i "/pipe_autostart\ =/ s/# *//" forked-daapd.conf && sed -i "/db_path\ =/ s/# *//" forked-daapd.conf && sed -i "/cache_path\ =/ s/# *//" forked-daapd.conf' returned a non-zero code: 99

tts

once I’ve sent a ‘say’ to the speakers, they turn off, and won’t easily turn back on again. Any ideas anyone why this might be?

Media players not working.

I installed this component and it pulled in the end points from my forked-daapd box as media players. However whenever I try to interact with them through the Developer Tools -> Services utility, nothing happens. Any tips or pointers to getting this to work would be helpful. Thanks.

Setup failed for forked-daapd: No setup function defined.

Hi @johnpdowling, I tried your custom component (which I was waiting/looking for months now). Great idea btw! :)

I added it to my Home Assistant configuration with "forked-daapd:" only, then I get this error on start:

Setup failed for forked-daapd: No setup function defined.

What can I do? How is this component correctly configured in my configuration.yaml?

Can't stream to AirPlay devices anymore with latest version of HA 2021.2.1

I now get:

Error executing script. Unexpected error for call_service at pos 4: Got unexpected return value: 'playlist: file:/srv/music/playlists/r1, Last-Modified: 2021-02-17T20:04:54Z, playlist: file:/srv/music/playlists/r2, Last-Modified: 2021-02-17T20:04:55Z, playlist: file:/srv/music/playlists/r3, Last-Modified: 2021-02-17T20:04:55Z, playlist: file:/srv/music/playlists/r4, Last-Modified: 2021-02-17T20:04:55Z, playlist: file:/srv/music/playlists/r4x, Last-Modified: 2021-02-17T20:04:56Z, playlist: file:/srv/music/playlists/r6, Last-Modified: 2021-02-17T20:04:55Z

Install Fails

Hello,

I tried installing this directly from your repo by adding it in "Supervisor > Add-on store > Repositories", selecting the "forked-daapd" add-on and clicking install. The installer fails and directs me to my log file which records this error:

20-09-30 20:56:21 ERROR (SyncWorker_0) [supervisor.docker.addon] Can't build a6b98bcd/armv7-addon-forked-daapd:0.0.2: The command '/bin/bash -o pipefail -c apk update && apk add --no-cache libcrypto1.1=1.1.1g-r0 libssl1.1=1.1.1g-r0 && apk add --no-cache --virtual deps1 alsa-lib-dev autoconf automake cmake avahi-dev bash bsd-compat-headers build-base confuse-dev curl curl-dev ffmpeg-dev file git gnutls-dev gperf json-c-dev libevent-dev libgcrypt-dev libplist-dev libsodium-dev libtool libunistring-dev openjdk7-jre-base protobuf-c-dev sqlite-dev && apk add --no-cache --virtual=deps2 --repository http://nl.alpinelinux.org/alpine/edge/testing libantlr3c-dev mxml-dev && apk add --no-cache avahi confuse dbus ffmpeg json-c libcurl libevent libgcrypt libplist libsodium libunistring libuv=1.29.1-r0 libuv-dev=1.29.1-r0 protobuf-c sqlite sqlite-libs openssl && apk add --no-cache --repository http://nl.alpinelinux.org/alpine/edge/testing libantlr3c mxml && curl -L -o /tmp/antlr-3.4-complete.jar http://www.antlr3.org/download/antlr-3.4-complete.jar && echo '#!/bin/bash' > /usr/local/bin/antlr3 && echo 'exec java -cp /tmp/antlr-3.4-complete.jar org.antlr.Tool "$@"' >> /usr/local/bin/antlr3 && chmod 775 /usr/local/bin/antlr3 && cd /tmp && git clone --branch "v3.2.2" --depth=1 https://github.com/warmcat/libwebsockets.git && cd /tmp/libwebsockets && cmake ./ -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=TRUE -DLWS_IPV6=ON -DLWS_STATIC_PIC=ON -DLWS_UNIX_SOCK=OFF -DLWS_WITH_LIBUV=ON -DLWS_WITH_SHARED=ON -DLWS_WITHOUT_TESTAPPS=ON && make && make install && cd /tmp && git clone https://github.com/ejurgensen/forked-daapd.git && cd /tmp/forked-daapd && autoreconf -fi && ./configure --enable-itunes --with-libwebsockets && make && make install && apk del --purge deps1 deps2 && rm -rf /usr/local/bin/antlr3 /tmp/* && cd /usr/local/etc && sed -i -e 's/\(uid.*=.*\)/uid = "root"/g' forked-daapd.conf && sed -i s#"ipv6 = yes"#"ipv6 = no"#g forked-daapd.conf && sed -i s#/srv/music#/config/forked-daapd/music#g forked-daapd.conf && sed -i s#/usr/local/var/cache/forked-daapd/songs3.db#/config/forked-daapd/cache/songs3.db#g forked-daapd.conf && sed -i s#/usr/local/var/cache/forked-daapd/cache.db#/config/forked-daapd/cache/cache.db#g forked-daapd.conf && sed -i s#/usr/local/var/log/forked-daapd.log#/dev/stdout#g forked-daapd.conf && sed -i "/websocket_port\ =/ s/# *//" forked-daapd.conf && sed -i "/trusted_networks\ =/ s/# *//" forked-daapd.conf && sed -i "/pipe_autostart\ =/ s/# *//" forked-daapd.conf && sed -i "/db_path\ =/ s/# *//" forked-daapd.conf && sed -i "/cache_path\ =/ s/# *//" forked-daapd.conf' returned a non-zero code: 1

Here are the details of my Raspberry Pi installation:

arch | armv7l
-- | --
chassis | embedded
dev | false
docker | true
docker_version | 19.03.11
hassio | true
host_os | HassOS 4.13
installation_type | Home Assistant OS
os_name | Linux
os_version | 4.19.127-v7l
python_version | 3.8.5
supervisor | 245
timezone | America/Los_Angeles
version | 0.115.2
virtualenv | false

Aside from the 112th word in the error which reads simply "confuse" I am not able to make heads or tails of this error. Does it mean anything to you? Is there something I can do differently to get this to install?

Thanks,
Samuel

How to create named pipe

In README.md, Installation:
Create a named pipe %config%/forked-daapd/HomeAssistantAnnounce

Question: How to create a named pipe? Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.