Skip to content

gonearewe/go-music

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-music

Build Status Go Report Card GitHub stars GitHub forks Documentation Coverage Status GitHub issues license

A music player written in Go

How to install

This program is based on a CLI player called play who can play a single track, I wrapped it with functions like library, player mode and colorful user interface..

So you need to install play first, and it is part of sox.

$ sudo apt install sox

Then play is automatically included and installed on your compter. You may type play followed by a track's path on your terminal to launch it alone.

Now it's time to install this program. Seclect a dictory to continue.

$ git clone https://github.com/gonearewe/go-music.git

$ cd go-music

$ go install

How to use

If your Go environment has nothing wrong, after a sucessful installation, simply type

$ go-music

And that's all, actually.

Go-Music records a library on its config file in your HOME dictory, it starts to play tracks in that library randomly by default on launch. It will request a library the first time you launch it. A library is where you put all your tracks. Simply type its path and choose a name for it. Go-Music will refuse to play a single track, it always requires a library.

When the player is working, press N to play next track (don't forget to press to ENTER), press P to play previous track, and press X for settings menu.

In setting menu, you can determine the player mode among Random , Repeat and Sequential. Besides, you may reset library though coming into effect requires a reboot.

Releases

No releases published

Packages

No packages published

Languages