bae972f697
Image is now resized according to the font size and also a new globals.go files is added which contains all the globals. the Image width can also be changed according to use by adding or substracting pixels to it by changing the globals IMAGE_WIDTH_EXTRA_X, IMAGE_WIDTH_EXTRA_Y Also, now there is no need to specify where the music directory is the mpd.conf file in `~/.config/mpd/` is automatically parsed for music directory |
||
---|---|---|
.gitignore | ||
App.go | ||
client.go | ||
fileBrowser.go | ||
globals.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
Tested on following terminals:
- Alacritty
- ST