GithubHelp home page GithubHelp logo

balena-labs-projects / balena-sound Goto Github PK

View Code? Open in Web Editor NEW
2.4K 45.0 424.0 8.31 MB

Build a single or multi-room streamer for an existing audio device using a Raspberry Pi! Supports Bluetooth, Airplay and Spotify Connect

Home Page: https://balena.io/blog/turn-your-old-speakers-or-hi-fi-into-bluetooth-receivers-using-only-a-raspberry-pi/

License: MIT License

Shell 24.20% TypeScript 40.31% HTML 33.31% CSS 2.19%
balena balenacloud raspberry-pi raspberrypi bluetooth-audio bluetooth airplay spotify-connect audio bluetooth-devices multi-room snapcast

balena-sound's Introduction

logo

Starter project enabling you to add multi-room audio streaming via Bluetooth, Airplay2, Spotify Connect and others to any old speakers or Hi-Fi using just a Raspberry Pi.

Highlights

  • Audio source plugins: Stream audio from your favourite music services: Bluetooth, Airplay2, Spotify Connect, UPnP and more!
  • Multi-room synchronous playing: Play perfectly synchronized audio on multiple devices all over your place.
  • Extended DAC support: Upgrade your audio quality with one of our supported DACs

Setup and configuration

Running this app is as simple as deploying it to a balenaCloud fleet. You can do it in just one click by using the button below:

deploy button

Documentation

Head over to our docs for detailed installation and usage instructions, customization options, and more!

Motivation

concept

There are many commercial solutions out there that provide functionality similar to balenaSound. Most of them though come with a premium price tag and are riddled with privacy concerns.

balenaSound is an open source project that allows you to build your own DIY audio streaming platform without compromises. Why spend big money on hardware that might be deemed obsolete by the vendor as they see fit? With balenaSound you are in control, bring your old speakers back to life!

This project is in active development so if you have any feature requests or issues please submit them here on GitHub. PRs are welcome, too.

Getting Help

If you're having any problem, please raise an issue on GitHub and we will be happy to help.

balena-sound's People

Contributors

alanb128 avatar alexprogrammerde avatar andrewn avatar andrewnhem avatar armin-haghi avatar balena-ci avatar chestersgarage avatar chrisys avatar eiddor avatar flowzone-app[bot] avatar iamsolankiamit avatar iayanpahwa avatar maggie44 avatar matthewcroughan avatar mauk81 avatar michaellwilks avatar mikynov avatar nucleardreamer avatar pwt avatar ramirogm avatar roman-mazur avatar saveriogzz avatar shawaj avatar sradevski avatar tmigone avatar vipulgupta2048 avatar wheredidthecostgo avatar xginn8 avatar xyala avatar zrzka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

balena-sound's Issues

Airplay issues

I experience a big latency and audio drop outs on Raspi 4:
14.12.19 16:38:34 (+0100) airplay Very large sync error: 196682 frames, with delay: 284882, td_in_frames: 19213, rt: 8157406172, nt: 8157174215, current_delay: 33712, seqno: 22859, given timestamp: 3862206919.
14.12.19 16:38:34 (+0100) airplay Very large sync error: 196684 frames, with delay: 284884, td_in_frames: 19224, rt: 8157406172, nt: 8157174567, current_delay: 34055, seqno: 22860, given timestamp: 3862207271.
14.12.19 16:38:34 (+0100) airplay Very large sync error: 196684 frames, with delay: 284884, td_in_frames: 19289, rt: 8157406172, nt: 8157174919, current_delay: 34342, seqno: 22861, given timestamp: 3862207623.
14.12.19 16:38:34 (+0100) airplay Very large sync error: 196680 frames, with delay: 284880, td_in_frames: 19294, rt: 8157406172, nt: 8157175271, current_delay: 34685, seqno: 22862, given timestamp: 3862207975.
14.12.19 16:38:34 (+0100) airplay Shome mhistake shurely: very large number of frames to drop: 196680 -- setting it to 132300.

Sound stutters/cuts out or skips every 30 seconds (RTP and SBC error)

Experiencing regular sound cutting off when using bluetooth project suggested here:
[https://www.balena.io/blog/turn-your-old-speakers-or-hi-fi-into-bluetooth-receivers-using-only-a-raspberry-pi/]
I added a new DEVICE CONFIGURATION variable, ‘RESIN_HOST_CONFIG_dtoverlay’ and set its value to ‘pi3-disable-wifi’ but this seems to have no effect - although I can no longer connect to the Pi 3 from the BalenaSound interface (because the wifi on my Pi 3 has been turned off, ironically) and so cannot change anything else now. Nor do I know how to turn wifi back on again since I can't PuTTY into it either...
Some discussion already here:https://forums.balena.io/t/balenasound-blueooth-audio-on-raspberry-pi-3-sound-skipping-dropping/40894/4
but I cannot connect via ethernet either. Device marked as 'Offline' by Balena web-interface.

Can anyone suggest a possible fix to this, please? I’m semi-competent with Pi but do need simple, clear instructions to guide me.
Without a fix this glitch is just too annoying to live with.
I would buy a dedicated bluetooth receiver for my stereo but I felt that re-purposing a Pi 3 would be more appropriate and allow me to stream via a DAC slound card that I am going to add to the Pi (if I can fix the sound issue).
Thanks in advance.
Nibbos

PS please don't ask for output files from the Pi since I am no longer able to communicate with it as a consequence of turning wifi off,

Set up PIN code with an environment variable

Since the default PIN code is hard-coded and too easy to guess, it can be a problem for users of this project to not be able to change it. The environment variable BLUETOOTH_PIN_CODE seems to be a nice candidate for this purpose, and I'll send a PR soon which is going to implement this solution.

connection is stagnant

Hello,

i just installed the balena sound project on my raspi and was very happy that i got it running. :-)
I use it with a raspi 3 and a justboom amp hat soundcard. I can connect via bluetooth, but the song is buffering or the connection is not stable. i don't know. in the logs there are these messages in multiple variations. .

14.10.19 10:35:29 (+0200) /usr/bin/bluealsa: Unsupported RTP payload type: 1
14.10.19 10:36:43 (+0200) /usr/bin/bluealsa: Missing RTP packet: 1227 != 1222
14.10.19 10:36:51 (+0200) /usr/bin/bluealsa: SBC decoding error: No such file or directory
14.10.19 10:37:24 (+0200) /usr/bin/bluealsa: SBC decoding error: No such process

i use balenaOS 2.43.0+rev1 in the developement version. For the use with the justboom amp i created a custom variable BALENA_HOST_CONFIG_dtoverlay with the value "justboom-amp". The entry of the value was pretty much a guess after in the manual was mentioned only the case with hifiberry-dac. Could this cause the problem?

Greetings Max

Unable to use Spotify while BT is paired/connected

From https://forums.balena.io/t/59446

I’ve just configured my RPi3 B+ to cast from various devices to my amplifier.
I am using bluetooth-audio to play music from the Google Home
and using Spotify Connect to play music from any other device.

When I play music from Google Home it is not possible to switch to Spotify Connect.
I get the following error messages.

    26.01.20 12:35:38 (+0100) spotify ERROR:librespot_playback::audio_backend::alsa: Alsa error PCM open ALSA function ‘snd_pcm_open’ failed with error ‘EBUSY: Device or resource busy’
    26.01.20 12:35:38 (+0100) spotify ERROR:librespot_playback::player: Could not start audio: Alsa error: PCM open failed

I can reconnect via Spotify Connect when I stop the bluetooth-audio service.

Is there a way that I can switch between services without enabling/disabling?

Not recognised

I'm using Raspberry Pi 3 B+ with balenaOS for Raspberry Pi 3 (not the 64-bit Beta version). It connects with Bluetooth properly, but it isn't recognised as a valid sound output device on any device I use. When I plug it into my speakers, I get a buzzing sound and nothing else. What do I do?

Installing Without Balena

Hi, a day ago I installed stretch on my Pi 3. I want to try balena sound. Is it possible to deploy this app without using balena OS?

Alsa Settings Reset

Hi Chris, I am really enjoying balena sound. I installed it using the dockerfile(no balena OS). I also switched to ethernet as I thought it will improve my LAN speeds as I am using the Pi as a small NAS and will improve Bluetooth functionality(besides Cypress fix). Everything is working great but the volume setting is resetting.

I am increasing the volume through alsamixer and storing the settings using alsactl, but I still see the volume reset to 36%. Even when I increase the audio in my phone, I still see no change.

Thank you for your wonderful project! I have searched for many days for something like this. I really like the docker thing. Spin up and spin down!

Newlines are in DOS format

Current version errors out with
$'\r': command not found
as DOS newlines are \r\n instead of a Unix \n. Easily fixed with find/replace.

feature request: Could we include multiple connections

I'm trying to figure out if there would be a way to allow multiple bluetooth devices to connect at the same time. When playing music from all devices, it would just cue whatever comes next regardless of who requested it.

Best,

Balena bluetooth-audio can't be discovered by Nvidia Shield TV and LG TV

BalenaSound on my Raspberry Pi 3B+ works perfectly fine when connect via Bluetooth from any smart phones or PCs. However, it can't be discovered on the Nvidia Shield TV (2017 model) as well as my LG smart tv.

The Shield TV and the LG TV have no problem connecting to other Bluetooth devices (e.g. bluetooth speakers, headphones or game controller). I have tried reseting all settings and unpairing/pairing but still can not search for balenaSound device.

Is there anyone know what may cause the problem and how to fix that?

Thank you in advance!

Spotify User and Password

The project uses raspotify, in the raspotify settings there is the option to enter the username and password, if you are a subscriber, to make the device visible on Spotify Connect over the Internet. In this project how do I set this up?

Error on startup: /usr/bin/bluealsa: Couldn't acquire D-Bus name: org.bluealsa

I had this working fine until the last couple of days. Now I get the following error when the container starts:

Setting volume to 100%
Restarting bluetooth service
Bluetooth agent registered
/usr/bin/bluealsa: Couldn't acquire D-Bus name: org.bluealsa
Device is discoverable as "balenaSound"
/usr/bin/bluealsa-aplay: Couldn't get BlueALSA PCM list: The name org.bluealsa was not provided by any .service files

There was a Balena image rebuild, but no relevant code changes as far as I'm aware. Deploying an older release avoids the error.

Any ideas?

Does it support Raspi4?

Does it support Raspi4? I encounter below message when upload.
bluetooth-audio] apt failed, retrying
[bluetooth-audio] Reading package lists...
[bluetooth-audio] Building dependency tree...
[bluetooth-audio] Reading state information...
[bluetooth-audio] E: Unable to locate package bluealsa
[bluetooth-audio]
[bluetooth-audio] Removing intermediate container d6e217f4167a
[bluetooth-audio] The command '/bin/sh -c install_packages alsa-utils bluealsa bluez python-gobject python-dbus mplayer' returned a non-zero code: 100
[Info] Uploading images
[Success] Successfully uploaded images
[Error] Some services failed to build:
[Error] Service: bluetooth-audio
[Error] Error: The command '/bin/sh -c install_packages alsa-utils bluealsa bluez python-gobject python-dbus mplayer' returned a non-zero code: 100
[Info] Built on arm03
[Error] Not deploying release.
Remote build failed

Audio distortion when volume is 100%

Hello, when I leave the volume level at 100% I get distorted audio on some tracks.
When I lower the volume on the phone or set the SYSTEM_OUTPUT_VOLUME to 98 the distortion goes away.

Is there any one else with this issue or a fix for it other than setting the volume level lower?

Intermittent issues with streaming

Issue: Noticed that sometimes the Bluetooth would not connect, sometimes that Spotify would not work as it wouldn't show up.
Root cause: Running the balena diagnostics quickly identified the source of the problem. Running out of space on the drive (/mnt/data).

When trying to figure out what is using up the data and found the following two folders:
/mnt/data/docker/aufs/diff (~800MB)
/mnt/data/docker/volumes/xxxxx_spotifycache (~300MB)

So, to fix this need to figure out why these folders are getting so large and how to keep them manageable.

Add GPIO output

Add GPIO output which can be used to enable an amplifier when music is playing.

Sound delay (approx 1 sec)

I'm experiencing a sound delay of approximately 1 second making it useless to watch videos. Is this expected behavior?

Using Raspberry Pi 3b

Cannot play audio on linux PC

After checking my log on Balena cloud, Here what it shown:

03.08.19 14:06:35 (+0700) /usr/bin/bluealsa: Unsupported RTP payload type: 1
03.08.19 14:06:35 (+0700) /usr/bin/bluealsa: Unsupported RTP payload type: 1
03.08.19 14:06:35 (+0700) /usr/bin/bluealsa: Unsupported RTP payload type: 1
03.08.19 14:06:35 (+0700) /usr/bin/bluealsa: Unsupported RTP payload type: 1
03.08.19 14:06:35 (+0700) /usr/bin/bluealsa: Unsupported RTP payload type: 1
03.08.19 14:06:35 (+0700) /usr/bin/bluealsa: Unsupported RTP payload type: 1
03.08.19 14:06:35 (+0700) /usr/bin/bluealsa: Unsupported RTP payload type: 1
03.08.19 14:06:35 (+0700) /usr/bin/bluealsa: Unsupported RTP payload type: 1

it shown this for entire of the log file

Here its my issuse report.Thanks for reading this

Need Pairing Password

I have setup a balena sound device.
It does it job but I am living in a flat and my neighbours can connect to the device, because there is no Password set to pair.

Thats a big issue!

No audio output using onboard 3.5mm audio jack over bluetooth

Hi there,
So I just did this project on a RPi3, and found out that I could not play any music over Bluetooth or Spotify connect. I am able to select the device as a source in Spotify, but no music comes out of the speakers. If I connect my huawei nova 3i up to it over Bluetooth, no audio comes out of the speakers either. Looking at the console on my balenaDashboard, I see this when I try and play audio through Bluetooth:

01.02.20 18:31:55 (+1000) bluetooth-audio /usr/bin/bluealsa-aplay: Couldn't open PCM: No such device 01.02.20 18:32:37 (+1000) bluetooth-audio ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave 01.02.20 18:32:37 (+1000) bluetooth-audio /usr/bin/bluealsa-aplay: Couldn't open PCM: No such device 01.02.20 18:32:42 (+1000) bluetooth-audio /usr/bin/bluealsa: Missing RTP packet: 256 != 3 01.02.20 18:32:43 (+1000) bluetooth-audio /usr/bin/bluealsa: SBC decoding error: No such file or directory

However, when I play from Spotify, I get this:

01.02.20 18:36:06 (+1000) spotify INFO:librespot_playback::player: Loading track "Throw Your Arms Around Me" with Spotify URI "spotify:track:3T0ggmh35mdaTCXT2c0wkb" 01.02.20 18:36:47 (+1000) spotify INFO:librespot_playback::player: Track "Throw Your Arms Around Me" loaded 01.02.20 18:36:47 (+1000) spotify ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave 01.02.20 18:36:47 (+1000) spotify ERROR:librespot_playback::audio_backend::alsa: Alsa error PCM open ALSA function 'snd_pcm_open' failed with error 'ENODEV: No such device' 01.02.20 18:36:47 (+1000) spotify ERROR:librespot_playback::player: Could not start audio: Alsa error: PCM open failed 01.02.20 18:36:47 (+1000) spotify ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave 01.02.20 18:36:47 (+1000) spotify ERROR:librespot_playback::audio_backend::alsa: Alsa error PCM open ALSA function 'snd_pcm_open' failed with error 'ENODEV: No such device' 01.02.20 18:36:47 (+1000) spotify ERROR:librespot_playback::player: Could not start audio: Alsa error: PCM open failed

I do not have any other RPis to test this on, but I know this:

  1. The speakers that I am playing through work, and so does the cable.
  2. My Spotify account is a premium account, and plays the song on other devices, including a google home.
  3. The Pi's GPIO may be broken, because I cannot output anything to any of them. I can only get the 3.3v and 5v out. However, when I ran a program that tested if any of the GPIO pins were broken, it said that all of them were working.
  4. A while ago, I tried a balena project that did a similar thing on the same Pi, but only with bluetooth, and it didn't work either, and gave similar messages.
  5. I have no other RPis, I don't know anyone I can borrow one from, and I cannot buy one for reasons that you do not need to know.
    Edit: 6. I have not tried AirPlay, and cannot try it, as I do not have any apple devices. But I believe the problem is not related to airplay, bluetooth or spotify.

Thanks,
VoxelTek

Balena shutdown

Hi,

I've just completed my first Balena project, the Balenasound raspberry pi build. It works great, but I am not sure how to remotely shut my pi down without just turning it off at the wall. Help please

Can't connect to device after powerloss

When you unplug and plug the Pi back in i have to remove it from "My Devices" and then connect to it from scratch or it will error on connection

Enviroment:
iPhone XS iOS 12.4
Raspberry Pi Zero WH
balenaOS 2.32.0+rev1
Balena-Sound master v0.0.11

Spotify, Bluetooth, and AirPlay crash when starting.

All 3 services crash right after starting and I have no idea what's happening.
I am using a Raspberry Pi 3b with balenaOS 2.43.0+rev1.

Here is the log:

13.11.19 18:18:31 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:18:31 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:18:39 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:18:39 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:18:41 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:18:42 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:18:43 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:18:43 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:18:47 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:18:39 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:18:39 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:18:46 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:18:46 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:18:48 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:18:41 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:18:48 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:18:48 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:18:39 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:18:39 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:18:47 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:18:47 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:18:49 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:18:50 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:18:50 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:18:54 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:18:46 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:18:46 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:18:54 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:18:54 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:18:55 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:18:47 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:18:47 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:18:55 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:18:55 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:18:56 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:18:48 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:18:56 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:18:56 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:18:59 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:18:59 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:19:03 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:18:54 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:18:54 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:19:02 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:19:02 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:19:04 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:19:05 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:18:55 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:18:55 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:19:04 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:19:04 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:19:05 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:18:56 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:19:05 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:19:07 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:19:07 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:19:13 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:19:02 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:19:02 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:19:13 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:19:13 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:19:15 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:19:17 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:19:04 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:19:04 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:19:16 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:19:16 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:19:17 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:19:05 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:19:17 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:19:19 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:19:19 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:19:31 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:19:13 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:19:13 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:19:31 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:19:31 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:19:33 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:19:36 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:19:16 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:19:16 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:19:35 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:19:35 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:19:36 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:19:17 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:19:37 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:19:38 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:19:38 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:20:01 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:19:31 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:19:31 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:20:01 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:20:01 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:20:03 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:20:07 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:19:35 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:19:35 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:20:06 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:20:06 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:20:07 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:19:37 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:20:07 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:20:09 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:20:09 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:20:56 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:20:01 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:20:01 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:20:56 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:20:56 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:20:58 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:21:03 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:20:06 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:20:06 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:21:03 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:21:03 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:21:04 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:20:07 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:21:04 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:21:05 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:21:06 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:22:00 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:20:56 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:20:56 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:22:00 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:22:00 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:22:02 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:22:08 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:21:03 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:21:03 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:22:08 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:22:08 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:22:09 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:21:04 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:22:10 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:22:10 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:22:12 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:23:04 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:22:00 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:22:00 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:23:04 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:23:04 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:23:06 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:23:12 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:22:08 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:22:08 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:23:12 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:23:12 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:23:14 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:23:15 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:22:10 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:23:15 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:23:17 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:24:08 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:23:04 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:23:04 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:24:08 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:24:08 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:24:10 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:24:17 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:23:12 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:23:12 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:24:16 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:24:16 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:24:18 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:24:20 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:23:15 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:24:20 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:24:22 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:25:12 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:24:08 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:24:08 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:25:12 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:25:12 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:25:14 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:25:21 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:24:16 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:24:16 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:25:21 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:25:21 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:25:23 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:25:25 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:24:20 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:25:25 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:25:27 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:26:17 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:25:12 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:25:12 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:26:16 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:26:16 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:26:18 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:26:25 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:25:21 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:25:21 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:26:25 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:26:25 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:26:27 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:26:29 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:25:25 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:26:30 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:26:32 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:27:21 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:26:16 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:26:16 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:27:20 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:27:20 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:27:22 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:27:29 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:26:25 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:26:25 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:27:29 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:27:29 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:27:31 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:27:34 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:26:30 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:27:34 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:27:36 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:28:25 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:27:20 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:27:20 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:28:24 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:28:24 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:28:26 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:28:33 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:27:29 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:27:29 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:28:33 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:28:33 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:28:35 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:28:39 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:27:34 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:28:39 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:28:41 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:29:29 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:28:24 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:28:24 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:29:28 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:29:28 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:29:30 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:29:37 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:28:33 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:28:33 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:29:37 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:29:37 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:29:39 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:29:44 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:28:39 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:29:44 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:29:46 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:30:33 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:29:28 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:29:28 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:30:32 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:30:32 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:30:34 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:30:41 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:29:37 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:29:37 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:30:41 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:30:41 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:30:43 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:30:48 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:29:44 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:30:49 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:30:51 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:31:37 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:30:32 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:30:32 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:31:37 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:31:37 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:31:38 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:31:45 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:30:41 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:30:41 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:31:45 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:31:45 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:31:47 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:31:53 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:30:49 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:31:53 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:31:55 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:32:41 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:31:37 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:31:37 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:32:41 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:32:41 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:32:42 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:32:49 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:31:45 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:31:45 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:32:49 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:32:49 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:32:51 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:32:58 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:31:53 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:32:58 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:33:00 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:33:45 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:32:41 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:32:41 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:33:45 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:33:45 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:33:47 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:33:53 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:32:49 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:32:49 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:33:53 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:33:53 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:33:55 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:34:04 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:32:58 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:34:04 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:34:06 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:34:49 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:33:45 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:33:45 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:34:49 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:34:49 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:34:51 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:34:57 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:33:53 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:33:53 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:34:57 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:34:57 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:34:58 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:35:09 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:34:04 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:35:09 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:35:11 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:35:54 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:34:49 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:34:49 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:35:53 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:35:53 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:35:55 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:36:01 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:34:57 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:34:57 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:36:01 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:36:01 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:36:02 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:36:13 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:35:09 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:36:14 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:36:16 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:36:58 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:35:53 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:35:53 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:36:57 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:36:57 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:36:59 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:37:05 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:36:01 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:36:01 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:37:05 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:37:05 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:37:06 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:37:18 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:36:14 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:37:18 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:37:20 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:38:02 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:36:57 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:36:57 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:38:01 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:38:01 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:38:03 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:38:09 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:37:05 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:37:05 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:38:09 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:38:09 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:38:11 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:38:23 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:37:18 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:38:23 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:38:25 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:39:06 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:38:01 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:38:01 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:39:05 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:39:05 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:39:07 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:39:13 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:38:09 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:38:09 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:39:13 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:39:13 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:39:15 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:39:27 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:38:23 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:39:28 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:39:29 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:40:10 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:39:05 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:39:05 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:40:09 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:40:09 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:40:11 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:40:17 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:39:13 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:39:13 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:40:17 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:40:17 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:40:19 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:40:32 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:39:28 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:40:32 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:40:34 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:41:14 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:40:09 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:40:09 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:41:14 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:41:14 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:41:15 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:41:22 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:40:17 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:40:17 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:41:21 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:41:21 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:41:23 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:41:37 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:40:32 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:41:37 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:41:39 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:42:18 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:41:14 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:41:14 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:42:18 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:42:18 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:42:19 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:42:26 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:41:21 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:41:21 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:42:26 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:42:26 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:42:27 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:42:41 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:41:37 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:42:42 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:42:43 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:43:22 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:42:18 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:42:18 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:43:22 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:43:22 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:43:23 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:43:30 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:42:26 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:42:26 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:43:30 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:43:30 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:43:31 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:43:46 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:42:42 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:43:47 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:43:49 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:44:26 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:43:22 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:43:22 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:44:26 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:44:26 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:44:28 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:44:34 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:43:30 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:43:30 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:44:34 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:44:34 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:44:36 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:44:51 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:43:47 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:44:52 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:44:53 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:45:30 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:44:26 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:44:26 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:45:30 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:45:30 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:45:32 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 18:45:38 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:44:34 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:44:34 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:45:38 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 18:45:38 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 18:45:39 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 18:45:56 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 18:44:52 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:45:57 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 18:45:58 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 20:15:24 (-0500) Logs disconnected, reconnecting...
13.11.19 20:15:38 (-0500) Reconnected.
13.11.19 20:15:49 (-0500) Restarting service 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 20:14:44 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 20:15:49 (-0500)  bluetooth-audio  /usr/bin/env: ‘bash\r’: No such file or directory
13.11.19 20:15:52 (-0500) Service exited 'bluetooth-audio sha256:6f7812f4bab76191cc6531097290299bee37f39a3cfacb51ec95865bd2bc32d6'
13.11.19 20:15:53 (-0500) Restarting service 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 20:14:47 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 20:14:47 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 20:15:53 (-0500)  spotify  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 20:15:53 (-0500)  spotify  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 20:15:54 (-0500) Restarting service 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'
13.11.19 20:14:48 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 20:14:48 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 20:15:54 (-0500)  airplay  /usr/src/start.sh: line 2: $'\r': command not found
13.11.19 20:15:54 (-0500)  airplay  /usr/src/start.sh: line 8: syntax error: unexpected end of file
13.11.19 20:15:55 (-0500) Service exited 'spotify sha256:17b0a89abd9ae7dccddf14dc6a5dadd9fda89a14e804641dec17291fef06b692'
13.11.19 20:15:56 (-0500) Service exited 'airplay sha256:cd8c56c6f396a3760eb10374a31de15bf04535838066ac9679843df82a3b493f'

Support for Orange Pi

I tried to run Balena sound on an orange pi plus 2. Many things seams to be working, but the board is not out putting any audio from the 3.5mm jack

Unable to locate package bluealsa

I just tried to push this project to my raspberry but I get an error when it tries to download bluealsa.

[Info]             Dashboard link: https://dashboard.balena-cloud.com/apps/1499654/devices
[Info]             Building on arm01
[Info]             Pulling previous images for caching purposes...
[Success]          Successfully pulled cache images
[bluetooth-audio]  Step 1/13 : FROM balenalib/raspberrypi3-64:stretch
[bluetooth-audio]   ---> 2c6daafcf5bf
[bluetooth-audio]  Step 2/13 : ENV DBUS_SYSTEM_BUS_ADDRESS unix:path=/host/run/dbus/system_bus_socket
[bluetooth-audio]  Using cache
[bluetooth-audio]   ---> c9e969ef66c9
[bluetooth-audio]  Step 3/13 : ENV UDEV 1
[bluetooth-audio]  Using cache
[bluetooth-audio]   ---> c3176c9feb77
[bluetooth-audio]  Step 4/13 : RUN install_packages   alsa-utils   bluealsa   bluez   python-gobject   python-dbus   mplayer
[bluetooth-audio]   ---> Running in 60fe2abc1a76
[bluetooth-audio]  Reading package lists...
[bluetooth-audio]  Building dependency tree...
[bluetooth-audio]  Reading state information...
[bluetooth-audio]  E: Unable to locate package bluealsa
[bluetooth-audio]
[bluetooth-audio]  apt failed, retrying
[bluetooth-audio]  Reading package lists...
[bluetooth-audio]  Building dependency tree...
[bluetooth-audio]  Reading state information...
[bluetooth-audio]  E: Unable to locate package bluealsa
[bluetooth-audio]
[bluetooth-audio]  apt failed, retrying
[bluetooth-audio]  Reading package lists...
[bluetooth-audio]  Building dependency tree...
[bluetooth-audio]  Reading state information...
[bluetooth-audio]  E: Unable to locate package bluealsa
[bluetooth-audio]
[bluetooth-audio]  Removing intermediate container 60fe2abc1a76
[Info]             Uploading images
[bluetooth-audio]  The command '/bin/sh -c install_packages   alsa-utils   bluealsa   bluez   python-gobject   python-dbus   mplayer' returned a non-zero code: 100
[Success]          Successfully uploaded images
[Error]            Some services failed to build:
[Error]              Service: bluetooth-audio
[Error]                Error: The command '/bin/sh -c install_packages   alsa-utils   bluealsa   bluez   python-gobject   python-dbus   mplayer' returned a non-zero code: 100
[Error]            Not deploying release.

Using container on other than balenaOS

Can we use this docker container to run on some other OS like Raspbian or Arch Linux ARM. I ask this because I do not want to install a new OS just to use this single docker when I have everything else configured in the other OS.

feature request: usb sound card support for raspberry pi zero W

I tried a raspberry pi zero with balena-sound. It worked with the HDMI audio output without any configuration on my part. Just had the HMDI cable at boot time. I tried with an USB sound card, but it didn't work having it plugged at boot time. Alsa Mixer list the device, but it can not change or select the output hardware.
I would like to have some tips on how to create a configuration file like .asoundrc or /etc/asound.conf that allows me set up an usb sound card for balena-sound. At the moment there is no file related to this. For instance, having a second take on the project page giving some ideas. Maybe a working example that take into account the software provided in the image for raspberry pi zero W.
I guess, it will nice if pools the audio output and tries the USB devices "automagically" ... but I do understand that it is difficult to provide support to an unknown hardware. It is difficult to guess what kind of USB sound card adapter somebody will use.
Thanks

Spotify Connect & Podcasts

I noticed that I can't stream Podcasts, although music works just fine.

I believe this could be since Podcasts are being considered "mixed" content, with both Audio & Video, although I doubt video is supported in the regular Spotify client.

Is there any known workaround to possibly stream podcasts too?

Suptronics X400 DAC

My system is a raspberry pi 3 with a Suptronics X400 DAC - http://www.raspberrypiwiki.com/index.php/X400_V3.0
I have disabled the on-board audio by editing the existing RESIN_HOST_CONFIG_dtparam variable to set ”audio=off”.
I added the additional custom configuration variable called BALENA_HOST_CONFIG_dtoverlay with a value of hifiberry-dac.
I suspect this is not the correct value.

On the volumio project, there is a list of DAC's that are supported. https://github.com/volumio/Volumio2/blob/master/app/plugins/system_controller/i2s_dacs/dacs.json
The suptronics X400 has the following settings:

{"id":"st400-dac-amp","name":"ST400 Dac (PCM5122) - Amp","overlay":"iqaudio-dacplus","alsanum":"1","mixer":"Digital","modules":"","script":"","needsreboot":"yes"},

Can anyone advise?

Using Balena-Sound without an Internet connection

On my setup, Balena-Sound appear to be ready for connection if it is connected to the Internet. Without Internet (for my case, network cable not connected), the device is not discoverable.
I understand that the initial push from cloud for setup must have Internet. However, subsequence daily usage streaming via Bluetooth should not require any Internet connection.
As my Hifi is not co-located with good Internet, would appreciate if someone may be able to advise if there is any configuration that allow my pi/Balena-Sound to work without Internet.

Thanks!

Cant play any music when connected with iPad

Whenever I boot the RPi and i see the log on the dashboard, this comes up:
amixer: Unable to find simple control 'PCM',0
i ignore it, as i do not think it will affect anything. I connect my iPad(or whatever device i am using) to the bluetooth and start playing some music. when i hear nothing, i go back to the log and see a lot of errors in there. the errors are:

/usr/bin/bluealsa-aplay: Couldn't open PCM: No such device

ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave

/usr/bin/bluealsa: SBC decoding error: No such file or directory

/usr/bin/bluealsa: Missing RTP packet: 4157 != 4156

however, when i press pause on my ipad, the errors stop spitting out. all this time, there is absolutely no sound coming through the speakers, which i have tested. i really want to be able to use bluetooth with these speakers. please resolve this issue immediately.

From,
VoxelTek

Bluetooth doesn't connect automatically when the service starts

Upon startup, Bluetooth doesn't connect automatically with paired devices on startup. This is very annoying when using BalenaSound in the car as you need to navigate to phone's Bluetooth settings and locate the Bluetooth connection entry.

Steps to reproduce the issue:

  1. Power on the Raspberry Pi with BalenaSound installed.
  2. Connect a phone to BalenaSound Bluetooth service.
  3. Restart the Raspberry Pi (unplug and plug back in).

Expected: Bluetooth automatically re-connects.
Actual: Bluetooth doesn't re-connect automatically, manual connection is needed.

Environment:
iPhone XS Max iOS 13.0 (haven't checked Android).
Raspberry Pi 3B
balenaOS 2.38.0+rev1
bluetooth-audio rev f623957

Can't upload

image

I have tried to upload from different os, Ubuntu 16.04, 18.04 and Windows 10.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.