https://github.com/mafredri/musicflow
This package and its commands can be used to control LG speakers that use the Music Flow app
https://github.com/mafredri/musicflow
lg music-flow soundbar speaker
Last synced: 6 months ago
JSON representation
This package and its commands can be used to control LG speakers that use the Music Flow app
- Host: GitHub
- URL: https://github.com/mafredri/musicflow
- Owner: mafredri
- License: mit
- Created: 2021-04-19T18:18:55.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-26T10:05:25.000Z (about 4 years ago)
- Last Synced: 2024-10-27T05:47:51.143Z (8 months ago)
- Topics: lg, music-flow, soundbar, speaker
- Language: Go
- Homepage:
- Size: 43.9 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# musicflow
Speaks the LG Music Flow protocol. This package and its commands can be used to control LG speakers that are controllable via the Music Flow app.
The API is mostly implemented, more can be added as needed.
The actual wire protocol is implemented by [github.com/mafredri/goodspeaker](https://github.com/mafredri/goodspeaker).
## Usage
As a module.
```console
go get -u github.com/mafredri/musicflow
```Tool for controlling the speakers.
```console
go get -u github.com/mafredri/musicflow/cmd/mufloctl
mufloctl -addr soundbar.local -nightmode=false
```Run as wasm (node):
```console
env GOOS=js GOARCH=wasm go build github.com/mafredri/musicflow/cmd/mufloctl -o mufloctl.wasm/usr/local/opt/go/libexec/misc/wasm/go_js_wasm_exec mufloctl.wasm -addr soundbar.local
```