Hypfer / Hypfer/squeezelite

Squeezelite sound output stops after a few hours on Armv5 Pogoplug with Arch

Open
#90 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
C
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
What steps will reproduce the problem?
1. Configure squeezelite to start as a service and start it with systemctl.
This is the command from the service file:

/home/peter/squeezelite -m ab:cd:ef:12:34:59 -n dining

2. Listen to pandora without issues for hours. Go to bed.

3. Wake up 8 hours later with this player "dining" still showing up in LMS,
and with the service still showing up in "htop", but with no output at the
speakers.

What is the expected output? What do you see instead?

The expected output is high quality sound which works for hours after starting
the service.
This problem is totally resolved by either rebooting, or stopping and
restarting the systemctl service.

What version of the product are you using? On what operating system?

The version is squeezelite-armv5te, and this is running on Arch Linux on a
Pogoplug V4 which has 3 USB ports- one is occupied by an Edimax wifi dongle,
and one is occupied by a C-Media audio card.

Please provide any additional information below.

I have replicated my setup on two separate devices at the exact same time, and
they both produce the same issue. After the initial setup of Arch, and getting
wifi working, these are the instructions that I followed:

pacman -Sy faad2 libmad mpg123 libao alsa-utils avahi

#audio fix
echo "use_mmap=no" >> /etc/libao.conf

#Configure alsa - asound.conf file
cd /etc
wget https://dl.dropbox.com/u/42238/pogoplug/v2/asound.conf

cd /home/peter

#download the latest squeezelite version
wget http://squeezelite-downloads.googlecode.com/git/squeezelite-armv5te
mv squeezelite-armv5te squeezelite

#make executable
chmod a+x squeezelite

#download service file
cd /etc/systemd/system
wget http://dl.dropbox.com/u/42238/pogoplug/v2/squeezelite.service

#edit the service file accordingly

[Unit]
Description=Squeezelite lightweight headless squeezebox emulator
After=sound.target
Requires=avahi-daemon.service
After=network.target
After=avahi-daemon.service

[Service]
ExecStart=/home/peter/squeezelite -m ab:cd:ef:12:34:59 -n dining
Restart=always

[Install]
WantedBy=multi-user.target

#start squeezelite and avahi-daemon
systemctl start squeezelite avahi-daemon

#autostart squeezelite and avahi-daemon on reboot
systemctl enable squeezelite avahi-daemon

```

Original issue reported on code.google.com by `monkmand...@gmail.com` on 30 Jan 2015 at 1:56

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.