https://github.com/svenstaro/piplayer
Receive a command, play a song
https://github.com/svenstaro/piplayer
Last synced: 7 months ago
JSON representation
Receive a command, play a song
- Host: GitHub
- URL: https://github.com/svenstaro/piplayer
- Owner: svenstaro
- License: mit
- Created: 2019-01-04T02:36:06.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-07T00:13:13.000Z (over 3 years ago)
- Last Synced: 2024-10-04T07:41:27.415Z (about 1 year ago)
- Language: Rust
- Size: 72.3 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# piplayer [](https://github.com/svenstaro/piplayer/actions)
Receive a command, play a song## How to use
- `PUT` to `/play` to play a random song.
- `PUT` to `/stop` to stop the current playback.
- `GET` to `/` to receive the current playback status.
- `GET` to `/list` to receive a list of all songs.## How to build
Since music is baked into the binary at build time, you have to put it into a dir `music/` in the root of this repo.
Run `just build-native` or `just build-cross`.