Configuring Mopidy

As a newbie on Linux I need help to configure mopidy. I have a SBC (Freedombox Pioneer) with Debian/Freedombox and I think that I was able to successfully install mopidy. I have an external soundcard pluged into the usb-port. But despite all the reading I wasn’t able to configure mopidy. The issue is, that I can’t reach the webinterface. Here is the output of mopidy config:

[core]
cache_dir = $XDG_CACHE_DIR/mopidy
config_dir = $XDG_CONFIG_DIR/mopidy
data_dir = $XDG_DATA_DIR/mopidy
max_tracklist_length = 10000
restore_state = false

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

[audio]
mixer = software
mixer_volume = 
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 = 127.0.0.1
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

[alsamixer]
enabled = true
card = 0
control = Master
min_volume = 0
max_volume = 100
volume_scale = cubic

[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

My server runs on 192.168.178.46. But I was not able to adjust the configuration file.
When I start mopidy in the terminal I receive this output:

INFO     2024-05-15 17:43:45,483 [23061:MainThread] mopidy.__main__
  Starting Mopidy 3.4.1
INFO     2024-05-15 17:43:45,612 [23061:MainThread] mopidy.config
  Loading config from builtin defaults
INFO     2024-05-15 17:43:45,624 [23061:MainThread] mopidy.config
  Loading config from file:///home/FBHS2/.config/mopidy/mopidy.conf
INFO     2024-05-15 17:43:45,628 [23061:MainThread] mopidy.config
  Loading config from command line options
INFO     2024-05-15 17:43:46,865 [23061:MainThread] mopidy.__main__
  Enabled extensions: stream, http, alsamixer, file, m3u, mpd, softwaremixer
INFO     2024-05-15 17:43:46,866 [23061:MainThread] mopidy.__main__
  Disabled extensions: none
INFO     2024-05-15 17:43:48,073 [23061:MainThread] mopidy.commands
  Starting Mopidy mixer: SoftwareMixer
INFO     2024-05-15 17:43:48,090 [23061:MainThread] mopidy.commands
  Starting Mopidy audio
INFO     2024-05-15 17:43:48,112 [23061:MainThread] mopidy.commands
  Starting Mopidy backends: FileBackend, M3UBackend, StreamBackend
INFO     2024-05-15 17:43:48,233 [23061:MainThread] mopidy.commands
  Starting Mopidy core
INFO     2024-05-15 17:43:48,244 [23061:Audio-2 (_actor_loop)] mopidy.audio.actor
  Audio output set to "autoaudiosink"
INFO     2024-05-15 17:43:48,331 [23061:MainThread] mopidy.commands
  Starting Mopidy frontends: HttpFrontend, MpdFrontend
INFO     2024-05-15 17:43:48,347 [23061:HttpFrontend-8 (_actor_loop)] mopidy.http.actor
  HTTP server running at [::ffff:127.0.0.1]:6680
INFO     2024-05-15 17:43:48,352 [23061:MainThread] mopidy_mpd.actor
  MPD server running at [::ffff:127.0.0.1]:6600
INFO     2024-05-15 17:43:48,365 [23061:MainThread] mopidy.commands
  Starting GLib mainloop

Does anybody have the nerves to help and guide me through the configuration?

kind regards
David

Take a look at Can't access Mopidy through localhost

Thank you @kingosticks! I did try these steps, but still get an error.
I have changed the configuration to hostname = 0.0.0.0 and when I go to 192.168.178.46:6680 in the browser the address is not accessible (the server is well reachable).
Starting mopidy in the terminal gives me this information:
HTTP server running at [::ffff:0.0.0.0]:6680
What am I doing wrong? Many thanks in advance!

The firewall didn’t let me on the system. I disabled the firewall and am now able to reach the server :slight_smile:

Thanks for the update. I’m not familiar with that distribution

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