hi - seeing some very strange behaviour from my connection. Server is showing as running active but will not load radio streams when disconnected from monitor (headless LAN connection). I then reboot my RPI as a desktop (LAN connection still) and streams no problems.
my aim here is to run mopidy headless alongside some other rpi software.
any ideas?
debug below:
Feb 02 17:19:22 raspberrypi systemd[1]: Starting Mopidy music server…
Feb 02 17:19:22 raspberrypi systemd[1]: Started Mopidy music server.
Feb 02 17:19:26 raspberrypi mopidy[536]: INFO [MainThread] mopidy.main Starting Mopidy 3.1.1
Feb 02 17:19:26 raspberrypi mopidy[536]: INFO [MainThread] mopidy.config Loading config from builtin defaults
Feb 02 17:19:26 raspberrypi mopidy[536]: INFO [MainThread] mopidy.config Loading config from file:///usr/share/mopidy/conf.d/mopidy.conf
Feb 02 17:19:26 raspberrypi mopidy[536]: INFO [MainThread] mopidy.config Loading config from file:///etc/mopidy/mopidy.conf
Feb 02 17:19:26 raspberrypi mopidy[536]: INFO [MainThread] mopidy.config Loading config from command line options
Feb 02 17:19:28 raspberrypi mopidy[536]: INFO [MainThread] mopidy.ext Disabled extension funkwhale: mopidy<3.1,>=3 required, but found Mopidy 3.1.1 at /usr/local/lib/python3.7/dist-packages
Feb 02 17:19:28 raspberrypi mopidy[536]: INFO [MainThread] mopidy.main Enabled extensions: mixcloud, tunein, podcast-itunes, http, somafm, file, podcast, ytmusic, mpd, mobile, softwaremixer, iris, musicbox_webclient, inte
Feb 02 17:19:28 raspberrypi mopidy[536]: INFO [MainThread] mopidy.main Disabled extensions: funkwhale, local
Feb 02 17:19:28 raspberrypi mopidy[536]: WARNING [MainThread] mopidy.main Found local configuration errors. The extension has been automatically disabled:
Feb 02 17:19:28 raspberrypi mopidy[536]: WARNING [MainThread] mopidy.main local/media_dir must be set.
Feb 02 17:19:28 raspberrypi mopidy[536]: WARNING [MainThread] mopidy.main Please fix the extension configuration errors or disable the extensions to silence these messages.
Feb 02 17:19:31 raspberrypi mopidy[536]: INFO [MainThread] mopidy.commands Starting Mopidy mixer: SoftwareMixer
Feb 02 17:19:31 raspberrypi mopidy[536]: INFO [MainThread] mopidy.commands Starting Mopidy audio
Feb 02 17:19:31 raspberrypi mopidy[536]: INFO [MainThread] mopidy.commands Starting Mopidy backends: FileBackend, M3UBackend, StreamBackend, YTMusicBackend, YouTubeBackend, TuneInBackend, SomaFMBackend, PodcastBackend, iTunes
Feb 02 17:19:31 raspberrypi mopidy[536]: INFO [YouTubeBackend-8] mopidy_youtube using bs4API
Feb 02 17:19:31 raspberrypi mopidy[536]: INFO [MainThread] mopidy.internal.path Creating dir file:///etc/mopidy/podcast
Feb 02 17:19:31 raspberrypi mopidy[536]: WARNING [MainThread] mopidy_podcast.library Cannot access Mopidy-Podcast config directory: Permission denied
Feb 02 17:19:31 raspberrypi mopidy[536]: INFO [Audio-2] mopidy.audio.actor Audio output set to “alsasink device=hw:1,0”
Feb 02 17:19:31 raspberrypi mopidy[536]: ERROR [Thread-7] mopidy_ytmusic YTMusic failed to load auto playlists
Feb 02 17:19:31 raspberrypi mopidy[536]: Traceback (most recent call last):
config below:
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 = alsasink device=hw:1,0
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 = ::
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
[ytmusic]
enabled = true
auth_json =
auto_playlist_refresh = 60
youtube_player_refresh = 15
playlist_item_limit = 100
subscribed_artist_limit = 100
enable_history = true
enable_liked_songs = true
enable_mood_genre = true
enable_scrobbling = true
stream_preference =
141
251
140
250
249
verify_track_url = true
[youtube]
enabled = true
youtube_api_key =
threads_max = 16
search_results = 15
playlist_max_videos = 20
api_enabled = false
autoplay_enabled = false
strict_autoplay = false
max_autoplay_length = 600
max_degrees_of_separation = 3
[tunein]
enabled = true
timeout = 5000
filter =
[somafm]
enabled = true
encoding = mp3
quality = fast
dj_as_artist = true
[podcast]
enabled = true
browse_root = Podcasts.opml
browse_order = desc
lookup_order = asc
cache_size = 64
cache_ttl = 86400
timeout = 10
[podcast-itunes]
enabled = true
base_url = http://itunes.apple.com/
country = US
explicit =
charts = audioPodcasts
charts_limit = 20
search_limit = 20
timeout = 10
retries = 3
[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
[mobile]
enabled = true
title = Mopidy Mobile on $hostname
ws_url =
[mixcloud]
enabled = true
users =
tags =
search_max = 20
refresh_period = 600
ignore_exclusive = true
[local]
enabled = false ; Extension disabled due to config errors.
max_search_results = 100
media_dir = ; Must be set.
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
[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
[internetarchive]
enabled = true
base_url = http://archive.org
collections =
audio
etree
librivoxaudio
audio_bookspoetry
audio_tech
audio_music
audio_news
audio_foreign
audio_podcast
audio_religion
audio_formats =
VBR MP3
64Kbps MP3
image_formats =
JPEG
JPEG Thumb
browse_limit = 100
browse_views =
downloads desc|Views
titleSorter asc|Title
publicdate desc|Date Archived
date desc|Date Published
creatorSorter asc|Creator
search_limit = 20
search_order =
cache_size = 128
cache_ttl = 86400
retries = 3
timeout = 10
[funkwhale]
enabled = false ; Extension disabled by self check.