hassio-addons / addon-mopidy

Mopidy - Home Assistant Community Add-ons
https://addons.community
MIT License
71 stars 35 forks source link

Spotify addon not running #209

Closed PolestarWx closed 1 year ago

PolestarWx commented 1 year ago

Problem/Motivation

WARNING 2022-11-17 10:24:07,201 [388:MainThread] mopidy.__main__ Found soundcloud configuration errors. The extension has been automatically disabled: WARNING 2022-11-17 10:24:07,201 [388:MainThread] mopidy.__main__ soundcloud/auth_token must be set. WARNING 2022-11-17 10:24:07,202 [388:MainThread] mopidy.__main__ Please fix the extension configuration errors or disable the extensions to silence these messages. ERROR 2022-11-17 10:24:07,214 [388:MainThread] mopidy.__main__ Extension spotify failed during setup. This might have left the registry in a bad state. Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/mopidy/__main__.py", line 129, in main extension.setup(registry) File "/usr/local/lib/python3.7/dist-packages/mopidy_spotify/__init__.py", line 49, in setup from mopidy_spotify.backend import SpotifyBackend File "/usr/local/lib/python3.7/dist-packages/mopidy_spotify/backend.py", line 8, in <module> import spotify File "/usr/local/lib/python3.7/dist-packages/spotify/__init__.py", line 95, in <module> from spotify.album import * # noqa File "/usr/local/lib/python3.7/dist-packages/spotify/album.py", line 380, in <module> @serialized SystemError: ffi_prep_closure(): bad user_data (it seems that the version of the libffi library seen at runtime is different from the 'ffi.h' file seen at compile-time) ERROR 2022-11-17 10:24:07,274 [388:MainThread] mopidy.__main__ Extension youtube failed during setup. This might have left the registry in a bad state. Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/mopidy/__main__.py", line 129, in main extension.setup(registry) File "/usr/local/lib/python3.7/dist-packages/mopidy_youtube/__init__.py", line 39, in setup from .backend import YouTubeBackend, YouTubeCoreListener File "/usr/local/lib/python3.7/dist-packages/mopidy_youtube/backend.py", line 10, in <module> from mopidy_youtube.apis import youtube_api, youtube_japi, youtube_music File "/usr/local/lib/python3.7/dist-packages/mopidy_youtube/apis/youtube_music.py", line 7, in <module> from ytmusicapi import YTMusic ModuleNotFoundError: No module named 'ytmusicapi'

Expected behavior

- name: spotify/enabled
  value: "true"
- name: spotify/username
  value: **********
- name: spotify/password
  value: ********
- name: spotify/client_id
  value: *************
- name: spotify/client_secret
  value: **********
- name: spotify/bitrate
  value: "320"

Actual behavior

Fail to start

github-actions[bot] commented 1 year ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!