mpvc - a terminal streaming music player
mpvc is a terminal music player that supports both streaming from the network
and local file playback. This project also includes mpvd
, a simple server for
mpv’s JSON IPC.
Many terminal music players already exist, e.g., cmus, mpd, however, none of them support streaming from an online URL (although mpd supports streaming local files to a network). mpvc, however, uses mpv to play audio, which supports streaming from a URL and can easily be extended for more audio formats.
Features
- Supports streaming from an online URL
- Controlled by UNIX socket
- Client+Server architecture, allowing either mpvc or mpvd to be swapped out
for a different implementation without affecting the other half
- Uses mpv’s JSON IPC protocol
- Supports any format supported by the mpv video player
- Searching from local index and YouTube
- Vi-style keybindings
- MPRIS support
Download
Source code: https://ilposton.com/mpvc-0.1.0.tar.gz
Documentation
License
Licensed under ISC.
Copyright (c) 2022 Isaiah Poston
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.