Go to file
aditya-K2 bae972f697 Now the Image is resized according to font Size
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
2021-10-29 13:54:06 +05:30
.gitignore minor changes in formatting 2021-10-13 00:07:39 +05:30
App.go Image Previews Implementation 2021-10-24 13:26:10 +05:30
client.go minor changes: Rename t -> inputTable 2021-10-29 09:44:55 +05:30
fileBrowser.go Updated FileNode Struct 2021-10-17 21:51:01 +05:30
globals.go Now the Image is resized according to font Size 2021-10-29 13:54:06 +05:30
go.mod Ueberzug Integration 2021-10-24 01:28:11 +05:30
go.sum Ueberzug Integration 2021-10-24 01:28:11 +05:30
imageUtils.go Now the Image is resized according to font Size 2021-10-29 13:54:06 +05:30
LICENSE Initial commit 2021-10-08 20:22:09 +05:30
main.go Image Previews Implementation 2021-10-24 13:26:10 +05:30
progressBar.go Now the Image is resized according to font Size 2021-10-29 13:54:06 +05:30
README.md UPDATE README 2021-10-29 10:24:29 +05:30
render.go Now the Image is resized according to font Size 2021-10-29 13:54:06 +05:30
utils.go Now the Image is resized according to font Size 2021-10-29 13:54:06 +05:30

goMP

MPD client inspired by ncmpcpp written in GO

https://user-images.githubusercontent.com/51816057/138585868-92aff5bd-dd7e-46af-bf06-28b83115120b.mp4

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"
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