Minimalistic *Sonic Music Player
Recently, I installed an Airsonic server to stream music for free. But I didn't find any good TUI music player for Linux that supports *sonic for my rice (something like CMus with *sonic support). So I decided to create a very simple one on my own, using HTTPDirFS, Mpv and Bash. Enjoy! There is a simple floating picture of the album cover on button-right of the screen (right click to pause/resume, scroll to go back and forward.) Msmu is currently at very early development stages and it is not designed for simple users.
- Clone this repository:
git clone https://github.com/AmitGoren/msmu.git
. cd msmu
, editsrc/init.sh
and put your actuall username, password and server url there../build.sh
- Copy the file
msmu
into your bin folder. You now may want to integrate msmu with your rice.
You should initialize msmu using msmu init
at login. In order to stop msmu (also when
logging out), use msmu quit
. Also, you should stop your WM from managing mpv
windows.
I recommend you to bind some of these commands to your keyboard.
Add some song to the end of the queue.
Print the current song with the following format:
artist - album (date) - song
Prints the PID of the Mpv proccess (it still returns the latest one also if Mpv is closed)
Initializes msmu
Lists all the avilable artists, albums and songs, optionally by a specific artist.
Jump to the next song on the queue
Pause or resume the current song.
Play a song immediately, stopping current one and deleting the queue.
Play all the songs in the queue.
Stop Mpv, delete the queue and umount the server.