Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nfriedly/puck.js-media-control
Remote control to pause, resume, and rewind audiobooks playing from my phone
https://github.com/nfriedly/puck.js-media-control
Last synced: 17 days ago
JSON representation
Remote control to pause, resume, and rewind audiobooks playing from my phone
- Host: GitHub
- URL: https://github.com/nfriedly/puck.js-media-control
- Owner: nfriedly
- License: mit
- Created: 2021-05-17T18:07:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-28T19:19:22.000Z (over 3 years ago)
- Last Synced: 2024-10-12T16:14:21.043Z (about 1 month ago)
- Language: JavaScript
- Size: 4.17 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Puck.js Media Control
Remote control to pause, resume, and rewind audiobooks playing from my phone.* Short press toggles play/pause. Light blinks green.
* Long press rewinds 30 seconds. Light blinks blue.
* It actually sends 3x "previous track" commands, but I have my [audiobook player](https://play.google.com/store/apps/details?id=ak.alizandro.smartaudiobookplayer) configured to interpret each of those as 10-second rewind.![demo](demo.gif)
Why?
I have some otherwise great earbuds that have frusturatingly-unreliable touch controls. This gives me a physical button that reliably performs my most common two tasks.
This code is meant to run on a [Puck.js](https://www.puck-js.com/) via [Espruino](https://www.espruino.com/).
[![Puck.js](http://www.espruino.com/refimages/Puckjs_board.jpg)](https://www.puck-js.com/)