Update 'README.md'
This commit is contained in:
93
README.md
93
README.md
@@ -22,8 +22,45 @@ Copy/download file [etc/asound.conf](etc/asound.conf) to /etc/
|
|||||||
|
|
||||||
Reboot
|
Reboot
|
||||||
|
|
||||||
|
## Bluealsa/bluealsa-aplay
|
||||||
|
*Using pi as bluetooth speaker*
|
||||||
|
|
||||||
|
### Install
|
||||||
|
|
||||||
|
sudo apt update && sudo apt install bluealsa -y
|
||||||
|
|
||||||
|
### Start on boot
|
||||||
|
|
||||||
|
sudo service bluealsa enable && sudo service bluealsa start
|
||||||
|
|
||||||
|
### How to use
|
||||||
|
|
||||||
|
#### Manual initialization
|
||||||
|
|
||||||
|
bluealsa-aplay 00:00:00:00:00:00
|
||||||
|
|
||||||
|
#### Automatically on boot
|
||||||
|
ALSA only allows one application using sound (bad sound quality experience with DMUX or pulseaudio). To control service start/stop use onlyone utility
|
||||||
|
|
||||||
|
|
||||||
|
#### Service Setup
|
||||||
|
**Atention! Step not required if using onlyone utility**
|
||||||
|
|
||||||
|
*if used with squeezelite only one can be used on boot*
|
||||||
|
Download/copy file [etc/systemd/system/bluealsaaplay.service](etc/systemd/system/bluealsaaplay.service) to /etc/systemd/system/
|
||||||
|
|
||||||
|
Start service
|
||||||
|
|
||||||
|
sudo systemctl start bluealsaaplay
|
||||||
|
|
||||||
|
Start on boot
|
||||||
|
|
||||||
|
sudo systemctl enable bluealsaaplay
|
||||||
|
|
||||||
|
|
||||||
## SqueezeLite
|
## SqueezeLite
|
||||||
*Requires Logitech Media Server check [instructions](/marcio.fernandes/lms) for setup*
|
*Requires Logitech Media Server check [instructions](/marcio.fernandes/lms) for server setup*
|
||||||
|
|
||||||
### Install
|
### Install
|
||||||
1. Check latest [version](https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/) SqueezeLite
|
1. Check latest [version](https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/) SqueezeLite
|
||||||
1. Download latest version
|
1. Download latest version
|
||||||
@@ -47,63 +84,33 @@ Reboot
|
|||||||
|
|
||||||
sudo chmod +x /usr/local/bin/squeezelite
|
sudo chmod +x /usr/local/bin/squeezelite
|
||||||
|
|
||||||
### Setup as service
|
### Setup
|
||||||
|
ALSA only allows one application using sound (bad sound quality experience with DMUX or pulseaudio). To control service start/stop use onlyone utility
|
||||||
|
|
||||||
|
#### Manual initialization
|
||||||
|
|
||||||
|
/usr/bin/squeezelite
|
||||||
|
|
||||||
|
#### Setup as service
|
||||||
|
**Atention! Step not required if using onlyone utility**
|
||||||
Download/copy file [etc/systemd/system/squeezelite.service](etc/systemd/system/squeezelite.service) to /etc/systemd/system/
|
Download/copy file [etc/systemd/system/squeezelite.service](etc/systemd/system/squeezelite.service) to /etc/systemd/system/
|
||||||
|
|
||||||
*check file for squeezelite configurations*
|
*check file for squeezelite configurations*
|
||||||
*squeezelite --help for arguments*
|
*squeezelite --help for arguments*
|
||||||
|
*if used with bluealsa only one can be running*
|
||||||
|
|
||||||
Start service
|
Start service
|
||||||
*if used with bluealsa only one can be running*
|
|
||||||
|
|
||||||
sudo systemctl start squeezelite
|
sudo systemctl start squeezelite
|
||||||
|
|
||||||
Enable on boot
|
Enable on boot
|
||||||
*if used with bluealsa only one can be used on boot*
|
|
||||||
|
|
||||||
sudo systemctl enable squeezelite
|
sudo systemctl enable squeezelite
|
||||||
|
|
||||||
## Bluealsa/bluealsa-aplay
|
## onlyone - utility
|
||||||
*Using pi as bluetooth speaker*
|
|
||||||
|
|
||||||
## Install
|
|
||||||
|
|
||||||
sudo apt update && sudo apt install bluealsa -y
|
|
||||||
|
|
||||||
## Setup as service
|
|
||||||
|
|
||||||
Start on boot
|
|
||||||
|
|
||||||
sudo service bluealsa enable && sudo service bluealsa start
|
|
||||||
|
|
||||||
### bluealsa-aplay as service
|
|
||||||
Download/copy file [etc/systemd/system/bluealsaaplay.service](etc/systemd/system/bluealsaaplay.service) to /etc/systemd/system/
|
|
||||||
|
|
||||||
Enable service on boot
|
|
||||||
*if used with squeezelite only one can be used on boot*
|
|
||||||
|
|
||||||
sudo systemctl enable bluealsaaplay
|
|
||||||
|
|
||||||
Start service
|
|
||||||
*if used with squeezelite only one can be running*
|
|
||||||
|
|
||||||
sudo systemctl start bluealsaaplay
|
|
||||||
|
|
||||||
## bluealsa-aplay and Squeezelite
|
|
||||||
|
|
||||||
Squeelite on boot
|
|
||||||
|
|
||||||
sudo systemctl enable squeezelite
|
|
||||||
|
|
||||||
Change to bluealsa-aplay
|
|
||||||
|
|
||||||
sudo sh -c 'systemctl stop squeezelite; systemctl start bluealsaaplay'
|
|
||||||
|
|
||||||
Change to squeezelite
|
|
||||||
|
|
||||||
sudo sh -c 'systemctl stop bluealsaaplay; systemctl start squeezelite'
|
|
||||||
|
|
||||||
|
cd /srv
|
||||||
|
git clone https://git.limbosolutions.com/marcio.fernandes/onlyone.git
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user