93e6885ae9
As specified in #2 the image gets out of the preview box, the previous commit solves the problem but the image placement in the box differs from terminal to terminal it might need some extra padding so user can define some extra padding in the render.go |
||
---|---|---|
.gitignore | ||
App.go | ||
client.go | ||
fileBrowser.go | ||
go.mod | ||
go.sum | ||
imageUtils.go | ||
LICENSE | ||
main.go | ||
progressBar.go | ||
README.md | ||
render.go | ||
utils.go |
goMP
MPD client inspired by ncmpcpp written in GO
Roadmap
- Add Functionality to Sort out most played songs
- Add a config parser ( preferably YAML )
- Image Previews
- Fuzzy Searching
- Visual Mode (like vim) for updating playlists
- Music Visualizer
Prerequisites
- Music Player Daemon must be setup
- Go Should Be Installed ( for building )
- Set the Path to your mpd DATABASE in progressbar.go
var DBDIR string = "PATH TO YOUR MPD DATABASE HERE"
- In imageUtils.go set the path for your default Image
var path string = "YOUR DEFAULT IMAGE PATH HERE"
- Change the default additional Image padding according to your terminal in render.go
// Change according to your needs
var ADDITIONAL_PADDING_X int = 16
var ADDITIONAL_PADDING_Y int = 24
Installing / Building
git clone https://github.com/aditya-K2/goMP &&
cd goMP &&
go build