#playlist #microservices #radio #fm #song #tou-hou #player

app thfmr-playlist

Playlist microservice of the TouHou.FM Radio project

2 releases

0.2.2 May 14, 2021
0.2.1 May 13, 2021

#1086 in HTTP server

GPL-3.0 license

51KB
904 lines

TouHou.FM Radio - Playlist

Playlist microservice handling the playlist of the TouHou.FM Radio Project. This microservice is responsible for maintaining a playlist of songs to play, it will request songs from a Provider, and supply songs to a Player.

This service exists to separate out the playlist functionality from playback. In the case that the Player fails due to bugs, the playlist will still remember songs to play.

Dependencies

  • thfmr-protocol
  • thfmr-util
  • futures
  • tokio
  • log
  • env_logger
  • thiserror
  • warp
  • async-graphql
  • async-graphql-warp
  • structopt

Building

Simply use

cargo build

Usage

thfmr-playlist args...

Use thfmr-playlist --help to get more information.

Dependencies

~23–38MB
~669K SLoC