Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: CamillaDSP - MPD unable to play flat.yml
#18
Hi @bitlab apologies for the delayed response and thanks for your continued help. Still getting the same error (mpd failed)...and posting the output of the various logs as requested.


Actions and sequence 
- new download of moOde 7.2, fresh sd card write and boot up
- played test sound on the card to the pi 3.5mm audio jack - works
- changed the mpd log to verbose, saved...restarted the mpd
- played test sound on the card - works
- on the audio config, went to the camilladsp, selected flat and clicked set. get a pop up confirmation
- clicked edit and went to the cammilladsp (flat was selected) ...clicked save
- Ran moodeutl -r...got a confirmation that services restarted
- ran the command sudo sed -i 's/#        -v/        -v/g' /etc/alsa/conf.d/camilladsp.conf as directed
- click on the test track on the sd card and get the MPD failed error

various log files below

 cat /usr/share/camilladsp/working_config.yml
Code:
---
devices:
 samplerate: 44100
 chunksize: 1024
 queuelimit: 1
 capture:
   type: File
   channels: 2
   filename: /dev/stdin
   format: S16LE
 playback:
   type: Alsa
   channels: 2
   device: hw:1,0
   format: S16LE
mixers:
 stereo:
   channels:
     in: 2
     out: 2
   mapping:
   - dest: 0
     sources:
     - channel: 0
       gain: -3
       inverted: false
   - dest: 1
     sources:
     - channel: 1
       gain: -3
       inverted: false
pipeline:
- type: Mixer
 name: stereo
...
cat: command: No such file or directory

moodeutl -F
Code:
*** Scanning for playback devices ***
Card 0, ID `b1', name `bcm2835 HDMI 1'
 Device 0, ID `bcm2835 HDMI 1', name `bcm2835 HDMI 1', 4 subdevices (4 available)
   1..8 channels, sampling rate 8000..192000 Hz
   Sample formats: U8, S16_LE
   Buffer size range from 80 to 131072
   Period size range from 80 to 131072

     Subdevice 0, name `subdevice #0'
     Subdevice 1, name `subdevice #1'
     Subdevice 2, name `subdevice #2'
     Subdevice 3, name `subdevice #3'
Card 1, ID `Headphones', name `bcm2835 Headphones'
 Device 0, ID `bcm2835 Headphones', name `bcm2835 Headphones', 4 subdevices (4 available)
   1..8 channels, sampling rate 8000..192000 Hz
   Sample formats: U8, S16_LE
   Buffer size range from 80 to 131072
   Period size range from 80 to 131072

     Subdevice 0, name `subdevice #0'
     Subdevice 1, name `subdevice #1'
     Subdevice 2, name `subdevice #2'
     Subdevice 3, name `subdevice #3'

moodeutl -l
Code:
20210501 131323 worker: -- Start
20210501 131323 worker: Successfully daemonized
20210501 131324 worker: Integrity check (passed)
20210501 131327 worker: File check (OK)
20210501 131327 moode.php: MPD connect failed: cmd=(playlist)
20210501 131329 worker: Session vacuumed
20210501 131330 worker: Session loaded
20210501 131330 worker: Debug logging (OFF)
20210501 131330 worker: -- Audio debug
20210501 131330 worker: ALSA cards: (0:b1 | 1:Headphones | 2:empty | 3:empty
20210501 131330 worker: MPD config: (1:Pi Headphone jack | mixer:(Headphone) | card:1)
20210501 131330 worker: ALSA mixer actual (Headphone)
20210501 131330 moode.php: MPD connect failed: cmd=(playlist)
20210501 131331 worker: ALSA Headphone volume set to (0%)
20210501 131331 worker: -- System
20210501 131335 worker: Host     (moode)
20210501 131335 worker: moOde    (7.2.0 2021-04-24)
20210501 131335 worker: RaspiOS  (10.6)
20210501 131335 worker: Kernel   (5.4.77+ #1371)
20210501 131335 worker: Platform (Pi-B+ 1.2 512MB)
20210501 131335 worker: ARM arch (armv6l, 32-bit kernel)
20210501 131335 worker: MPD ver  (0.22.6_p0x3)
20210501 131335 worker: CPU gov  (ondemand)
20210501 131335 worker: USB boot not available
20210501 131336 worker: File system not expanded yet
20210501 131336 worker: HDMI port on
20210501 131336 worker: -- Network
20210501 131336 worker: eth0 exists
20210501 131336 worker: IP addr (192.168.1.4)
20210501 131336 worker: Netmask (255.255.255.0)
20210501 131336 worker: Gateway (192.168.1.1)
20210501 131337 worker: Pri DNS (192.168.1.1)
20210501 131337 worker: Domain  (None)
20210501 131337 worker: wlan0 does not exist
20210501 131337 worker: -- Audio config
20210501 131337 worker: ALSA card number (1)
20210501 131337 worker: MPD audio output (Pi Headphone jack)
20210501 131338 worker: Audio formats (U8, S16_LE)
20210501 131338 worker: ALSA mixer name (Headphone)
20210501 131338 worker: MPD volume control (software)
20210501 131339 worker: Hdwr volume controller exists
20210501 131339 worker: Max ALSA volume (100%)
20210501 131339 worker: ALSA loopback (Off)
20210501 131339 worker: Reset renderer active flags
20210501 131339 worker: CamillaDSP (flat.yml)
20210501 131339 worker: -- MPD startup
20210501 131340 worker: MPD started
20210501 131342 worker: MPD accepting connections
20210501 131342 worker: MPD output 1 ALSA Default (on)
20210501 131342 worker: MPD output 2 ALSA Bluetooth (off)
20210501 131342 worker: MPD output 3 HTTP Server (off)
20210501 131342 worker: MPD crossfade (off)
20210501 131342 worker: MPD ignore CUE files (yes)
20210501 131342 worker: -- Feature availability
20210501 131342 worker: Source select (available)
20210501 131342 worker: Source select (source: MPD)
20210501 131343 worker: Source select (output: Pi Headphone jack)
20210501 131343 worker: Bluetooth (available)
20210501 131343 worker: Airplay renderer (available)
20210501 131343 worker: Spotify renderer (available)
20210501 131343 worker: Squeezelite (available)
20210501 131343 worker: RoonBridge renderer (not installed)
20210501 131343 worker: UPnP renderer (available)
20210501 131343 worker: DLNA server (available)
20210501 131343 worker: UPnP browser (available)
20210501 131343 worker: GPIO button handler (available)
20210501 131343 worker: Stream recorder (n/a)
20210501 131343 worker: -- Music sources
20210501 131343 worker: USB sources (none attached)
20210501 131343 worker: NAS and UPnP sources (none configured)
20210501 131343 worker: -- Other
20210501 131343 worker: USB volume knob (Off)
20210501 131343 worker: USB auto-mounter (udisks-glue)
20210501 131344 worker: LED0 (On)
20210501 131344 worker: LED1 (On)
20210501 131344 worker: Saved MPD vol level (0)
20210501 131344 worker: Preamp volume level (0)
20210501 131344 worker: MPD volume level (75) restored
20210501 131345 worker: ALSA Headphone volume (100%)
20210501 131345 worker: Auto-play (Off)
20210501 131345 worker: Maintenance interval (3 hours)
20210501 131345 worker: Screen saver activation (Never)
20210501 131345 worker: Session permissions (OK)
20210501 131345 worker: Watchdog started
20210501 131345 worker: Ready
Reply


Messages In This Thread
RE: CamillaDSP - MPD unable to play flat.yml - by katariat - 05-01-2021, 05:41 PM

Forum Jump: