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
#17
@katariat  are you sure that moodeutl -l output is correct:
  • the date differs 5 days with the mpd log?
  • HDMI is active:
    20210429 162004 worker: MPD config: (0Tonguei HDMI 1 | mixerSadHDMI) | card:0)
    20210429 162005 worker: ALSA mixer actual (HDMI)
  • CamillaDSP is off:
    20210429 162018 worker: CamillaDSP (off)

To get more info:
  • under mpd setting enabled logging verbose (the option is at the bottom)
  • select the flat config + save again
  • run the command:
    moodeutl -r
  • run the following command from the cmdline to enable extra log info for camilladsp:
    sudo sed -i 's/#        -v/        -v/g' /etc/alsa/conf.d/camilladsp.conf
    (lateron you can disable it again with:   sudo sed -i 's/        -v/#        -v/g' /etc/alsa/conf.d/camilladsp.conf  )
  • try to start a song and post the output of the /var/log/mpd/log:
The output should look somewhat like:
Code:
Apr 30 18:28 : playlist: play 1:"SDCARD/Stereo Test/LRMonoPhase4.flac"
Apr 30 18:28 : client: [20] command returned 0
Apr 30 18:28 : decoder_thread: probing plugin flac
Apr 30 18:28 : playlist: queue song 1:"SDCARD/Stereo Test/LRMonoPhase4.flac"
Apr 30 18:28 : client: [20] process command list
Apr 30 18:28 : decoder: audio_format=48000:16:2, seekable=true
Apr 30 18:28 : client: process command "status"
Apr 30 18:28 : alsa_output: opened _audioout type=ROUTE
Apr 30 18:28 : alsa_output: buffer: size=3840..16384 time=80000..341334
Apr 30 18:28 : alsa_output: period: size=1920..2048 time=40000..42667
Apr 30 18:28 : alsa_output: default period_time = buffer_time/4 = 341333/4 = 85333
Apr 30 18:28 : alsa_output: format=S24_LE (Signed 24 bit Little Endian)
Apr 30 18:28 : alsa_output: buffer_size=16384 period_size=2048
Apr 30 18:28 : output: opened "ALSA Default" (alsa) audio_format=48000:24:4
Apr 30 18:28 : output: converting in=48000:16:2 -> f=48000:24:2 -> out=48000:24:4
Apr 30 18:28 : client: command returned 0
Apr 30 18:28 : client: process command "currentsong"
Apr 30 18:28 : client: command returned 0
Apr 30 18:28 : client: [20] process command list returned 0
Apr 30 18:28 : client: [20] closed
Apr 30 18:28 : client: [19] process command "status"
Apr 30 18:28 : client: [19] command returned 0
Apr 30 18:28 : client: [21] opened from 127.0.0.1:40472
Apr 30 18:28 : client: [21] process command "status"
Apr 30 18:28 : client: [21] command returned 0
Apr 30 18:28 : client: [17] process command "status"
Apr 30 18:28 : client: [17] command returned 0
Apr 30 18:28 : client: [15] process command "status"
Apr 30 18:28 : client: [15] command returned 0
Apr 30 18:28 : client: [12] process command "status"
Apr 30 18:28 : client: [12] command returned 0
Apr 30 18:28 : client: [8] process command "status"
Apr 30 18:28 : client: [8] command returned 0
Apr 30 18:28 : client: [17] process command "currentsong"
Apr 30 18:28 : client: [17] command returned 0
Apr 30 18:28 : client: [15] process command "currentsong"
Apr 30 18:28 : client: [15] command returned 0
Apr 30 18:28 : client: [12] process command "currentsong"
Apr 30 18:28 : client: [12] command returned 0
Apr 30 18:28 : client: [8] process command "currentsong"
Apr 30 18:28 : client: [8] command returned 0
Apr 30 18:28 : client: [21] process command "currentsong"
Apr 30 18:28 : client: [21] command returned 0
Apr 30 18:28 : client: [19] process command "currentsong"
Apr 30 18:28 : client: [19] command returned 0
Apr 30 18:28:03.852 DEBG Read config file Some("/usr/share/camilladsp/working_config.yml"), module: camilladsp
Apr 30 18:28:03.853 ERRO Invalid config file!
devices: missing field `samplerate` at line 3 column 10, module: camilladsp
Apr 30 18:28:03.853 DEBG Exiting due to config error, module: camilladsp
Apr 30 18:28 : exception: Failed to play on "ALSA Default" (alsa): snd_pcm_poll_descriptors_revents() failed: No such device
Apr 30 18:28 : client: [21] process command "playlistinfo "2""
Apr 30 18:28 : exception: Failed to open audio output
Apr 30 18:28 : client: [21] command returned 0
Apr 30 18:28 : output: closed "ALSA Default" (alsa)
Reply


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

Forum Jump: