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
#16
Thanks so much @bitlab. I think i might have made a silly mistake when i shared the output...i can see that i should have turned on camilladsp with the flat file to provide the diagnostics. The dignostics that i shared were with the camilladsp turned off...so no wonder things didnt add up. 


this is what i followed now
- same moOde 7.2 from yesterday...tested that sound comes using the test track on the sd card
- selected the flat file from the configuration of the camilladsp, saved it
- played the test track and got the error

here are the outputs once again for your reference. 

cat /usr/share/camilladsp/working_config.yml
Quote:---
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

/var/log/mpd/log
Code:
Apr 30 11:32 : exception: Failed to play on "ALSA Default" (alsa): snd_pcm_poll_descriptors_revents() failed: No such device
Apr 30 11:32 : exception: Failed to open audio output
Apr 30 11:33 : exception: Failed to play on "ALSA Default" (alsa): snd_pcm_poll_descriptors_revents() failed: No such device
Apr 30 11:33 : exception: Failed to open audio output

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:
20210425 091304 worker: -- Start
20210425 091304 worker: Successfully daemonized
20210425 091306 worker: Integrity check (passed)
20210425 091308 moode.php: MPD connect failed: cmd=(playlist)
20210425 091311 worker: File check (OK)
20210425 091311 moode.php: MPD connect failed: cmd=(playlist)
20210429 161958 moode.php: MPD connect failed: cmd=(playlist)
20210429 162002 moode.php: MPD connect failed: cmd=(playlist)
20210429 162003 worker: Session vacuumed
20210429 162003 worker: Session loaded
20210429 162003 worker: Debug logging (OFF)
20210429 162004 worker: -- Audio debug
20210429 162004 worker: ALSA cards: (0:b1 | 1:Headphones | 2:empty | 3:empty
20210429 162004 worker: MPD config: (0:Pi HDMI 1 | mixer:(HDMI) | card:0)
20210429 162005 worker: ALSA mixer actual (HDMI)
20210429 162006 moode.php: MPD connect failed: cmd=(playlist)
20210429 162007 worker: ALSA HDMI volume set to (0%)
20210429 162007 worker: -- System
20210429 162014 worker: Host     (moode)
20210429 162014 worker: moOde    (7.2.0 2021-04-24)
20210429 162014 worker: RaspiOS  (10.6)
20210429 162014 worker: Kernel   (5.4.77+ #1371)
20210429 162014 worker: Platform (Pi-B+ 1.2 512MB)
20210429 162014 worker: ARM arch (armv6l, 32-bit kernel)
20210429 162014 worker: MPD ver  (0.22.6_p0x3)
20210429 162014 worker: CPU gov  (ondemand)
20210429 162014 worker: USB boot not available
20210429 162015 worker: File system not expanded yet
20210429 162015 worker: HDMI port on
20210429 162015 worker: -- Network
20210429 162015 worker: eth0 exists
20210429 162015 worker: IP addr (192.168.1.4)
20210429 162015 worker: Netmask (255.255.255.0)
20210429 162016 worker: Gateway (192.168.1.1)
20210429 162016 worker: Pri DNS (192.168.1.1)
20210429 162016 worker: Domain  (None)
20210429 162016 worker: wlan0 does not exist
20210429 162016 worker: -- Audio config
20210429 162016 worker: ALSA card number (0)
20210429 162016 worker: MPD audio output (Pi HDMI 1)
20210429 162017 worker: Audio formats (U8, S16_LE)
20210429 162018 worker: ALSA mixer name (HDMI)
20210429 162018 worker: MPD volume control (software)
20210429 162018 worker: Hdwr volume controller exists
20210429 162018 worker: Max ALSA volume (100%)
20210429 162018 worker: ALSA loopback (Off)
20210429 162018 worker: Reset renderer active flags
20210429 162018 worker: CamillaDSP (off)
20210429 162018 worker: -- MPD startup
20210429 162018 worker: MPD started
20210429 162021 worker: MPD accepting connections
20210429 162021 worker: MPD output 1 ALSA Default (on)
20210429 162021 worker: MPD output 2 ALSA Bluetooth (off)
20210429 162021 worker: MPD output 3 HTTP Server (off)
20210429 162021 worker: MPD crossfade (off)
20210429 162021 worker: MPD ignore CUE files (yes)
20210429 162021 worker: -- Feature availability
20210429 162021 worker: Source select (available)
20210429 162021 worker: Source select (source: MPD)
20210429 162022 worker: Source select (output: Pi HDMI 1)
20210429 162022 worker: Bluetooth (available)
20210429 162022 worker: Airplay renderer (available)
20210429 162022 worker: Spotify renderer (available)
20210429 162022 worker: Squeezelite (available)
20210429 162022 worker: RoonBridge renderer (not installed)
20210429 162022 worker: UPnP renderer (available)
20210429 162022 worker: DLNA server (available)
20210429 162022 worker: UPnP browser (available)
20210429 162022 worker: GPIO button handler (available)
20210429 162022 worker: Stream recorder (n/a)
20210429 162022 worker: -- Music sources
20210429 162022 worker: USB sources (none attached)
20210429 162022 worker: NAS and UPnP sources (none configured)
20210429 162022 worker: -- Other
20210429 162022 worker: USB volume knob (Off)
20210429 162022 worker: USB auto-mounter (udisks-glue)
20210429 162023 worker: LED0 (On)
20210429 162023 worker: LED1 (On)
20210429 162023 worker: Saved MPD vol level (0)
20210429 162023 worker: Preamp volume level (0)
20210429 162023 worker: MPD volume level (0) restored
20210429 162023 worker: ALSA HDMI volume (96%)
20210429 162023 worker: Auto-play (Off)
20210429 162023 worker: Maintenance interval (3 hours)
20210429 162023 worker: Screen saver activation (Never)
20210429 162024 worker: Session permissions (OK)
20210429 162024 worker: Watchdog started
20210429 162024 worker: Ready
20210429 162054 worker: Job mpdcfg
20210429 162239 worker: Job airplaysvc
20210429 162252 worker: Job spotifysvc
20210429 162550 worker: Job spotifysvc
20210429 162941 worker: Job camilladsp
20210429 164312 worker: Job camilladsp
20210429 172127 worker: Job mpdcfg
20210430 113217 worker: Job camilladsp

Thanks a ton for your generosity to take you time to help me with this
Reply


Messages In This Thread
RE: CamillaDSP - MPD unable to play flat.yml - by katariat - 04-30-2021, 03:43 PM

Forum Jump: