Skip to content
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

(maint) fix formatting #2371

Merged
merged 1 commit into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ There is a growing section of [troubleshooting](https://github.com/MiczFlor/RPi-

Here is a list of equipment needed. You can find a lot second hand online (save money and the planet). The links below lead to Amazon, not at all because I want to support them, but because their PartnerNet program helps to support the Phoniebox maintenance (a little bit...).

Note: depending on individual projects, the hardware requirements vary.
> [!NOTE]
> Depending on individual projects, the hardware requirements vary.

### Raspberry Pi

Expand Down
6 changes: 4 additions & 2 deletions components/controls/buttons-bluetooth-headphone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ Out-of-the box support is included for the following buttons

Key codes are standarized and so it should also work with your headphones. If you want to add more keys or assign a different behaviour see [Troubleshooting](#troubleshooting)

*Note:* Volume up/down is inherently supported by the bluetooth protocol. There is no need to handle these by this script.
> [!NOTE]
> Volume up/down is inherently supported by the bluetooth protocol. There is no need to handle these by this script.

## On Connect / On Disconnect

If the feature [bluetooth-sink-switch](../../bluetooth-sink-switch) is enabled, the script automatically switches the audio stream to headphones / regular speakers on bluetooth connect / disconnect respectivly. Playback state (play/pause) is retained.

*Note:* On-connect actions may take up to 4 seconds - please be patient (bluetooth connection is only checked every two seconds, bluetooth stream needs to be buffered, etc...)
> [!NOTE]
> On-connect actions may take up to 4 seconds - please be patient (bluetooth connection is only checked every two seconds, bluetooth stream needs to be buffered, etc...)

You can **customize** the behaviour by editing the functions

Expand Down