Skip to content

zigbang/playerd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

playerd

A simple mpv-based music player which can be controlled by simple REST API calls.

Prerequisites

How to use

> npx playerd

playerd v0.0.4
  player Starting mpv... +0ms
  http Listening on port 3000 +0ms

Options

> npx playerd --help

Usage: playerd [options]

Options:
  -V, --version      output the version number
  -p, --port <port>  specify port (default: "3000")
  -h, --help         display help for command

APIs

GET /play

Plays the playlist URL

Parameter Description
url Playlist URL

GET /stop

Stops the music player

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published