Hello everyone,
I had a raspberry pi 3 2 years ago and used it with my Hifiberry AMP+ and Mopidy. All were good but I just bought a new raspberry pi 4 and I tried to install the hifiberry with mopidy but I have no sound when I use Iris to play a music.
Rasp4 + the Hifiberry module work good when I use:
- duckduckgo and go on youtube to listen to a video
- aplay /usr/share/sounds/alsa/Front_Center.wav
I didnt forget to add mopidy to the video usergroup:
groups mopidy
mopidy : audio video
Iris is working good, I can access to my iris client with on my laptop in the same local network.
I followed the instructions from: https://www.hifiberry.com/docs/software/configuring-linux-3-18-x/ except the debug section.
Here is my mopidy.conf:
cat mopidy.conf
# For further information about options in this file see:
# http://docs.mopidy.com/
#
# The initial commented out values reflect the defaults as of:
# Mopidy 2.3.1
# Mopidy-File 2.3.1
# Mopidy-HTTP 2.3.1
# Mopidy-Local 2.3.1
# Mopidy-M3U 2.3.1
# Mopidy-MPD 2.3.1
# Mopidy-SoftwareMixer 2.3.1
# Mopidy-Spotify 3.1.0
# Mopidy-Stream 2.3.1
#
# Available options and defaults might have changed since then,
# run mopidy config
to see the current effective config and
# mopidy --version
to check the current version.
[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]
#color = true
#console_format = %(levelname)-8s %(message)s
#debug_format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n %(message)s
#debug_file = mopidy.log
#config_file =
[audio]
#mixer = software
#mixer_volume =
#output = autoaudiosink
#buffer_time =
[proxy]
#scheme =
#hostname = 192.168.0.36
#port = 6680
#username =
#password =
[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
[http]
enabled = true
hostname = ::
port = 6680
#static_dir =
#zeroconf = Mopidy HTTP server on $hostname
#allowed_origins =
#csrf_protection = true
[stream]
enabled = true
protocols =
- http*
# https
# mms
# rtmp
# rtmps
# rtsp
#metadata_blacklist =
#timeout = 5000
[m3u]
#enabled = true
#base_dir = $XDG_MUSIC_DIR
#default_encoding = latin-1
#default_extension = .m3u8
#playlists_dir =
[softwaremixer]
#enabled = 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
[local]
#enabled = true
library = sqlite
#media_dir = $XDG_MUSIC_DIR
#scan_timeout = 1000
scan_flush_threshold = 100
#scan_follow_symlinks = false
#excluded_file_extensions =
# .directory
# .html
# .jpeg
# .jpg
# .log
# .nfo
# .pdf
# .png
# .txt
# .zip
[spotify]
enabled = true
*username = *****
*password = *****
*client_id = *****
*client_secret = *****
I dont know what to do more, if someone could help me!
Thank a lot and sorry for my bad english.