Skip to content

virashu/media-control.rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Media Control - rust

Analogue of my project with similar name, written in rust.

API

GET /data

Response format (json):

{
  title: string;
  artist: string;

  album_title: string;
  album_artist: string;

  duration: number; // micros
  position: number; // micros

  cover_data: string; // b64

  state: string; // ['playing', 'paused', 'stopped']
}

POST /control/<command>

Command list:

  • play
  • pause
  • toggle_pause
  • stop
  • prev
  • next

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages