go-music

command module
v0.0.0-...-ecb31cf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2020 License: MIT Imports: 7 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package config handles configurations for go-music, it saves config files about color themes, libraries caches and so on in software's work dir(in user's home dir).
Package config handles configurations for go-music, it saves config files about color themes, libraries caches and so on in software's work dir(in user's home dir).
Requests are sent through channels for communication.
Requests are sent through channels for communication.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL