-
-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shairport returns "Aborted" whenever a Command is Entered #927
Comments
Thanks for the post. Could you post the output from:
please? (That’s an uppercase “V”.) |
Also, it might be worth setting the verbosity of the log to |
Hi Mike, I have the sam issue on an arm based device running debian:
|
Very interesting thanks. Is it easily reproducible? |
Yes it actually occurs every time I tried connecting using any device I have with this version (3.3.4) |
It will be mid next week before I can troubleshoot this, I’m afraid. Can you share more details on the run time environment, e.g. what version of Debian, and is it 32- or 64-bit? |
No problem! no rush. It seems the issue is already present in version 3.3.2. I have now reverted back version 3.3, which runs fine. hope this helps! I am running ARMBIAN 5.69 stable Debian GNU/Linux 9 (stretch) 4.19.62-sunxi btw |
Thanks! |
I thought /shairport-sync -V also didn't work but to my supprize it returned this I commeted all of my config settings basicly reverting it back to its normal state. Then i ran Output:
|
Im studying the -vu and it looks like mdns is a part of avatchi ill try to re-build shairport with avatchi I did so and that fixed the aborting issue however now ive run into the same problem with the abrasive version of shairport, it just freezes and returns nothing. ./shairport-sync -vu is no use because 1. it cuts off the top portion of the output and 2. it freezes once it states Edit: Got the aborted issue again but i tried editing a few things and got this |
Got the full
Im also not getting the pulse audio error (or its not showing up) however i can connect to shairport from my phone and then it does nothing, it doesnt even go to the audio jack so ¯_(ツ)_/¯ |
Update: It seems to be accepting input just fine now but after using --statistics it seems that if i use pipe it will tell me that alsa was "underrun while writing to alsa device" or it will say aborted again. Stdout will also print garbled junk and emojiis if you do /shairport-sync -a "Name" -o stdout -vu |
Thanks for the update. The version string indicates that you have include the When you were successful with
should produce audio at the output. Then you can start troubleshooting your own processing chain. |
It seems that shairport has been working since yesterday. Whoops! Sorry for this issue page. So in conclusion it was just that i didn''t install shairport with acatchii. The reason i thought it was broken yesterday is because i thought that shairport had a buffer length of about 15 sec before it started playing however i left shairport on while i was grabing a cord and it started playing something wich i found out was the song played at 8x slower than usual. i fixed the slowness issue kinda so if its ok by you artenverho ill close the issue? |
That’s great that you resolved your issue. However it seems that @artenverho‘s issue is still to be dealt with, so let’s leave it open for the time being. |
@artenverho, is your device an Orange Pi, by any chance? |
I think I can replicate it! |
@artenverho, this has been fixed, I believe, in the |
Hi Mike, I just checked the development branch and it seems to be fixed. Thanks! |
Many thanks. As soon as it's in the |
This issue has been inactive for 60 days so will be closed 7 days from now. To prevent this, please remove the "stale" label or post a comment. |
Hello, currently im working on a project that enables me to take input via. Shairport and broadcast the music to my brother's fm radio. I planed on doing this by sending the raw data via. Stdout to sox so that it can convert to a lower sample rate and mono, then broadcasting that stream through a Fm Transmitter program (https://github.com/markondej/fm_transmitter). Fm_transmitter supports wav and stream files that are 22050 sample rate or lower so that's why i have to convert it. The full command line for this is
/shairport-sync/shairport-sync -a "Name" -o stdout | sox -t raw -r 22050 -b 16 -c 1 -L -e signed-integer - -t wav - | sudo ./Desktop/Radio/fm_transmitter/fm_transmitter -f 92.7-
To build Shairport I first used the pre-made command line
./configure --sysconfdir=/etc --with-alsa --with-pa --with-avahi --with-ssl=openssl --with-metadata --with-soxr --with-systemd
and proceeded to also add to that command the options for pipe and stdout. however after i built the program and typed in the command line for the fm transmitter everything freezes and nothing is printed (except for a sox error witch is not detrimental). So i checked by doing
/shairport-sync/shairport-sync -a "name"
and it returnsAborted
The only command the shairport is able to accept is
shairport-sync/shairport-sync -h
.No matter how many times i edit the config file this always occurs. I tried the abrasive version of shairport but it doesn't support stdout just pipe. However it had the pipe option so i tried this on both versions. Stdout is accepted by fm_transmitter and if you convert the fifo file to wav during the lowering in sample rate a fifo file should work but it doesn't.
After much testing and searching online it seems that fm_transmitter and the conversion are working fine im just having troubles with shairport. I forgot to mention that abrasive shairport is able to start for me but doesn't work when using pipe. Its alright if you don't know whats wrong I just thought that this would be a nice project to tinker with. In advance, Thanks a million!
The text was updated successfully, but these errors were encountered: