Giter Club home page Giter Club logo

hassio-addons's Introduction

Forked-DAAPD

Based on johnpdowling's addon, with spotify, chromecast and airplay added. The configuration tab isn't implemented yet, you will need to edit the config file in /share/forked-daapd/forked-daapd.conf if you want to change anything. The defaults should work fine for most uses.

Ingress should work out of the box if you're accessing home assistant directly, if you're going through a reverse proxy of some kind you'll need to redirect port 3688 for the ui's websockets. if you have any issues you can access the web interface on port 3689.

Note that Spotify support is not available on aarch64.

Note that the avahi-daemon addon is required if you're using the latest versions of Hassos.

Raspotify

Spotify connect server, see the github page for more info. Isn't built with pulseaudio, if there is any interest I could probably add that, let me know.

Configurable through the supervisor interface. Username and password are optional, if you just want to cast locally from your phone you can leave them blank.

Works great with Forked-DAAPD through a pipe, just use

backend: pipe
device: /share/forked-daapd/music/Raspotify

in the add-on configuration.

Read the full add-on documentation.

Avahi-Daemon

The newer versions of Hassos have moved form avahi to systemd-resolved, which is not compatible with forked-daapd. This addon should allow forked-daapd, and any other addon that depends on avahi, to work.

Radicale

Fully working radicale server, again with no config from the interface. The htpasswd users file must be /share/radicale/users and passwords must be hashed in md5. Ingress does not work, but the web interface can be found on port 5232.

hassio-addons's People

Contributors

fredrikbaberg avatar marecabo avatar ulrar avatar

Stargazers

 avatar  avatar  avatar  avatar  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

hassio-addons's Issues

Local playback does not work on arm

When selecting Built-in Audio Stereo as output in the addon configuration, local playback (speaker: "Computer") does not work and fails with these messages in the log:

Addon Audio Config

image

Log on RPi3B+ 32bit (armv7)

[  LOG]   laudio: Cannot open shared library /usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_ctl_pulse.so ((null): /usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_ctl_pulse.so: cannot open shared object file: No such file or directory)
[  LOG]   laudio: Failed to attach mixer 'default': No such device or address
[  LOG]   laudio: Could not open mixer 'default' ('(null)')

Log on RPi4B 64bit (aarch64)

[  LOG]   laudio: Cannot open shared library /usr/lib/aarch64-linux-gnu/alsa-lib/libasound_module_ctl_pulse.so ((null): /usr/lib/aarch64-linux-gnu/alsa-lib/libasound_module_ctl_pulse.so: cannot open shared object file: No such file or directory)
[  LOG]   laudio: Failed to attach mixer 'default': No such device or address
[  LOG]   laudio: Could not open mixer 'default' ('(null)')

Logs create huge files

I got a message that I have less then 1 GB free, when I removed the forked-daapd plugin, I suspect the logs are stored and are creating huge files

Can't Install Raspotify

Hi there, thanks for these addons! But I am having trouble getting Raspotify going. It doesn't say much, just:

Failed to install addon, Unknown Error, see logs

20-08-03 20:49:54 INFO (SyncWorker_7) [supervisor.docker.addon] Start build e4ac757a/armv7-addon-raspotify:dev 20-08-03 20:50:00 ERROR (SyncWorker_7) [supervisor.docker.addon] Can't build e4ac757a/armv7-addon-raspotify:dev: The command '/bin/bash -o pipefail -c git clone git://github.com/librespot-org/librespot.git /tmp/librespot && cd /tmp/librespot && git config --global user.name build && git config --global user.email "[email protected]" && git apply /tmp/metadata-pipe.patch' returned a non-zero code: 1

Any ideas what this is about?

Can not install Forked DAAPD addon

De installatie van de invoegtoepassing is mislukt
The command '/bin/bash -o pipefail -c 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#/share/forked-daapd/music#g forked-daapd.conf && sed -i s#/usr/local/var/cache/forked-daapd/songs3.db#/share/forked-daapd/cache/songs3.db#g forked-daapd.conf && sed -i s#/usr/local/var/cache/forked-daapd/cache.db#/share/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 && sed -i "/airplay_shared/ s/# *//" forked-daapd.conf && sed -i "/control_port\ =/ s/#/ /" forked-daapd.conf && sed -i "/timing_port\ =/ s/#/ /" forked-daapd.conf && sed -i "/timing_port/{N;s/\n#/\n/}" forked-daapd.conf && sed -i "s/\(control_port =\).*/\1 3690/" forked-daapd.conf && sed -i "s/\(timing_port =\).*/\1 3691/" forked-daapd.conf && sed -i "/type\ =/ s/#/ /" forked-daapd.conf && sed -i 's/\(type =\).*/\1 "pulseaudio"/' forked-daapd.conf' returned a non-zero code: 2
## System Health

version | core-2021.5.4
-- | --
installation_type | Home Assistant OS
dev | false
hassio | true
docker | true
virtualenv | false
python_version | 3.8.9
os_name | Linux
os_version | 5.4.109
arch | x86_64
timezone | Europe/Brussels

<details><summary>Home Assistant Community Store</summary>

GitHub API | ok
-- | --
Github API Calls Remaining | 4568
Installed Version | 1.12.3
Stage | running
Available Repositories | 900
Installed Repositories | 30

</details>

<details><summary>Home Assistant Supervisor</summary>

host_os | Home Assistant OS 5.13
-- | --
update_channel | beta
supervisor_version | supervisor-2021.04.3
docker_version | 19.03.15
disk_total | 457.7 GB
disk_used | 67.6 GB
healthy | true
supported | true
board | intel-nuc
supervisor_api | ok
version_api | ok
installed_addons | Samba share (9.3.1), AdGuard Home (4.0.0), AppDaemon 4 (0.6.0), Caddy (1.6), Check Home Assistant configuration (3.7.1), Duck DNS (1.12.5), ESPHome (1.17.2), Mosquitto broker (5.1.1), Visual Studio Code (3.3.1), WireGuard (0.5.1), MariaDB (2.3.0), Samba Backup (4.5.0), InfluxDB (4.0.6), Grafana (6.3.4), Frigate NVR (1.13), SSH & Web Terminal (8.2.1), Metabase (0.2.1)

</details>

<details><summary>Lovelace</summary>

dashboards | 2
-- | --
resources | 17
views | 16
mode | storage

</details>

Forked-daapd: 502 Bad Gateway

Hey, I installed the forked-daapd in HA but I can't open the WebUI over http://homeassistant.local:8123/e4ac757a_forked-daapd or connect over the integration. I get only a 502: Bad Gateway.
In the supervisor log I found this issues:

21-02-14 11:07:30 ERROR (MainThread) [supervisor.api.security] Invalid token for access /host/info
21-02-14 11:09:32 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
21-02-14 11:09:36 ERROR (MainThread) [supervisor.api.ingress] Ingress error: Cannot connect to host 172.30.32.1:1337 ssl:default [Connect call failed ('172.30.32.1', 1337

What can I do?

Lag Issue, possibly related to this error?

I am getting this error a ton in my Raspotify logs. Forked-Daapd is also reporting that it's not getting sufficient data.

[2020-09-16T14:37:51Z WARN libmdns::fsm] couldn't parse packet from V4(172.30.32.1:5353): type 47 is invalid

It's in there a LOT.

Any suggestions?

Boot problem

Hey Ulrar,

Since few days, Forked Daapd addon doesn't work anymore.

At startup, I can see this logs:

  • Cache deinit
  • Worker deinit
  • Database deinit
  • mDNS deinit

and...Exiting

After that, the addon loops again and again.

I already uninstalled addon, removed repo,, and all the files in /share.

Have you got an idea?

Thank you.

HA Log is full of INFO (Thread-21) [pyhap.hap_server] messages

I attempted to install the forked-daapd unsucessfully. Had the same issue as #22

However, now i see that there are hundreds of this message in the log
2021-03-02 09:04:18 INFO (Thread-21) [pyhap.hap_server] <IP ADDRESS> - "GET /characteristics?id=2065826436.7 HTTP/1.1" 207 -

I seem to be getting about 50 per second, and the IP address is my homepod

Forked-daapd ingress

I'm pushing a first try at ingress. It seems to work pretty well if you're accessing HA directly, as far as I can tell at least.

On the other hand if you're accessing HA through some reverse proxy (I'm using HAProxy on my router with SSL offloading) it's a bit trickier for the websockets, you either need a very long timeout or ideally I might add support for SSL directly into the addon's nginx, that way it could be done with a TCP backend. Not sure how the nabu casa works, I suspect it'll have the same issue.
I'm opening this to track it, I'm open to suggestions of course.

I need to play around with it a bit more but in the meantime for people with simpler setup this should work just fine.
Please let me know here if you have any problems with it.

Maybe add a license?

Would you mind adding a license to this project? For another project I recently learned, that it can have disadvantages of not having a license for one's open source projects, see https://choosealicense.com/no-permission.

The MIT License seems to be widely used for Hassio add-ons so it would be the first I'd suggest. Also the forked-daapd addon from johnpdowling is licensed under it as well.

You can find boilerplate license templates here: https://choosealicense.com/licenses

Support for other arch types

Hi,

Thanks for your work on this! Is it possible to add support for other arch types? I think the config.json file needs to be updated. Currently it's like this:
"arch": [ "armv7" ],
This results on me getting the "This add-on is not available on your system" message.

I'm currently running Home Assistant Supervised in Ubuntu 18.04.

Let me know if you need more info. Thanks!

Airplay Issues

Hi Ulrar,

First, congratulations for your addons. Forked Daapd on Hassio with Spotify is what I aimed for a long time.

After installed it I wanted to test immediately on my 3 Airplay outputs.

2 of them don't work. I can't connect ('failed to activate' on log) and for the third (Airfoil Satellite on Windows), I can see the connexion (Artwork, music name, and audio modulation)...but no sound.

I'm on a Synology Hassio package...so ARM I presume (=> and Hassio is in Docker on Synology DSM).

Thanks a lot,

A french noob :)

Cannot Install Forked-DAAPD add-on

Home Assistant : core-2021.5.3
Home Assistant OS 5.13

This is the error that shows up when I try to install the add-on

The command '/bin/bash -o pipefail -c 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#/share/forked-daapd/music#g forked-daapd.conf && sed -i s#/usr/local/var/cache/forked-daapd/songs3.db#/share/forked-daapd/cache/songs3.db#g forked-daapd.conf && sed -i s#/usr/local/var/cache/forked-daapd/cache.db#/share/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 && sed -i "/airplay_shared/ s/# *//" forked-daapd.conf && sed -i "/control_port\ =/ s/#/ /" forked-daapd.conf && sed -i "/timing_port\ =/ s/#/ /" forked-daapd.conf && sed -i "/timing_port/{N;s/\n#/\n/}" forked-daapd.conf && sed -i "s/\(control_port =\).*/\1 3690/" forked-daapd.conf && sed -i "s/\(timing_port =\).*/\1 3691/" forked-daapd.conf && sed -i "/type\ =/ s/#/ /" forked-daapd.conf && sed -i 's/\(type =\).*/\1 "pulseaudio"/' forked-daapd.conf' returned a non-zero code: 2

This is what was in the supervisor logs

---> 1007b394157a
Step 10/34 : FROM base AS builder
 ---> 1007b394157a
Step 11/34 : ARG BUILD_ARCH
 ---> Using cache
 ---> ce65e2d662a0
Step 12/34 : RUN mkdir -p /usr/share/man/man1
 ---> Using cache
 ---> b7211f189bbe
Step 13/34 : RUN apt-get update -y && apt-get install -y --no-install-recommends     ${BUILD_DEPS}     && if [ ! "$BUILD_ARCH" = "aarch64" ] ; then         apt-get install -y --no-install-recommends         ${BUILD_DEPS_NO_AARCH64};     fi     && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> e029df27d8ce
Step 14/34 : RUN 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
 ---> Using cache
 ---> 3c240db506be
Step 15/34 : WORKDIR /tmp/forked-daapd
 ---> Using cache
 ---> a302120013c6
Step 16/34 : RUN git clone --depth 1 https://github.com/ejurgensen/forked-daapd.git .     && autoreconf -fi     && if [ ! "$BUILD_ARCH" = "aarch64" ] ; then         ./configure         --enable-itunes         --enable-chromecast         --with-pulseaudio         --enable-spotify         --with-libwebsockets;     else         ./configure         --enable-itunes         --enable-chromecast         --with-pulseaudio         --with-libwebsockets;     fi     && make 	&& make install DESTDIR=/tmp/forked-daapd-install
 ---> Using cache
 ---> 339bca95d7c1
Step 17/34 : FROM base AS runner
 ---> 1007b394157a
Step 18/34 : ARG BUILD_ARCH
 ---> Using cache
 ---> ce65e2d662a0
Step 19/34 : COPY --from=builder /tmp/forked-daapd-install /
 ---> Using cache
 ---> ddf7c2cabb7c
Step 20/34 : RUN apt-get update -y && apt-get install -y --no-install-recommends     ${RUN_DEPS} nginx     && if [ ! "$BUILD_ARCH" = "aarch64" ] ; then         apt-get install -y --no-install-recommends         ${RUN_DEPS_NO_AARCH64};     fi     && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 0af304cffff7
Step 21/34 : WORKDIR /usr/local/etc
 ---> Using cache
 ---> ba6d4b5b9ca7
Step 22/34 : RUN 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#/share/forked-daapd/music#g forked-daapd.conf     && sed -i s#/usr/local/var/cache/forked-daapd/songs3.db#/share/forked-daapd/cache/songs3.db#g forked-daapd.conf     && sed -i s#/usr/local/var/cache/forked-daapd/cache.db#/share/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     && sed -i "/airplay_shared/ s/# *//" forked-daapd.conf     && sed -i "/control_port\ =/ s/#/ /" forked-daapd.conf     && sed -i "/timing_port\ =/ s/#/ /" forked-daapd.conf     && sed -i "/timing_port/{N;s/\n#/\n/}" forked-daapd.conf     && sed -i "s/\(control_port =\).*/\1 3690/" forked-daapd.conf     && sed -i "s/\(timing_port =\).*/\1 3691/" forked-daapd.conf     && sed -i "/type\ =/ s/#/ /" forked-daapd.conf     && sed -i 's/\(type =\).*/\1 "pulseaudio"/' forked-daapd.conf
 ---> Running in 07c37defa2ae
sed: can't read forked-daapd.conf: No such file or directory

Removing intermediate container 07c37defa2ae

Forked-daapd not Connecting to Spotify Account

I have forked-daapd installed and running. In forked-daapd settings, it appears that I successfully connected to my Spotify Premium account, however, when perform a search in forked-daapd no Spotify results are returned. I have tried to connect via Spotify Web API in forked-daapd settings, however, when I click on the Authorize Web API button, nothing happens. I checked the logs and am seeing multiple messages that "No Spotify refresh token was found".

Addon won't start in combination with Home Assistant OS 5.8

Since I upgraded to Home Assistant OS 5.8, the addon can't succesfully start anymore. I hope you can assist, thanks in advance!

[2020-12-15 09:02:28] [ LOG] lib: Library init scan completed in 7 sec (200 changes) [ LOG] lib: Library init scan completed in 7 sec (200 changes) [2020-12-15 09:02:29] [ LOG] main: Cache deinit [ LOG] main: Cache deinit [ LOG] main: Worker deinit [ LOG] main: Database deinit [2020-12-15 09:02:29] [ LOG] main: Worker deinit [2020-12-15 09:02:29] [ LOG] main: Database deinit [2020-12-15 09:02:29] [ LOG] main: mDNS deinit [2020-12-15 09:02:29] [ LOG] main: Exiting. [ LOG] main: mDNS deinit [ LOG] main: Exiting. [09:02:29] INFO: Starting the forked-daapd Server... [2020-12-15 09:02:29] [ LOG] main: Forked Media Server Version 27.2 taking off [2020-12-15 09:02:29] [ LOG] main: Built with: [ LOG] main: Forked Media Server Version 27.2 taking off [2020-12-15 09:02:29] [ LOG] main: - ffmpeg [ LOG] main: Built with: [2020-12-15 09:02:29] [ LOG] main: - iTunes XML [ LOG] main: - ffmpeg [2020-12-15 09:02:29] [ LOG] main: - Spotify [ LOG] main: - iTunes XML [2020-12-15 09:02:29] [ LOG] main: - LastFM [ LOG] main: - Spotify [2020-12-15 09:02:29] [ LOG] main: - Chromecast [ LOG] main: - LastFM [2020-12-15 09:02:29] [ LOG] main: - MPD [ LOG] main: - Chromecast [2020-12-15 09:02:29] [ LOG] main: - Device verification [ LOG] main: - MPD [2020-12-15 09:02:29] [ LOG] main: - Websockets [ LOG] main: - Device verification [2020-12-15 09:02:29] [ LOG] main: - ALSA [ LOG] main: - Websockets [2020-12-15 09:02:29] [ LOG] main: - Pulseaudio [ LOG] main: - ALSA [2020-12-15 09:02:29] [ LOG] main: - Webinterface [ LOG] main: - Pulseaudio [ LOG] main: - Webinterface [ LOG] main: - Regex [2020-12-15 09:02:29] [ LOG] main: - Regex [2020-12-15 09:02:29] [ LOG] main: mDNS init [ LOG] main: mDNS init [ LOG] mdns: Avahi state change: Client connecting [ LOG] db: Configured to use database file '/share/forked-daapd/cache/songs3.db' [2020-12-15 09:02:29] [ LOG] mdns: Avahi state change: Client connecting [2020-12-15 09:02:29] [ LOG] db: Configured to use database file '/share/forked-daapd/cache/songs3.db' [ LOG] db: Now vacuuming database, this may take some time... [2020-12-15 09:02:29] [ LOG] db: Now vacuuming database, this may take some time... [ LOG] db: Database OK with 1001 active files and 6 active playlists [2020-12-15 09:02:30] [ LOG] db: Database OK with 1001 active files and 6 active playlists [ LOG] mdns: Failed to create service browser: Bad state [ LOG] raop: Could not add mDNS browser for AirPlay devices [2020-12-15 09:02:30] [ LOG] mdns: Failed to create service browser: Bad state [2020-12-15 09:02:30] [ LOG] raop: Could not add mDNS browser for AirPlay devices [ LOG] mdns: Failed to create service browser: Bad state [ LOG] cast: Could not add mDNS browser for Chromecast devices [2020-12-15 09:02:30] [ LOG] mdns: Failed to create service browser: Bad state [2020-12-15 09:02:30] [ LOG] cast: Could not add mDNS browser for Chromecast devices [ LOG] scan: Scanned 200 files... [2020-12-15 09:02:30] [ LOG] scan: Scanned 200 files... [ LOG] mdns: Failed to create service browser: Bad state [FATAL] remote: Could not browse for Remote services [FATAL] main: Remote pairing service failed to start [ LOG] main: MPD deinit [2020-12-15 09:02:30] [ LOG] mdns: Failed to create service browser: Bad state [2020-12-15 09:02:30] [FATAL] remote: Could not browse for Remote services [2020-12-15 09:02:30] [FATAL] main: Remote pairing service failed to start [2020-12-15 09:02:30] [ LOG] main: MPD deinit [ LOG] main: HTTPd deinit [2020-12-15 09:02:30] [ LOG] main: HTTPd deinit [ LOG] scan: Scanned 400 files... [2020-12-15 09:02:31] [ LOG] scan: Scanned 400 files... [ LOG] scan: Scanned 600 files... [2020-12-15 09:02:31] [ LOG] scan: Scanned 600 files... [2020-12-15 09:02:31] [ LOG] main: Player deinit [ LOG] main: Player deinit [2020-12-15 09:02:32] [ LOG] scan: Scanned 800 files... [ LOG] scan: Scanned 800 files... [2020-12-15 09:02:32] [ LOG] scan: Scanned 1000 files... [ LOG] scan: Scanned 1000 files... [2020-12-15 09:02:32] [ LOG] main: Library scanner deinit [ LOG] main: Library scanner deinit [2020-12-15 09:02:32] [ LOG] spotify: No spotify refresh token found [ LOG] spotify: No spotify refresh token found [ LOG] spotify: Spotify webapi token refresh failed. In order to use the web api, authorize forked-daapd to access your saved tracks by visiting http://forked-daapd.local:3689 [2020-12-15 09:02:32] [ LOG] spotify: Spotify webapi token refresh failed. In order to use the web api, authorize forked-daapd to access your saved tracks by visiting http://forked-daapd.local:3689 [2020-12-15 09:02:32] [ LOG] lib: Library init scan completed in 2 sec (1 changes) [ LOG] lib: Library init scan completed in 2 sec (1 changes) [ LOG] main: Cache deinit [2020-12-15 09:02:33] [ LOG] main: Cache deinit [2020-12-15 09:02:33] [ LOG] main: Worker deinit [ LOG] main: Worker deinit [2020-12-15 09:02:33] [ LOG] main: Database deinit [ LOG] main: Database deinit [ LOG] main: mDNS deinit [2020-12-15 09:02:33] [ LOG] main: mDNS deinit [2020-12-15 09:02:33] [ LOG] main: Exiting. [ LOG] main: Exiting.

And the above seems to repeat itself indefinitely.

Pipe needs to exist for Raspotify addon?

Thanks a lot for the hint on using Raspotify with a pipe to Forked-DAAPD. Finally multiroom audio from Spotify! ๐Ÿฅณ Now I just need multiple rooms...

Anyway, I noticed that the pipe needs to exist and does not get created when launching Raspotify for the first time, else this error comes up:

Long Error Log
[15:21:54] INFO: Starting the raspotify Server...
[2020-06-07T13:22:35Z INFO  librespot] librespot (raspotify v0.14.0) 3672214 (2020-01-30). Built on 2020-02-16. Build ID: 7pZDdYUK
[2020-06-07T13:22:36Z INFO  librespot_core::session] Connecting to AP "gew1-accesspoint-b-zqpq.ap.spotify.com:4070"
[2020-06-07T13:22:37Z INFO  librespot_core::session] Authenticated as "***" !
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:1188:5
stack backtrace:
[2020-06-07T13:22:38Z INFO  librespot_core::session] Country: "**"
   0:   0x9513a4 - backtrace::backtrace::libunwind::trace::hb1e9954dcc6e7c1f
                       at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/libunwind.rs:88
   1:   0x9513a4 - backtrace::backtrace::trace_unsynchronized::h1b198a73034a9734
                       at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/mod.rs:66
   2:   0x9513a4 - std::sys_common::backtrace::_print_fmt::hf691518b63d0b79d
                       at src/libstd/sys_common/backtrace.rs:84
   3:   0xae13a4 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::he6a16924c7e1913e
                       at src/libstd/sys_common/backtrace.rs:61
   4:   0xb03ca4 - core::fmt::write::hc426988e4c4119a8
                       at src/libcore/fmt/mod.rs:1025
   5:   0xadbff0 - std::io::Write::write_fmt::h34e90dde595ba7cd
                       at src/libstd/io/mod.rs:1426
   6:   0xae3954 - std::sys_common::backtrace::_print::h406863a8800396cd
                       at src/libstd/sys_common/backtrace.rs:65
   7:   0xae3954 - std::sys_common::backtrace::print::hec570bc9fdd6a536
                       at src/libstd/sys_common/backtrace.rs:50
   8:   0xae3954 - std::panicking::default_hook::{{closure}}::hf187be78db8e291b
                       at src/libstd/panicking.rs:193
   9:   0xae35b4 - std::panicking::default_hook::h9634e45fc0d61ba6
                       at src/libstd/panicking.rs:210
  10:   0xae4030 - std::panicking::rust_panic_with_hook::h35923fdea5783220
                       at src/libstd/panicking.rs:471
  11:   0xae3c48 - rust_begin_unwind
                       at src/libstd/panicking.rs:375
  12:   0xaffac0 - core::panicking::panic_fmt::hd74e307162bc16e5
                       at src/libcore/panicking.rs:84
  13:   0xaffbac - core::result::unwrap_failed::h36f73057b442c0eb
                       at src/libcore/result.rs:1188
  14:   0x6ae378 - <librespot_playback::audio_backend::pipe::StdoutSink as librespot_playback::audio_backend::Open>::open::hba99211ee8370642
  15:   0x6c3308 - librespot_playback::audio_backend::mk_sink::hdcb616e92333a609
  16:   0x6042e4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h7c6871de616d8893
  17:   0x5ff78c - std::panicking::try::do_call::hac2a3db38490f7c2
  18:   0xaeb220 - __rust_maybe_catch_panic
                       at src/libpanic_unwind/lib.rs:78
  19:   0x620200 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h39f2cbdbe410812b
  20:   0xad4790 - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::hc0d20dd2593d70b4
                       at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src/liballoc/boxed.rs:1022
  21:   0xaea3e4 - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h81836ca2a42ca881
                       at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src/liballoc/boxed.rs:1022
  22:   0xaea3e4 - std::sys_common::thread::start_thread::hdbf450a6e252329e
                       at src/libstd/sys_common/thread.rs:13
  23:   0xaea3e4 - std::sys::unix::thread::Thread::new::thread_start::h5823a94baad158fb
                       at src/libstd/sys/unix/thread.rs:80
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', src/libcore/result.rs:1188:5
stack backtrace:
   0:   0xae13a4 - backtrace::backtrace::libunwind::trace::hb1e9954dcc6e7c1f
                       at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/libunwind.rs:88
   1:   0xae13a4 - backtrace::backtrace::trace_unsynchronized::h1b198a73034a9734
                       at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/mod.rs:66
   2:   0xae13a4 - std::sys_common::backtrace::_print_fmt::hf691518b63d0b79d
                       at src/libstd/sys_common/backtrace.rs:84
   3:   0xae13a4 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::he6a16924c7e1913e
                       at src/libstd/sys_common/backtrace.rs:61
   4:   0xb03ca4 - core::fmt::write::hc426988e4c4119a8
                       at src/libcore/fmt/mod.rs:1025
   5:   0xadbff0 - std::io::Write::write_fmt::h34e90dde595ba7cd
                       at src/libstd/io/mod.rs:1426
   6:   0xae3954 - std::sys_common::backtrace::_print::h406863a8800396cd
                       at src/libstd/sys_common/backtrace.rs:65
   7:   0xae3954 - std::sys_common::backtrace::print::hec570bc9fdd6a536
                       at src/libstd/sys_common/backtrace.rs:50
   8:   0xae3954 - std::panicking::default_hook::{{closure}}::hf187be78db8e291b
                       at src/libstd/panicking.rs:193
   9:   0xae35b4 - std::panicking::default_hook::h9634e45fc0d61ba6
                       at src/libstd/panicking.rs:210
  10:   0xae4030 - std::panicking::rust_panic_with_hook::h35923fdea5783220
                       at src/libstd/panicking.rs:471
  11:   0xae3c48 - rust_begin_unwind
                       at src/libstd/panicking.rs:375
  12:   0xaffac0 - core::panicking::panic_fmt::hd74e307162bc16e5
                       at src/libcore/panicking.rs:84
  13:   0xaffbac - core::result::unwrap_failed::h36f73057b442c0eb
                       at src/libcore/result.rs:1188
  14:   0x6a7e34 - librespot_playback::player::Player::load::h473baeba93a49d56
  15:   0x6686ec - librespot_connect::spirc::SpircTask::load_track::ha5e63470cf57912f
  16:   0x6655e4 - <librespot_connect::spirc::SpircTask as futures::future::Future>::poll::hb573aef2426969ea
  17:   0x618374 - <librespot::Main as futures::future::Future>::poll::h39e6051da7010f1e
  18:   0x5ffc40 - futures::task_impl::std::set::h4e51aae067d11534
  19:   0x61eb58 - <futures::future::lazy::Lazy<F,R> as futures::future::Future>::poll::h621a887d6837858e
  20:   0x5ffdd0 - futures::task_impl::std::set::h63a28574c80b5637
  21:   0x5fe060 - std::thread::local::LocalKey<T>::with::hd47ca4d010c74fa6
  22:   0x5fdd90 - std::thread::local::LocalKey<T>::with::ha85a14e62c57594b
  23:   0x5fdbe8 - std::thread::local::LocalKey<T>::with::h04965b1b1c7a9048
  24:   0x5fc3e4 - scoped_tls::ScopedKey<T>::set::hc4c1edb96d8883ef
  25:   0x6031a0 - tokio_core::reactor::Core::run::hffdc295949f1f25a
  26:   0x61ade4 - librespot::main::h0ed06a728ac2479f
  27:   0x61c980 - std::rt::lang_start::{{closure}}::h3ecc962e3fb4564b
  28:   0xae3ac4 - std::rt::lang_start_internal::{{closure}}::hc02935a73664ebd0
                       at src/libstd/rt.rs:52
  29:   0xae3ac4 - std::panicking::try::do_call::h9ca5184b6b3cc62d
                       at src/libstd/panicking.rs:292
  30:   0xaeb220 - __rust_maybe_catch_panic
                       at src/libpanic_unwind/lib.rs:78
  31:   0xae4484 - std::panicking::try::hc53e4a11b02f3299
                       at src/libstd/panicking.rs:270
  32:   0xae4484 - std::panic::catch_unwind::ha972c7f8a413a94c
                       at src/libstd/panic.rs:394
  33:   0xae4484 - std::rt::lang_start_internal::hdf6cc497202d2594
                       at src/libstd/rt.rs:51
  34:   0x61bdc4 - main
  35: 0xf7a44524 - __libc_start_main
[2020-06-07T13:22:39Z ERROR librespot_playback::player] Player thread panicked!
[15:22:39] INFO: Starting the raspotify Server...
[2020-06-07T13:22:39Z INFO  librespot] librespot (raspotify v0.14.0) 3672214 (2020-01-30). Built on 2020-02-16. Build ID: 7pZDdYUK
[2020-06-07T13:22:39Z INFO  librespot_core::session] Connecting to AP "gew1-accesspoint-b-kwbv.ap.spotify.com:4070"
[2020-06-07T13:22:39Z ERROR librespot] Could not connect to server: bytes remaining on stream

Fortunately, I could resolve it by executing

mkfifo -m 666 /share/forked-daapd/music/Raspotify

similar to L21 from a shell of the Forked-DAAPD addon.

Did the piping work for you without initially creating that file? ๐Ÿค”

does not work with home assistant integration

[  LOG]    httpd: Web interface request to '/api/config' denied: No password set in the config
[2020-07-19 21:50:01] [  LOG]    httpd: Web interface request to '/api/config' denied: No password set in the config

I tried localhost, hostname, docker ip, nothing works. I don't have the problem with https://github.com/Ulrar/hassio-addons so I'm pretty sure it's something in the nginx config.

Spotify not passing artwork through pipe

I think this might be related to Raspotify. The artwork is not coming into Forked-Daapd via the pipe.

Is it missing a setting in the configuration to pass the artwork along? I'm not really sure where to start here and any input would be appreciated!

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.