HiFiBerry DAC+ Zero won't work with Spotify or Airplay

Max2Play Home Forums Max2Play on Raspberry PI HiFiBerry DAC+ Zero won't work with Spotify or Airplay

Viewing 1 post (of 1 total)
  • 26. Mai 2020 at 6:21 #48852

    Hi,

    I have an RPi 3b. When I install max2play and use the lineout, everything works great with SqueezeLite, and once I turned on Shairport, I can connect with both Spotify and AirPlay/iTunes – perfect, as long as I’m using the audio lineout. But if I add the HifiBerry Dac+ Zero, then SqueezeLite works fine, but Spotify and AirPlay stop working. The „additional device“ visible in both Spotify and iTunes (from my iPhone), but when I select them as outputs, there is no sound.

    I have two RPi Zero W, and it’s the same – there’s no lineout on the RPi Zero, so I can’t compare that – but SqueezeLite works perfectly, and Spotify and iTunes do not.

    In Shairport advanced settings, I added the IP address of my LMS server – didn’t seem to make any difference. BUT, if I stop the SqueezeLite service entirely, I can get Spotify and iTunes to connect and play properly. Obviously, I don’t want to leave SqueezeLite off; I’d like to be able to switch between them. But once I turn it on again, I can no longer connect with iTunes and Spotify.

    I have also tried selecting both the „default“ and „sysdefault“ soundcard in the „Advanced settings“ for Shairport, since it was initially set to „default snd_rpi_hifiberry_dac“, and the SqueezLite „Advanced Settings“ was „sysdefault snd_rpi_hifiberry_dac“… and that did it. Aaaaaaah, okay. That seems to have done it. Maybe that and the combination of setting the IP address for the LMS server? I don’t know, but I can now reliably switch between SqueezeLite, Spotify, and iTunes, with only really minimal popping, on TWO different RPi Zero W units, both setup with HiFiBerry DAC+ Zero units.

    There are sometimes brief dropouts with Spotify that there aren’t with SqueezeLite. But still, very satisfactory. I’ll add my Audioplay Debug information at the bottom, in case anyone else has a similar issue.

    #### SQUEEZELITE VERSION ####
    Squeezelite Max2Play v1.0.2 based on v1.8.4-726, Copyright 2012-2015 Adrian Smith, 2015-2016 Ralph Irving.

    #### SQUEEZELITE BUILDOPTIONS ####
    Build options: LINUX ALSA EVENTFD RESAMPLE FFMPEG VISEXPORT IR GPIO DSD CONTROLSBS ALSASYNC BLUETOOTHSYNC

    #### AUDIOPLAYER CONFIG ####
    ### Configuration of Audioplayers
    SQUEEZELITE_PARAMETER=-o sysdefault:CARD=sndrpihifiberry -a 80:4::
    SQUEEZESLAVE_PARAMETER=-n plugequal
    SHAIRPORT_PARAMETER=-d sysdefault:CARD=sndrpihifiberry
    USE_USB_DAC=0
    USE_EQUALIZER=0
    SYSTEM_USER=pi
    YMPD_PARAMETER=–webport 8081
    LMSIP=192.168.0.99

    #### SQUEEZELITE -l ####
    Output devices:
    null – Discard all samples (playback) or generate zero samples (capture)
    equal
    plugequal – Equalizer for plughw:0,0
    default:CARD=ALSA – bcm2835 ALSA, bcm2835 ALSA – Default Audio Device
    sysdefault:CARD=ALSA – bcm2835 ALSA, bcm2835 ALSA – Default Audio Device
    dmix:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Direct sample mixing device
    dmix:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Direct sample mixing device
    dsnoop:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Direct sample snooping device
    dsnoop:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Direct sample snooping device
    hw:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Direct hardware device without any conversions
    hw:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Direct hardware device without any conversions
    plughw:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Hardware device with all software conversions
    plughw:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Hardware device with all software conversions
    default:CARD=sndrpihifiberry – snd_rpi_hifiberry_dac, – Default Audio Device
    sysdefault:CARD=sndrpihifiberry – snd_rpi_hifiberry_dac, – Default Audio Device
    dmix:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dac, – Direct sample mixing device
    dsnoop:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dac, – Direct sample snooping device
    hw:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dac, – Direct hardware device without any conversions
    plughw:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dac, – Hardware device with all software conversions

    #### SHAIRPORT (SYNC) VERSION ####
    3.1.1-OpenSSL-Avahi-ALSA-soxr-sysconfdir:/usr/local/etc

    #### OUTPUT SOUND DETAILS CARD 0 ####
    closed

    #### OUTPUT SOUND DETAILS CARD 1 ####
    access: MMAP_INTERLEAVED
    format: S16_LE
    subformat: STD
    channels: 2
    rate: 44100 (44100/1)
    period_size: 256
    buffer_size: 131072

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Register here