mopidy
mopidy copied to clipboard
Mopidy web server stops responding after visiting youtube playlist
Describe the bug Mopidy web server stops responding completely after visiting youtube playlist
How to reproduce Visit youtube videos playlist
Expected behaviour Expected to survive
Environment Please complete the following information:
- Operating system (e.g. Raspberry Pi OS Buster)
- Running Mopidy as a service
- Your config (output of
sudo mopidyctl config
)
sudo 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 = pulsesink server=127.0.0.1
buffer_time =
[proxy]
scheme =
hostname =
port =
username =
password =
[ytmusic]
enabled = false ; Extension disabled by self check.
[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 =
autoplay_enabled = false
strict_autoplay = false
max_autoplay_length = 600
max_degrees_of_separation = 3
youtube_dl_package = yt_dlp
[soundcloud]
enabled = false ; Extension disabled due to config errors.
explore_songs = 25
auth_token = ; Must be set.
[pandora]
enabled = false ; Extension disabled due to config errors.
api_host = tuner.pandora.com/services/json/
partner_encryption_key = ; Must be set.
partner_decryption_key = ; Must be set.
partner_username = android
partner_password = ; Must be set.
partner_device = android-generic
username = ; Must be set.
password = ; Must be set.
preferred_audio_quality = highQuality
sort_order = a-z
auto_setup = true
cache_time_to_live = 86400
event_support_enabled = false
double_click_interval = 2.50
on_pause_resume_click = thumbs_up
on_pause_next_click = thumbs_down
on_pause_previous_click = sleep
on_pause_resume_pause_click = delete_station
[musicbox_webclient]
enabled = true
musicbox = false
websocket_host =
websocket_port =
on_track_click = PLAY_ALL
[iris]
enabled = true
country = NZ
locale = en_NZ
verify_certificates = true
snapcast_enabled = true
snapcast_host = localhost
snapcast_port = 1780
snapcast_ssl = false
snapcast_stream = Default
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
[tunein]
enabled = true
timeout = 5000
filter =
[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
- Software versions (output of
sudo mopidyctl deps
)
sudo mopidyctl deps
Running "/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf deps" as user mopidy
Executable: /usr/bin/mopidy
Platform: Linux-5.10.103-v8+-aarch64-with-debian-10.12
Python: CPython 3.7.3 from /usr/lib/python3.7
Mopidy: 3.3.0 from /usr/lib/python3/dist-packages
Mopidy-TuneIn: 1.1.0 from /usr/lib/python3/dist-packages
Mopidy-MusicBox-Webclient: 3.1.0 from /usr/local/lib/python3.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
Mopidy: 3.3.0 from /usr/lib/python3/dist-packages
Pykka: 2.0.3 from /usr/lib/python3/dist-packages
Mopidy-MPD: 3.3.0 from /usr/lib/python3/dist-packages
Mopidy-Pandora: 1.1.1 from /usr/local/lib/python3.7/dist-packages
pydora: 2.1.1 from /usr/local/lib/python3.7/dist-packages
blowfish: 0.6.1 from /usr/local/lib/python3.7/dist-packages
requests: 2.28.0 from /usr/local/lib/python3.7/dist-packages
idna: 2.6 from /usr/lib/python3/dist-packages
charset-normalizer: 2.0.12 from /usr/local/lib/python3.7/dist-packages
urllib3: 1.24.1 from /usr/lib/python3/dist-packages
certifi: 2018.8.24 from /usr/lib/python3/dist-packages
cachetools: 5.2.0 from /usr/local/lib/python3.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
requests: 2.28.0 from /usr/local/lib/python3.7/dist-packages
idna: 2.6 from /usr/lib/python3/dist-packages
charset-normalizer: 2.0.12 from /usr/local/lib/python3.7/dist-packages
urllib3: 1.24.1 from /usr/lib/python3/dist-packages
certifi: 2018.8.24 from /usr/lib/python3/dist-packages
Mopidy: 3.3.0 from /usr/lib/python3/dist-packages
Pykka: 2.0.3 from /usr/lib/python3/dist-packages
Mopidy-Iris: 3.64.0 from /usr/local/lib/python3.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
Mopidy: 3.3.0 from /usr/lib/python3/dist-packages
Pykka: 2.0.3 from /usr/lib/python3/dist-packages
Mopidy-YouTube: 3.5 from /usr/local/lib/python3.7/dist-packages
requests: 2.28.0 from /usr/local/lib/python3.7/dist-packages
idna: 2.6 from /usr/lib/python3/dist-packages
charset-normalizer: 2.0.12 from /usr/local/lib/python3.7/dist-packages
urllib3: 1.24.1 from /usr/lib/python3/dist-packages
certifi: 2018.8.24 from /usr/lib/python3/dist-packages
cachetools: 5.2.0 from /usr/local/lib/python3.7/dist-packages
beautifulsoup4: 4.11.1 from /usr/local/lib/python3.7/dist-packages
soupsieve: 2.3.2.post1 from /usr/local/lib/python3.7/dist-packages
Mopidy: 3.3.0 from /usr/lib/python3/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
Pykka: 2.0.3 from /usr/lib/python3/dist-packages
mopidy-ytmusic: 0.3.5 from /usr/local/lib/python3.7/dist-packages
ytmusicapi: 0.19.2 from /usr/local/lib/python3.7/dist-packages
requests: 2.28.0 from /usr/local/lib/python3.7/dist-packages
idna: 2.6 from /usr/lib/python3/dist-packages
charset-normalizer: 2.0.12 from /usr/local/lib/python3.7/dist-packages
urllib3: 1.24.1 from /usr/lib/python3/dist-packages
certifi: 2018.8.24 from /usr/lib/python3/dist-packages
Mopidy: 3.3.0 from /usr/lib/python3/dist-packages
pytube: 12.1.0 from /usr/local/lib/python3.7/dist-packages
Mopidy-SoundCloud: 3.0.1 from /usr/local/lib/python3.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
requests: 2.28.0 from /usr/local/lib/python3.7/dist-packages
idna: 2.6 from /usr/lib/python3/dist-packages
charset-normalizer: 2.0.12 from /usr/local/lib/python3.7/dist-packages
urllib3: 1.24.1 from /usr/lib/python3/dist-packages
certifi: 2018.8.24 from /usr/lib/python3/dist-packages
Mopidy: 3.3.0 from /usr/lib/python3/dist-packages
Pykka: 2.0.3 from /usr/lib/python3/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
- Any specific hardware (e.g. an exotic USB soundcard)
Additional context
Error:
Started getting mopidy_youtube list_videos error ""
status:
Jul 09 15:04:54 lysmarine sh[3599]: INFO [YouTubeBackend-3] mopidy_youtube file caching not enabled
Jul 09 15:04:54 lysmarine sh[3599]: INFO [YouTubeBackend-3] mopidy_youtube using jAPI
Jul 09 15:04:54 lysmarine sh[3599]: INFO [Audio-2] mopidy.audio.actor Audio output set to "pulsesink server=127.0.0.1"
Jul 09 15:04:54 lysmarine sh[3599]: INFO [MainThread] mopidy.commands Starting Mopidy core
Jul 09 15:04:54 lysmarine sh[3599]: INFO [MainThread] mopidy.commands Starting Mopidy frontends: YouTubeAutoplayer, YouTub
Jul 09 15:04:54 lysmarine sh[3599]: INFO [IrisFrontend-11] mopidy_iris.core Starting Iris 3.64.0
Jul 09 15:04:54 lysmarine sh[3599]: INFO [HttpFrontend-13] mopidy.http.actor HTTP server running at [::]:6680
Jul 09 15:04:54 lysmarine sh[3599]: INFO [MainThread] mopidy_mpd.actor MPD server running at [::]:6600
Jul 09 15:04:54 lysmarine sh[3599]: INFO [MainThread] mopidy.commands Starting GLib mainloop
Jul 09 15:05:32 lysmarine sh[3599]: ERROR [ThreadPoolExecutor-1_0] mopidy_youtube list_videos error ""
I doubt this is mopidy's fault - probably best that you close this issue and discuss over at https://github.com/natumbri/mopidy-youtube/issues/229
It’s open there and referred to here. Both things gets broken