No Audio from Shairport (RPI with v157 and Allo Web GUI)

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
volpone
Posts: 21
Joined: Fri Mar 17, 2017 1:38 pm

No Audio from Shairport (RPI with v157 and Allo Web GUI)

Post by volpone »

DietPi v157 and Allo Web GUI on RPI. installation OK, Thank's ...

Only issue is using Shairport-Sync: No audio from my DAC, but DietPi AIrPlay endpoint seen from Itunes and IOS devices.
I've set output to 44100 / 32 bits via Web GUI but audio still KO.

If i disable Shairport from web GUI and launch Shairport from command line audio is playing correctly:

Code: Select all

 
> root@DietPi:~# shairport-sync -vvv
Looking for configuration file at full path "/usr/local/etc/shairport-sync.conf"
Value read for output rate is 44100.
alsa output device name is "default".
The processor is running little-endian.
....
Audio OK

Here is my conf from /usr/local/etc/shairport-sync.conf:

Code: Select all

general =
{
  name = "%H";
  interpolation = "soxr";
};

metadata =
{
        enabled = "yes";
        include_cover_art = "no";
        pipe_name = "/tmp/shairport-sync-metadata";
        pipe_timeout = 5000;
        socket_address = "226.0.0.1";
        socket_port = 5555;
        socket_msglength = 65000;
};


alsa =
{
//  mixer_control_name = "PCM";
output_rate = 44100;
output_format = "S32";
};

Any idea ?
Last edited by volpone on Sun Oct 22, 2017 10:00 am, edited 1 time in total.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: No Audio from Shairport (RPI with v157 and Allo Web GUI)

Post by Fourdee »

Hi,

Thanks for the report.

Everything looks in order. The service launches the command "/usr/local/bin/shairport-sync".

Please try running the service, and check for errors:

Code: Select all

dietpi-services restart
systemctl status shairport-sync -l
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
volpone
Posts: 21
Joined: Fri Mar 17, 2017 1:38 pm

Re: No Audio from Shairport (RPI with v157 and Allo Web GUI)

Post by volpone »

Fourdee wrote:Hi,
...
Please try running the service, and check for errors:

Code: Select all

dietpi-services restart
systemctl status shairport-sync -l
Thank you Dan,

No errors when services are restarted via dietpi-services restart,
No errors on shairport-sync status,
No errors in Itunes UI (DietPi endpoint is displayed and audio progress bar moving)
But no Audio stream sent to my DAC and Allo GUi ALSA status is blank.

Code: Select all

root@DietPi:/usr/local/etc# systemctl status shairport-sync -l
● shairport-sync.service - Shairport Sync - AirPlay Audio Receiver
   Loaded: loaded (/lib/systemd/system/shairport-sync.service; disabled)
   Active: active (running) since Fri 2017-10-20 21:38:17 UTC; 10min ago
 Main PID: 14522 (shairport-sync)
   CGroup: /system.slice/shairport-sync.service
           └─14522 /usr/local/bin/shairport-sync

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
If Shairport is disabled from Allo GUI and launched from command line Audio output is OK
Strange !
Last edited by volpone on Sat Oct 21, 2017 7:25 pm, edited 3 times in total.
marekzawa

Re: No Audio from Shairport (RPI with v157 and Allo Web GUI)

Post by marekzawa »

Dietpi v157 -Squeezelite-Sparky USBridge - . Not sound !
Help :(
volpone
Posts: 21
Joined: Fri Mar 17, 2017 1:38 pm

Re: No Audio from Shairport (RPI with v157 and Allo Web GUI)

Post by volpone »

I've got Audio back with a dirty workaround.
Added output_device="hw:1" to /usr/local/etc/shairport-sync.conf ALSA section :

Code: Select all

....
alsa =
{
//  mixer_control_name = "PCM";
output_device="hw:1";
output_rate = 44100;
output_format = "S32";
};
By default i presume wrong output hw:0 [vc4-hdmi] was used.

Currently i'm not using ALLO audio outputs HW, only basic RPI linked to USB external DAC.
Here is my audio output devices setup:

Code: Select all

root@DietPi:/usr/local/etc# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi [vc4-hdmi], device 0: MAI PCM vc4-hdmi-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDAudio [DAC 8 DSD HD-Audio], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
limpbizkit20
Posts: 1
Joined: Sat Oct 21, 2017 7:30 am

Re: No Audio from Shairport (RPI with v157 and Allo Web GUI)

Post by limpbizkit20 »

marekzawa wrote:Dietpi v157 -Squeezelite-Sparky USBridge - . Not sound !
Help :(
Hi, same problem for me , no sound since last update with squeezelite (with Rpi3 and Allo USBridge).
With Roon bridge no problem at all, audio is back;
I have an Fostex HPA8 Dac.
:?: :?: :?:
Thx in advance.
Post Reply