An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# piplayer [![GitHub Actions Workflow](https://github.com/svenstaro/piplayer/workflows/Build/badge.svg)](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`.