8 releases

Uses new Rust 2021

new 0.1.7 Dec 5, 2022
0.1.6 Nov 23, 2022
0.1.4 Sep 23, 2022

#66 in Audio

Download history 20/week @ 2022-09-10 100/week @ 2022-09-17 32/week @ 2022-09-24 42/week @ 2022-10-01 23/week @ 2022-10-08 13/week @ 2022-10-15 29/week @ 2022-10-22 34/week @ 2022-10-29 23/week @ 2022-11-05 58/week @ 2022-11-12 78/week @ 2022-11-19 17/week @ 2022-11-26 71/week @ 2022-12-03

230 downloads per month
Used in 5 crates (4 directly)

MIT license

110KB
3K SLoC

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

~56–93MB
~2M SLoC