Mopidy service Youtube extension

Hi friends, I am begginer that sorry if my question is stupud :). I install mopidy few days ago. I followed docs.mopidy.com and my installation was successfully. I tryed to install YouTube extension… success again and everything was ok but only if mopidy runs in terminal. My problem is if i run mopidy as service, mopidy works but i cannot see any installed extensions. There are no any extension in serach in musicbox_webclient.

this is my mopidyctl config :
Running “/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf config” as user mopidy
[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 = 100
output = autoaudiosink
buffer_time =

[proxy]
scheme =
hostname =
port =
username =
password =

[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 = 192.168.88.65
port = 6001
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

[mpd]
enabled = true
hostname = 127.0.0.1
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

[youtube]
enabled = false ; Extension disabled by self check.

[musicbox_webclient]
enabled = true
musicbox = false
websocket_host =
websocket_port =
on_track_click = PLAY_ALL

I see “Extension disabled by self check” next to youtube

please help me, i can send everythig what you will need …

It looks like you get the “Extension disabled by self check” message if your config isn’t valid. If you have a look at the logs as Mopidy starts up you’ll hopefully see an error message telling you what the problem is.

hi this is my sudo journalctl -u mopidy

– Logs begin at Mon 2021-10-11 22:37:40 CEST, end at Mon 2021-10-11 22:40:14 CEST. –
okt 11 22:37:45 orangepipcplus systemd[1]: Starting Mopidy music server…
okt 11 22:37:46 orangepipcplus systemd[1]: Started Mopidy music server.
okt 11 22:37:50 orangepipcplus mopidy[1569]: INFO [MainThread] mopidy.main Starting Mopidy 3.0.1
okt 11 22:37:50 orangepipcplus mopidy[1569]: INFO [MainThread] mopidy.config Loading config from builtin defaults
okt 11 22:37:50 orangepipcplus mopidy[1569]: INFO [MainThread] mopidy.config Loading config from file:///usr/share/mopidy/conf.d/mopidy.conf
okt 11 22:37:50 orangepipcplus mopidy[1569]: INFO [MainThread] mopidy.config Loading config from file:///etc/mopidy/mopidy.conf
okt 11 22:37:50 orangepipcplus mopidy[1569]: INFO [MainThread] mopidy.config Loading config from command line options
okt 11 22:37:50 orangepipcplus mopidy[1569]: ERROR [MainThread] mopidy.internal.log Loading logging config ‘/etc/mopidy/logging.conf’ failed. ‘formatters’
okt 11 22:37:51 orangepipcplus mopidy[1569]: INFO [MainThread] mopidy.ext Disabled extension youtube: Mopidy>=3.1 required, but found Mopidy 3.0.1 at /usr/lib/python3/dist-packages
okt 11 22:37:51 orangepipcplus mopidy[1569]: INFO [MainThread] mopidy.main Enabled extensions: softwaremixer, stream, mpd, local-images, musicbox_webclient, file, http, m3u
okt 11 22:37:51 orangepipcplus mopidy[1569]: INFO [MainThread] mopidy.main Disabled extensions: youtube
okt 11 22:37:52 orangepipcplus mopidy[1569]: ERROR [MainThread] mopidy.main Extension local-images failed during setup. This might have left the registry in a bad state.
okt 11 22:37:52 orangepipcplus mopidy[1569]: Traceback (most recent call last):
okt 11 22:37:52 orangepipcplus mopidy[1569]: File “/usr/lib/python3/dist-packages/mopidy/main.py”, line 129, in main
okt 11 22:37:52 orangepipcplus mopidy[1569]: extension.setup(registry)
okt 11 22:37:52 orangepipcplus mopidy[1569]: File “/var/lib/mopidy/.local/lib/python3.8/site-packages/mopidy_local_images/init.py”, line 31, in setup
okt 11 22:37:52 orangepipcplus mopidy[1569]: from .library import ImageLibrary
okt 11 22:37:52 orangepipcplus mopidy[1569]: File “/var/lib/mopidy/.local/lib/python3.8/site-packages/mopidy_local_images/library.py”, line 12, in
okt 11 22:37:52 orangepipcplus mopidy[1569]: from mopidy import local
okt 11 22:37:52 orangepipcplus mopidy[1569]: ImportError: cannot import name ‘local’ from ‘mopidy’ (/usr/lib/python3/dist-packages/mopidy/init.py)
okt 11 22:37:52 orangepipcplus mopidy[1569]: INFO [MainThread] mopidy.commands Starting Mopidy mixer: SoftwareMixer
okt 11 22:37:52 orangepipcplus mopidy[1569]: INFO [MainThread] mopidy.commands Mixer volume set to 100
okt 11 22:37:52 orangepipcplus mopidy[1569]: INFO [MainThread] mopidy.commands Starting Mopidy audio
okt 11 22:37:52 orangepipcplus mopidy[1569]: INFO [MainThread] mopidy.commands Starting Mopidy backends: FileBackend, M3UBackend, StreamBackend
okt 11 22:37:52 orangepipcplus mopidy[1569]: INFO [MainThread] mopidy.commands Starting Mopidy core
okt 11 22:37:52 orangepipcplus mopidy[1569]: INFO [Audio-2] mopidy.audio.actor Audio output set to “autoaudiosink”
okt 11 22:37:52 orangepipcplus mopidy[1569]: INFO [MainThread] mopidy.commands Starting Mopidy frontends: HttpFrontend, MpdFrontend
okt 11 22:37:52 orangepipcplus mopidy[1569]: INFO [HttpFrontend-8] mopidy.http.actor HTTP server running at [::ffff:192.168.88.65]:6001
okt 11 22:37:52 orangepipcplus mopidy[1569]: INFO [MainThread] mopidy_mpd.actor MPD server running at [::ffff:127.0.0.1]:6600
okt 11 22:37:52 orangepipcplus mopidy[1569]: INFO [MainThread] mopidy.commands Starting GLib mainloop

Mopidy local images is not a Mopidy 3 compatible extension see GitHub - mopidy/mopidy-local-images: DEPRECATED (Mopidy local library proxy extension for handling embedded album art)

A list of compatible extensions can be found at Extensions

I installed extensions from mopidy.com/ext all time but youtube write same error yet. it is very interesting that i install tunein (i used this command : sudo python3 -m pip install Mopidy -TuneIn) everything is ok tunein works perfect. but youtube not :(((( i tryed everything reboot orange pi, restart service, uninstall, install again, change settings but nothing works for me :rage: anybody some idea please ?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.