Comments (11)
I am having this issue with 0.11.1 without pulseaudio.
in my raspbian installation this was due to the home directory of the snapclient user not existing and not being writable to th snapclient user. after creating the directory /var/lib/snapclient and chowning it to the snapclient user, everything works like a charm.
This may be an issue of the snapclient package...
Update: here is the command:
mkdir /var/lib/snapclient
chown snapclient /var/lib/snapclient
from snapcast.
I also encountered this problem with exactly the same log, use @christf 's fix and it works.
from snapcast.
Are you sure that client and server are both on 0.7?
Did you make clean
after pulling the latest version?
from snapcast.
You are completely right, the updated didnt work. Thanks a lot.
from snapcast.
@deisi @badaix have the same issue, fresh installation raspberry Arch linux and x64 Manjaro(Arch distribution) both have 0.10.0-2 version builded from aur
on client
Jan 16 01:35:26 jarvis snapclient[20550]: Connected to 192.168.1.187
Jan 16 01:35:28 jarvis snapclient[20550]: Exception in Controller::worker(): sum timeout exceeded 10s
and
on server x64
Jan 15 22:27:25 alarmpi snapserver[4728]: Exception in StreamSession::reader(): read_some: End of file
Jan 15 22:27:26 alarmpi snapserver[4728]: StreamServer::NewConnection: 192.168.1.2
clients on android(two smartphones works ok) server runned on x64 works with clients on androids and client on x64 machine gives the same issue.
Any ideas what i've faced?
from snapcast.
uff, I currently have a broken rpi and cant test. In any case, I will change back to debian, because I hat too much trouble with Arch on ARM.
So no, Idear sry.
from snapcast.
I get exactly the same problem with 2 freshly install Snapcast 0.11.1 installed from Arch AUR:
- exact same version on streaming server and client,
- client on server itself (loopback) works,
- client on my laptop don't with the error messages indicated by @seniorivn.
from snapcast.
hey how you start the client? From systemd?
Try starting it maual with:
snapclient
and see if it works
If it works, you might have the same problem as I just described in #229
If this is the problem It would be interesting to hear if you are using pulseaudio as well.
from snapcast.
Ok, further testing with two clients both running Arch (same dist on the server too):
- Raspberry Pi without PulseAudio: works flawlessly launched in command line with or without daemon mode, and launched through systemd,
- Laptop with PulseAudio: works when launched in command line with or without daemon, not when launched through systemd (errors indicated above).
So, it seems it is linked in some way to #229.
from snapcast.
Hello menghan and christf,
I have the same problem, what is the code you use to get this working?
i tried "sudo` chown -c snapsclient /var/lib/snapclient/"
But that does not work.
Can you please help me?
i am using version 0.11.1.
Thank you in advance
from snapcast.
@atze09 sorry for the late response.
The fix command: mkdir /var/lib/snapclient; chown snapclient /var/lib/snapclient
works for me as 0.11.1. Since snapcast has newer release, I think it best to try the latest release.
Fix commands working for 0.11.1 may not works for the latest.
from snapcast.
Related Issues (20)
- Can't run snapclient on Vero 4K (OSMC) HOT 1
- [Windows] ~3 second stutters every ~30 seconds (Not enough frames)
- ALSA playback fails when outputting to dshares since v0.23.0 HOT 1
- Defunct child processes created when using script mixer in snapclient HOT 1
- PulseAudio doesn't create /tmp/snapfifo pipe
- Snapserver considers two independent devices as 1 HOT 1
- Add idle/playing status to mixer script call HOT 2
- Volume is set to 0 after mute/unmute in pipewire
- Unable to install the provided deb package on bookworm-based raspbian HOT 12
- Snapweb was not installed HOT 8
- Add Plexamp support for audio playback HOT 4
- Snapclient crashes and will not start under any format. HOT 3
- Snapclient sounds like /dev/urandom just got piped into my speaker HOT 48
- Option to disable avahi
- Control clients do not receive updates on time HOT 2
- Script volume control script is called on each update without waiting for the previous to end HOT 2
- [Feature Request][Bug] Mmaping the streamfile
- Media player does not support browsing media HOT 1
- Arm64 deb release
- Support for ALSA floating point samples?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snapcast.