Can someone confirm me that has working youtube plugin?

I cannot get youtube plugin working, have confirmed that I can search youtube videos from within the mopidy, after clicking on video, video appears in queue but no sound. I have confirmed that gstreamer plays the sound on its own and yt-dlp works.

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 =
output = pulsesink server=127.0.0.1
buffer_time =

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

[local]
enabled = true
max_search_results = 100
media_dir = /mnt/hdd/MVShared/Audio/iTunes/
scan_timeout = 1000
scan_flush_threshold = 100
scan_follow_symlinks = false
included_file_extensions =
excluded_file_extensions =
.cue
.directory
.html
.jpeg
.jpg
.log
.nfo
.pdf
.png
.txt
.zip
directories =
Albums local:directory?type=album
Artists local:directory?type=artist
Composers local:directory?type=artist&role=composer
Genres local:directory?type=genre
Performers local:directory?type=artist&role=performer
Release Years local:directory?type=date&format=%25Y
Tracks local:directory?type=track
Last Week’s Updates local:directory?max-age=604800
Last Month’s Updates local:directory?max-age=2592000
timeout = 10
use_artist_sortname = false
album_art_files =
*.jpg
*.jpeg
*.png

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

[podcast]
enabled = true
browse_root = Podcasts.opml
browse_order = desc
lookup_order = asc
cache_size = 64
cache_ttl = 86400
timeout = 10

[tunein]
enabled = true
timeout = 5000
filter =

[youtube]
enabled = true
allow_cache =
youtube_api_key =
search_results = 30
playlist_max_videos = 20
api_enabled = false
channel_id =
musicapi_enabled = false
musicapi_cookie =
musicapi_cookiefile =
autoplay_enabled = true
strict_autoplay = false
max_autoplay_length = 600
max_degrees_of_separation = 3
youtube_dl_package = yt-dlp

[file]
enabled = true
media_dirs =
/mnt/hdd/MVShared/Audio/iTunes/
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 = 0.0.0.0
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
mikka@pi1:~ $ mopidy deps
Executable: /usr/bin/mopidy
Platform: Linux-6.6.74+rpt-rpi-v8-aarch64-with-glibc2.36
Python: CPython 3.11.2 from /usr/lib/python3.11
Mopidy: 3.4.2 from /usr/lib/python3/dist-packages
Mopidy-Local: 3.3.0 from /usr/local/lib/python3.11/dist-packages
Mopidy: 3.4.2 from /usr/lib/python3/dist-packages
Pykka: 3.1.1 from /usr/lib/python3/dist-packages
setuptools: 66.1.1 from /usr/lib/python3/dist-packages
uritools: 4.0.3 from /usr/local/lib/python3.11/dist-packages
Mopidy-MusicBox-Webclient: 3.1.0 from /usr/local/lib/python3.11/dist-packages
Mopidy: 3.4.2 from /usr/lib/python3/dist-packages
Pykka: 3.1.1 from /usr/lib/python3/dist-packages
setuptools: 66.1.1 from /usr/lib/python3/dist-packages
Mopidy-Podcast: 3.0.1 from /usr/local/lib/python3.11/dist-packages
Mopidy: 3.4.2 from /usr/lib/python3/dist-packages
Pykka: 3.1.1 from /usr/lib/python3/dist-packages
cachetools: 5.5.1 from /usr/local/lib/python3.11/dist-packages
setuptools: 66.1.1 from /usr/lib/python3/dist-packages
uritools: 4.0.3 from /usr/local/lib/python3.11/dist-packages
Mopidy-YouTube: 3.7 from /usr/local/lib/python3.11/dist-packages
beautifulsoup4: 4.13.1 from /usr/local/lib/python3.11/dist-packages
soupsieve: 2.6 from /usr/local/lib/python3.11/dist-packages
typing-extensions: 4.12.2 from /usr/local/lib/python3.11/dist-packages
cachetools: 5.5.1 from /usr/local/lib/python3.11/dist-packages
Mopidy: 3.4.2 from /usr/lib/python3/dist-packages
Pykka: 3.1.1 from /usr/lib/python3/dist-packages
requests: 2.28.1 from /usr/lib/python3/dist-packages
setuptools: 66.1.1 from /usr/lib/python3/dist-packages
Mopidy-TuneIn: 1.1.0 from /usr/local/lib/python3.11/dist-packages
Mopidy: 3.4.2 from /usr/lib/python3/dist-packages
Pykka: 3.1.1 from /usr/lib/python3/dist-packages
requests: 2.28.1 from /usr/lib/python3/dist-packages
setuptools: 66.1.1 from /usr/lib/python3/dist-packages
GStreamer: 1.22.0.0 from /usr/lib/python3/dist-packages/gi
Detailed information:
Python wrapper: python-gi 3.42.2
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
mikka@pi1:~ $

I just checked, it’s working for me with yt-dlp 2025.2.19 and the following config:

[youtube]
enabled = true
youtube_dl_package = yt_dlp

Have you had a look at the logs ? or tried playing different vids ? (yt-dlp may not work for all videos)

I have been debugging for several days, yt-dlp works outside mopidy, I can play audio from any youtube video via gstreamer. Only the playback from within the mopidy does not work. What all plugins do you have installed? Can I have a look at your whole config please? What audio server are you using?

See my full config, but I’m not sure it’ll be much useful.

This is running on “Raspbian GNU/Linux 11 (bullseye)”, I’m not sure exactly if audio is sent to pulseaudio or alsa.

mopidy --config /home/pi/.config/mopidy.conf config
WARNING  2025-03-16 10:37:35,405 [23080:MainThread] mopidy.config
  Ignoring config section 'spotify' because no matching extension was found
WARNING  2025-03-16 10:37:35,405 [23080:MainThread] mopidy.config
  Ignoring config section 'musicbox_webclient' because no matching extension was found
WARNING  2025-03-16 10:37:35,405 [23080:MainThread] mopidy.config
  Ignoring config section 'alsamixer' because no matching extension was found
ERROR    2025-03-16 10:37:35,408 [23080:MainThread] mopidy.internal.log
  Loading logging config '/etc/mopidy/logging.conf' failed. 'formatters'
[core]
cache_dir = ~/.cache/mopidy
config_dir = ~/.config/mopidy
data_dir = ~/.local/share/mopidy
max_tracklist_length = 10000
restore_state = true

[logging]
verbosity = 0
format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n  %(message)s
color = true
config_file = /etc/mopidy/logging.conf

[audio]
mixer = software
mixer_volume = 
output = autoaudiosink
buffer_time = 

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

[file]
enabled = true
media_dirs = 
  /home/data/Musique
excluded_file_extensions = 
  .jpeg
  .jpg
  .nfo
  .png
  .txt
  .m3u
  .M3u
  .cue
  .log
show_dotfiles = false
follow_symlinks = true
metadata_timeout = 1500

[http]
enabled = true
hostname = 0.0.0.0
port = 6680
zeroconf = Mopidy HTTP server on $hostname
allowed_origins = 
csrf_protection = false
default_app = mopidy

[m3u]
enabled = true
base_dir = 
default_encoding = latin-1
default_extension = .m3u8
playlists_dir = /home/data/Playlists

[softwaremixer]
enabled = true

[stream]
enabled = true
protocols = 
  http
  https
  mms
  rtmp
  rtmps
  rtsp
metadata_blacklist = 
timeout = 5000

[bookmarks]
enabled = true
sync_period = 500
max_bookmarks = 100
max_bookmark_length = 100000
max_store_items = 10
max_store_item_length = 1000
disable_limits = true

[local]
enabled = true
max_search_results = 100
media_dir = /home/data/Musique
scan_timeout = 1000
scan_flush_threshold = 100
scan_follow_symlinks = true
included_file_extensions = 
excluded_file_extensions = 
  .cue
  .directory
  .html
  .jpeg
  .jpg
  .log
  .nfo
  .pdf
  .png
  .txt
  .zip
directories = 
  Albums                  local:directory?type=album
  Artists                 local:directory?type=artist
  Composers               local:directory?type=artist&role=composer
  Genres                  local:directory?type=genre
  Performers              local:directory?type=artist&role=performer
  Release Years           local:directory?type=date&format=%25Y
  Tracks                  local:directory?type=track
  Last Week's Updates     local:directory?max-age=604800
  Last Month's Updates    local:directory?max-age=2592000
timeout = 10
use_artist_sortname = false
album_art_files = 
  *.jpg
  *.jpeg
  *.png

[mpd]
enabled = true
hostname = 0.0.0.0
port = 6600
password = 
max_connections = 20
connection_timeout = 60
zeroconf = Mopidy MPD server on $hostname
command_blacklist = 
  listall
  listallinfo
default_playlist_scheme = m3u

[scrobbler]
enabled = true
username = ouglop
password = ********

[youtube]
enabled = true
allow_cache = 
youtube_api_key = 
search_results = 15
playlist_max_videos = 20
api_enabled = false
channel_id = 
musicapi_enabled = false
musicapi_cookie = 
musicapi_cookiefile = 
autoplay_enabled = false
strict_autoplay = false
max_autoplay_length = 600
max_degrees_of_separation = 3
youtube_dl_package = yt_dlp

[debugrel]
enabled = true
enabled_until = 2025-03-12

[mowecl]
enabled = true
theme_type = light
background_color = #fdf6e3
text_color = #002b36
primary_color = #268bd2
seek_update_interval = 500
search_history_length = 10
disable_dnd = false
small_screen = false
key_play_pause = space+Control
key_next_track = ArrowRight
key_previous_track = 
key_rewind_track = ArrowLeft
key_volume_up = ArrowUp
key_volume_down = ArrowDown

[tidal]
enabled = true
quality = HIGH
client_id = 
client_secret = 
playlist_cache_refresh_secs = 0
lazy = false
login_method = AUTO
auth_method = OAUTH
login_server_port = 8989