music-player-0.2.0-alpha.7 is not a library.
Music Player (written in Rust)
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. Music is played through the server's audio device. The daemon stores info about all available music, and this info can be easily searched and retrieved. Like mpd or Mopidy but written in Rust.
Installation
# Install dependencies
# Compile
&&
Note: Don't forget to add ~/.cargo/bin
to your PATH
environment variable.
macOS/Linux
Or download the latest release for your platform here.
Start the server
Usage
USAGE:
music-player [SUBCOMMAND]
OPTIONS:
-h, --help Print help information
-V, --version Print version information
SUBCOMMANDS:
albums List all albums
artists List all artists
help Print this message or the help of the given subcommand(s)
next Play the next song
pause Pause the current song
open Open audio file
playlist Manage playlists
prev Play the previous song
queue Manage the queue
play Resume the current song
scan Scan music library: $HOME/Music
search Search for a song, album, artist or playlist
stop Stop the current song
tracks List all tracks
GraphQL API
# Start the server
Open http://localhost:5053/graphiql in your browser.
Features
- Play music from specified path
- Configuration file support
- gRPC API for controlling the player
- Scan music library
- Play/Pause/Stop music
- Next/Previous track
- Create/Delete playlists
- Music Player Client
- Terminal UI (using tui-rs)
- GraphQL API
- Web UI
- Desktop version (using gtk-rs)
- Android Library
- iOS Library
- Mobile version (React Native)
- 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 Tidal
- Stream from MyVazo