8 releases

Uses new Rust 2021

0.1.7 Nov 23, 2022
0.1.6 Nov 22, 2022

#334 in Audio

Download history 55/week @ 2022-11-12 169/week @ 2022-11-19 22/week @ 2022-11-26

246 downloads per month
Used in music-player

MIT license

2.5MB
15K SLoC

TSX 8K SLoC // 0.1% comments Rust 7K SLoC // 0.0% comments JavaScript 53 SLoC // 0.1% comments TypeScript 52 SLoC // 0.1% comments

Music Player (written in Rust)

License: MIT rust-clippy

Note: This is a work in progress.

This is a simple music player that I made for my own use. It is written in Rust and uses rodio, symphonia, and gRPC libraries.

Installation

git clone https://github.com/tsirysndr/music-player.git
cd music-player
cargo install --path .

Usage

USAGE:
    music-player [SUBCOMMAND]

OPTIONS:
    -h, --help       Print help information
    -V, --version    Print version information

SUBCOMMANDS:
    help    Print this message or the help of the given subcommand(s)
    play    Play a song

Features

  • Play music from secified path
  • Configuration file support
  • gRPC API for controlling the player
  • Scan music library
  • Play/Pause/Stop music
  • Next/Previous track
  • Create/Delete playlists
  • Web UI
  • Desktop version (using gtk-rs)
  • Mobile version
  • Stream to Chromecast
  • Stream to Airplay
  • Stream to Kodi
  • Stream from Youtube (audio only)
  • Stream from Spotify
  • Stream from Soundcloud
  • Stream from Deezer
  • Stream from DatPiff
  • Stream from MyVazo

Dependencies

~68–105MB
~2M SLoC