Here i am!
Some notes: after starting mopidy as a service, in order to provide more infos on the log file, i executed locally:
- mpc add [track URI] - success;
- mpc play - not working;
- mpc next - success;
- mpc volume 70 - success.
This is the output of mopidyctl deps:
Running "/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf deps" as user mopidy
ERROR [MainThread] mopidy.ext Failed to load extension mopify: No module named 'mem'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mopidy/ext.py", line 209, in load_extensions
extension_class = entry_point.resolve()
File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 2451, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python3.7/dist-packages/mopidy_mopify/__init__.py", line 7, in <module>
import mem
ModuleNotFoundError: No module named 'mem'
ERROR [MainThread] mopidy.ext Failed to load extension material-webclient: invalid syntax (__init__.py, line 82)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mopidy/ext.py", line 209, in load_extensions
extension_class = entry_point.resolve()
File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 2451, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python3.7/dist-packages/mopidy_material_webclient/__init__.py", line 82
except (ConfigObjError, IOError), e:
^
SyntaxError: invalid syntax
Executable: /usr/bin/mopidy
Platform: Linux-4.19.97-v7+-armv7l-with-debian-10.3
Python: CPython 3.7.3 from /usr/lib/python3.7
Mopidy: 3.0.1 from /usr/lib/python3/dist-packages
Mopidy-MPD: 3.0.0 from /usr/local/lib/python3.7/dist-packages
setuptools: 45.2.0 from /usr/local/lib/python3.7/dist-packages
Pykka: 2.0.2 from /usr/lib/python3/dist-packages
Mopidy: 3.0.1 from /usr/lib/python3/dist-packages
Mopidy-Mopify: 1.6.1 from /usr/local/lib/python3.7/dist-packages
Mopidy: 3.0.1 from /usr/lib/python3/dist-packages
ConfigObj: 5.0.6 from /usr/local/lib/python3.7/dist-packages
six: 1.12.0 from /usr/lib/python3/dist-packages
setuptools: 45.2.0 from /usr/local/lib/python3.7/dist-packages
Mopidy-Spotify: 4.0.1 from /usr/lib/python3/dist-packages
Mopidy-MusicBox-Webclient: 3.0.1 from /usr/local/lib/python3.7/dist-packages
setuptools: 45.2.0 from /usr/local/lib/python3.7/dist-packages
Pykka: 2.0.2 from /usr/lib/python3/dist-packages
Mopidy: 3.0.1 from /usr/lib/python3/dist-packages
Mopidy-Local-Images: 1.0.0 from /usr/local/lib/python3.7/dist-packages
Mopidy: 3.0.1 from /usr/lib/python3/dist-packages
setuptools: 45.2.0 from /usr/local/lib/python3.7/dist-packages
Pykka: 2.0.2 from /usr/lib/python3/dist-packages
uritools: 3.0.0 from /usr/local/lib/python3.7/dist-packages
Mopidy-Iris: 3.0.0 from /usr/local/lib/python3.7/dist-packages/Mopidy_Iris-3.0.0-py3.7.egg
Mopidy: 3.0.1 from /usr/lib/python3/dist-packages
Pykka: 2.0.2 from /usr/lib/python3/dist-packages
setuptools: 45.2.0 from /usr/local/lib/python3.7/dist-packages
Mopidy-Material-Webclient: 0.2.1 from /usr/local/lib/python3.7/dist-packages
setuptools: 45.2.0 from /usr/local/lib/python3.7/dist-packages
Mopidy: 3.0.1 from /usr/lib/python3/dist-packages
wifi: 0.3.8 from /usr/local/lib/python3.7/dist-packages
setuptools: 45.2.0 from /usr/local/lib/python3.7/dist-packages
pbkdf2: 1.3 from /usr/local/lib/python3.7/dist-packages
GStreamer: 1.14.4.0 from /usr/lib/python3/dist-packages/gi
Detailed information:
Python wrapper: python-gi 3.30.4
Relevant elements:
Found:
uridecodebin
souphttpsrc
appsrc
alsasink
osssink
oss4sink
pulsesink
id3demux
id3v2mux
lamemp3enc
mpegaudioparse
mpg123audiodec
vorbisdec
vorbisenc
vorbisparse
oggdemux
oggmux
oggparse
flacdec
flacparse
shout2send
Not found:
flump3dec
mad
This the output of mopidyctl config:
Running "/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf config" as user mopidy
ERROR [MainThread] mopidy.ext Failed to load extension mopify: No module named 'mem'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mopidy/ext.py", line 209, in load_extensions
extension_class = entry_point.resolve()
File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 2451, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python3.7/dist-packages/mopidy_mopify/__init__.py", line 7, in <module>
import mem
ModuleNotFoundError: No module named 'mem'
ERROR [MainThread] mopidy.ext Failed to load extension material-webclient: invalid syntax (__init__.py, line 82)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mopidy/ext.py", line 209, in load_extensions
extension_class = entry_point.resolve()
File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 2451, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python3.7/dist-packages/mopidy_material_webclient/__init__.py", line 82
except (ConfigObjError, IOError), e:
^
SyntaxError: invalid syntax
[core]
cache_dir = /var/cache/mopidy
config_dir = /etc/mopidy
data_dir = /var/lib/mopidy
max_tracklist_length = 10000
restore_state = false
[logging]
verbosity = 0
format = %(levelname)-8s [%(threadName)s] %(name)s %(message)s
color = false
config_file =
[audio]
mixer = software
mixer_volume =
output = pulsesink
buffer_time =
[proxy]
scheme =
hostname =
port =
username =
password =
[musicbox_webclient]
enabled = true
musicbox = false
websocket_host =
websocket_port =
on_track_click = PLAY_ALL
[mpd]
enabled = true
hostname = ::
port = 6600
password =
max_connections = 20
connection_timeout = 60
zeroconf = Mopidy MPD server on $hostname
command_blacklist =
listall
listallinfo
default_playlist_scheme = m3u
[local-images]
enabled = true
library = json
base_uri = /images/
image_dir =
album_art_files =
*.jpg
*.jpeg
*.png
[iris]
enabled = true
country = NZ
locale = en_NZ
spotify_authorization_url = https://jamesbarnsley.co.nz/iris/auth_spotify.php
lastfm_authorization_url = https://jamesbarnsley.co.nz/iris/auth_lastfm.php
genius_authorization_url = https://jamesbarnsley.co.nz/iris/auth_genius.php
data_dir = $XDG_DATA_DIR/iris
[file]
enabled = true
media_dirs =
$XDG_MUSIC_DIR|Music
~/|Home
excluded_file_extensions =
.directory
.html
.jpeg
.jpg
.log
.nfo
.pdf
.png
.txt
.zip
show_dotfiles = false
follow_symlinks = false
metadata_timeout = 1000
[http]
enabled = true
hostname = ::
port = 6680
zeroconf = Mopidy HTTP server on $hostname
allowed_origins =
csrf_protection = true
default_app = mopidy
[m3u]
enabled = true
base_dir =
default_encoding = latin-1
default_extension = .m3u8
playlists_dir =
[softwaremixer]
enabled = true
[stream]
enabled = true
protocols =
http
https
mms
rtmp
rtmps
rtsp
metadata_blacklist =
timeout = 5000
[spotify]
enabled = true
username = ciao@radioraheem.it
password = ********
client_id = 521d7418-2bc9-457b-a332-e9ef159f03a7
client_secret = ********
bitrate = 160
volume_normalization = true
private_session = false
timeout = 10
allow_cache = true
allow_network = true
allow_playlists = true
search_album_count = 20
search_artist_count = 10
search_track_count = 50
toplist_countries =
This is the log (in bold i’m adding the mpc commands i ran):
feb 14 15:38:09 raheembox mopidy[28150]: INFO 2020-02-14 15:38:09,273 [28150:MainThread] mopidy.commands
feb 14 15:38:09 raheembox mopidy[28150]: GLib mainloop got SIGTERM. Exiting...
feb 14 15:38:09 raheembox mopidy[28150]: INFO 2020-02-14 15:38:09,275 [28150:MainThread] mopidy.commands
feb 14 15:38:09 raheembox mopidy[28150]: Stopping Mopidy frontends
feb 14 15:38:09 raheembox mopidy[28150]: INFO 2020-02-14 15:38:09,288 [28150:IrisFrontend-11] mopidy_iris.core
feb 14 15:38:09 raheembox mopidy[28150]: Stopping Iris
feb 14 15:38:09 raheembox mopidy[28150]: INFO 2020-02-14 15:38:09,304 [28150:MainThread] mopidy.commands
feb 14 15:38:09 raheembox mopidy[28150]: Stopping Mopidy core
feb 14 15:38:09 raheembox mopidy[28150]: INFO 2020-02-14 15:38:09,310 [28150:MainThread] mopidy.commands
feb 14 15:38:09 raheembox mopidy[28150]: Stopping Mopidy backends
feb 14 15:38:09 raheembox mopidy[28150]: INFO 2020-02-14 15:38:09,357 [28150:MainThread] mopidy.commands
feb 14 15:38:09 raheembox mopidy[28150]: Stopping Mopidy audio
feb 14 15:38:09 raheembox mopidy[28150]: INFO 2020-02-14 15:38:09,360 [28150:MainThread] mopidy.commands
feb 14 15:38:09 raheembox mopidy[28150]: Stopping Mopidy mixer
feb 14 15:38:09 raheembox systemd[1]: mopidy.service: Succeeded.
feb 14 15:38:43 raheembox systemd[1]: Starting Mopidy music server...
feb 14 15:38:43 raheembox systemd[1]: Started Mopidy music server.
feb 14 15:38:45 raheembox mopidy[29488]: INFO 2020-02-14 15:38:45,223 [29488:MainThread] mopidy.__main__
feb 14 15:38:45 raheembox mopidy[29488]: Starting Mopidy 3.0.1
feb 14 15:38:45 raheembox mopidy[29488]: ERROR 2020-02-14 15:38:45,477 [29488:MainThread] mopidy.ext
feb 14 15:38:45 raheembox mopidy[29488]: Failed to load extension mopify: No module named 'mem'
feb 14 15:38:45 raheembox mopidy[29488]: Traceback (most recent call last):
feb 14 15:38:45 raheembox mopidy[29488]: File "/usr/lib/python3/dist-packages/mopidy/ext.py", line 209, in load_extensions
feb 14 15:38:45 raheembox mopidy[29488]: extension_class = entry_point.resolve()
feb 14 15:38:45 raheembox mopidy[29488]: File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 2451, in resolve
feb 14 15:38:45 raheembox mopidy[29488]: module = __import__(self.module_name, fromlist=['__name__'], level=0)
feb 14 15:38:45 raheembox mopidy[29488]: File "/usr/local/lib/python3.7/dist-packages/mopidy_mopify/__init__.py", line 7, in <module>
feb 14 15:38:45 raheembox mopidy[29488]: import mem
feb 14 15:38:45 raheembox mopidy[29488]: ModuleNotFoundError: No module named 'mem'
feb 14 15:38:45 raheembox mopidy[29488]: ERROR 2020-02-14 15:38:45,487 [29488:MainThread] mopidy.ext
feb 14 15:38:45 raheembox mopidy[29488]: Failed to load extension material-webclient: invalid syntax (__init__.py, line 82)
feb 14 15:38:45 raheembox mopidy[29488]: Traceback (most recent call last):
feb 14 15:38:45 raheembox mopidy[29488]: File "/usr/lib/python3/dist-packages/mopidy/ext.py", line 209, in load_extensions
feb 14 15:38:45 raheembox mopidy[29488]: extension_class = entry_point.resolve()
feb 14 15:38:45 raheembox mopidy[29488]: File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 2451, in resolve
feb 14 15:38:45 raheembox mopidy[29488]: module = __import__(self.module_name, fromlist=['__name__'], level=0)
feb 14 15:38:45 raheembox mopidy[29488]: File "/usr/local/lib/python3.7/dist-packages/mopidy_material_webclient/__init__.py", line 82
feb 14 15:38:45 raheembox mopidy[29488]: except (ConfigObjError, IOError), e:
feb 14 15:38:45 raheembox mopidy[29488]: ^
feb 14 15:38:45 raheembox mopidy[29488]: SyntaxError: invalid syntax
feb 14 15:38:45 raheembox mopidy[29488]: INFO 2020-02-14 15:38:45,543 [29488:MainThread] mopidy.config
feb 14 15:38:45 raheembox mopidy[29488]: Loading config from builtin defaults
feb 14 15:38:45 raheembox mopidy[29488]: INFO 2020-02-14 15:38:45,549 [29488:MainThread] mopidy.config
feb 14 15:38:45 raheembox mopidy[29488]: Loading config from file:///etc/mopidy/mopidy.conf
feb 14 15:38:45 raheembox mopidy[29488]: INFO 2020-02-14 15:38:45,555 [29488:MainThread] mopidy.config
feb 14 15:38:45 raheembox mopidy[29488]: Loading config from command line options
feb 14 15:38:46 raheembox mopidy[29488]: INFO 2020-02-14 15:38:46,084 [29488:MainThread] mopidy.__main__
feb 14 15:38:46 raheembox mopidy[29488]: Enabled extensions: file, local-images, http, iris, softwaremixer, stream, mpd, m3u, spotify, musicbox_webclient
feb 14 15:38:46 raheembox mopidy[29488]: INFO 2020-02-14 15:38:46,084 [29488:MainThread] mopidy.__main__
feb 14 15:38:46 raheembox mopidy[29488]: Disabled extensions: none
feb 14 15:38:46 raheembox mopidy[29488]: ERROR 2020-02-14 15:38:46,138 [29488:MainThread] mopidy.__main__
feb 14 15:38:46 raheembox mopidy[29488]: Extension local-images failed during setup. This might have left the registry in a bad state.
feb 14 15:38:46 raheembox mopidy[29488]: Traceback (most recent call last):
feb 14 15:38:46 raheembox mopidy[29488]: File "/usr/lib/python3/dist-packages/mopidy/__main__.py", line 129, in main
feb 14 15:38:46 raheembox mopidy[29488]: extension.setup(registry)
feb 14 15:38:46 raheembox mopidy[29488]: File "/usr/local/lib/python3.7/dist-packages/mopidy_local_images/__init__.py", line 31, in setup
feb 14 15:38:46 raheembox mopidy[29488]: from .library import ImageLibrary
feb 14 15:38:46 raheembox mopidy[29488]: File "/usr/local/lib/python3.7/dist-packages/mopidy_local_images/library.py", line 12, in <module>
feb 14 15:38:46 raheembox mopidy[29488]: from mopidy import local
feb 14 15:38:46 raheembox mopidy[29488]: ImportError: cannot import name 'local' from 'mopidy' (/usr/lib/python3/dist-packages/mopidy/__init__.py)
feb 14 15:38:46 raheembox mopidy[29488]: INFO 2020-02-14 15:38:46,729 [29488:MainThread] mopidy.commands
feb 14 15:38:46 raheembox mopidy[29488]: Starting Mopidy mixer: SoftwareMixer
feb 14 15:38:46 raheembox mopidy[29488]: INFO 2020-02-14 15:38:46,734 [29488:MainThread] mopidy.commands
feb 14 15:38:46 raheembox mopidy[29488]: Starting Mopidy audio
feb 14 15:38:46 raheembox mopidy[29488]: INFO 2020-02-14 15:38:46,740 [29488:MainThread] mopidy.commands
feb 14 15:38:46 raheembox mopidy[29488]: Starting Mopidy backends: FileBackend, M3UBackend, StreamBackend, SpotifyBackend
feb 14 15:38:46 raheembox mopidy[29488]: INFO 2020-02-14 15:38:46,788 [29488:Audio-2] mopidy.audio.actor
feb 14 15:38:46 raheembox mopidy[29488]: Audio output set to "pulsesink"
feb 14 15:38:47 raheembox mopidy[29488]: INFO 2020-02-14 15:38:47,547 [29488:SpotifyEventLoop] mopidy_spotify.backend
feb 14 15:38:47 raheembox mopidy[29488]: Logged in to Spotify in online mode
feb 14 15:38:47 raheembox mopidy[29488]: INFO 2020-02-14 15:38:47,993 [29488:SpotifyBackend-6] mopidy_spotify.web
feb 14 15:38:47 raheembox mopidy[29488]: Logged into Spotify Web API as 33376sutmm0o2sn1af0oj4isb
feb 14 15:38:52 raheembox mopidy[29488]: INFO 2020-02-14 15:38:52,879 [29488:SpotifyBackend-6] mopidy_spotify.playlists
feb 14 15:38:52 raheembox mopidy[29488]: Refreshed 5 Spotify playlists
feb 14 15:38:52 raheembox mopidy[29488]: INFO 2020-02-14 15:38:52,880 [29488:MainThread] mopidy.commands
feb 14 15:38:52 raheembox mopidy[29488]: Starting Mopidy core
feb 14 15:38:52 raheembox mopidy[29488]: INFO 2020-02-14 15:38:52,910 [29488:MainThread] mopidy.commands
feb 14 15:38:52 raheembox mopidy[29488]: Starting Mopidy frontends: MpdFrontend, IrisFrontend, HttpFrontend
feb 14 15:38:52 raheembox mopidy[29488]: INFO 2020-02-14 15:38:52,915 [29488:MainThread] mopidy_mpd.actor
feb 14 15:38:52 raheembox mopidy[29488]: MPD server running at [::]:6600
feb 14 15:38:52 raheembox mopidy[29488]: INFO 2020-02-14 15:38:52,920 [29488:IrisFrontend-11] mopidy_iris.core
feb 14 15:38:52 raheembox mopidy[29488]: Starting Iris 3.0.0
feb 14 15:38:52 raheembox mopidy[29488]: INFO 2020-02-14 15:38:52,931 [29488:HttpFrontend-13] mopidy.http.actor
feb 14 15:38:52 raheembox mopidy[29488]: HTTP server running at [::]:6680
feb 14 15:38:52 raheembox mopidy[29488]: INFO 2020-02-14 15:38:52,931 [29488:MainThread] mopidy.commands
feb 14 15:38:52 raheembox mopidy[29488]: Starting GLib mainloop
feb 14 15:39:10 raheembox mopidy[29488]: INFO 2020-02-14 15:39:10,727 [29488:MpdSession-14] mopidy_mpd.session
***[MPC ADD COMMAND]***
feb 14 15:39:10 raheembox mopidy[29488]: New MPD connection from [::1]:46058
feb 14 15:39:15 raheembox mopidy[29488]: INFO 2020-02-14 15:39:15,348 [29488:MpdSession-15] mopidy_mpd.session
feb 14 15:39:15 raheembox mopidy[29488]: New MPD connection from [::1]:46060
feb 14 15:39:25 raheembox mopidy[29488]: INFO 2020-02-14 15:39:25,232 [29488:MpdSession-16] mopidy_mpd.session
***[MPC PLAY COMMAND]***
feb 14 15:39:25 raheembox mopidy[29488]: New MPD connection from [::1]:46062
feb 14 15:39:25 raheembox mopidy[29488]: WARNING 2020-02-14 15:39:25,292 [29488:Audio-2] mopidy.audio.actor
feb 14 15:39:25 raheembox mopidy[29488]: Setting GStreamer state to GST_STATE_PLAYING failed
feb 14 15:39:25 raheembox mopidy[29488]: ERROR 2020-02-14 15:39:25,295 [29488:MainThread] mopidy.audio.gst
feb 14 15:39:25 raheembox mopidy[29488]: GStreamer error: Failed to connect: Connection refused
feb 14 15:39:25 raheembox mopidy[29488]: WARNING 2020-02-14 15:39:25,298 [29488:Core-9] mopidy.core.tracklist
feb 14 15:39:25 raheembox mopidy[29488]: Track is not playable: spotify:track:0BBMVMzgOD5NKhjPgf1rVO
***[MPC NEXT COMMAND]***
feb 14 15:39:29 raheembox mopidy[29488]: INFO 2020-02-14 15:39:29,090 [29488:MpdSession-17] mopidy_mpd.session
feb 14 15:39:29 raheembox mopidy[29488]: New MPD connection from [::1]:46064
***[MPC VOLUME COMMAND]***
feb 14 15:39:34 raheembox mopidy[29488]: INFO 2020-02-14 15:39:34,410 [29488:MpdSession-18] mopidy_mpd.session
feb 14 15:39:34 raheembox mopidy[29488]: New MPD connection from [::1]:46066