MOPIDY , CAVA, mopidy.conf , mpd.conf

After few days of experiments I want to ask you for help.

My settings: RPi 3b+, Dietpi 9.1.1, Sound Card: IQAUDIO DAC+
My idea: Music streamer + player based on MOPIDY with CAVA running in 5" LCD TOUCH DISPLAY.


Actually I am near to finish my work.
But I am not able to force CAVA to “dance”. Only one way to make CAVA active is as follow:

[input]
method = alsa
source = hw:Loopback,1

But no sound from speakers .

If I use different input ( FIFO, PULSE ) CAVA is dead but can hear sound !!


It is clear form me that basic CAVA config is located at /home/dietpi/./config/cava/config
I need to make some adjustment of mopidy config . But I am not able to find location , where my current config really is …
According to instructions should be mopidy config stored in /etc/mpd.conf. But is not .
My actual MOPIDY configuratin is:
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 = 

[autoplay]
enabled = true
save_on_events = 
save_interval = 10
tracklist.uris = auto
tracklist.index = auto
tracklist.consume = auto
tracklist.random = auto
tracklist.repeat = auto
tracklist.single = auto
playback.state = auto
playback.time_position = auto
mixer.volume = auto
mixer.mute = auto

[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

[jellyfin]
enabled = false  ; Extension disabled due to config errors.
username =   ; Must be set.
user_id = 
password = 
token = 
hostname =   ; Must be set.
libraries = 
albumartistsort = 
port = 
client_cert = 
client_key = 
album_format = 
max_bitrate = 
watched_status = false

[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

[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 = 

[raspberry-gpio]
enabled = false  ; Extension disabled by user config.

[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

[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

[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

But this vaules are not present in both /etc/mopidy/mopidy.conf, /etc/mpd.conf, /usr/share/mopidy/mopidy.conf, I have no local user dietpi config.
I am crazy to search it .

Can you someone navigate me where is corresponding CONFIG file of mopidy ?
What is correct settings to play music through MOPIDY, hear sound and force to CAVA dance.

Thank you TOMAS

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