Coder Social home page Coder Social logo

msmu's Introduction

msmu

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.

Install

  1. Clone this repository: git clone https://github.com/AmitGoren/msmu.git.
  2. cd msmu, edit src/init.sh and put your actuall username, password and server url there.
  3. ./build.sh
  4. Copy the filemsmu into your bin folder. You now may want to integrate msmu with your rice.

Usage/Integration

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.

msmu append "<song>"

Add some song to the end of the queue.

msmu current

Print the current song with the following format:

artist - album (date) - song

msmu getpid

Prints the PID of the Mpv proccess (it still returns the latest one also if Mpv is closed)

msmu init

Initializes msmu

msmu list <artists/albums/songs> [artist]

Lists all the avilable artists, albums and songs, optionally by a specific artist.

msmu next

Jump to the next song on the queue

msmu pause

Pause or resume the current song.

msmu play <song>

Play a song immediately, stopping current one and deleting the queue.

msmu queue

Play all the songs in the queue.

msmu quit

Stop Mpv, delete the queue and umount the server.

msmu's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.