Go to file
aditya-K2 5ad7b90844 Added a config parser
Add a config.yml/config.toml file to $HOME/.config/goMP/ so that user
configurations are read.
2021-11-05 12:40:46 +05:30
.gitignore minor updates 2021-10-29 14:03:53 +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
config.go Added a config parser 2021-11-05 12:40:46 +05:30
fileBrowser.go Updated FileNode Struct 2021-10-17 21:51:01 +05:30
go.mod Using Viper to Read Config File 2021-11-05 12:34:16 +05:30
go.sum Using Viper to Read Config File 2021-11-05 12:34:16 +05:30
imageUtils.go Added a config parser 2021-11-05 12:40:46 +05:30
LICENSE Initial commit 2021-10-08 20:22:09 +05:30
main.go Added a config parser 2021-11-05 12:40:46 +05:30
progressBar.go Added a config parser 2021-11-05 12:40:46 +05:30
README.md minor updates 2021-10-29 14:03:53 +05:30
render.go Added a config parser 2021-11-05 12:40:46 +05:30
utils.go Added a config parser 2021-11-05 12:40:46 +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 )
  • Your mpd.conf file in ~/.config/mpd/mpd.conf is automatically parsed to get music_directory
  • In globals.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 globals.go
// Change according to your needs

var ADDITIONAL_PADDING_X int = 16
var ADDITIONAL_PADDING_Y int = 24
  • Increment/Decrement Image Pixels according to your terminal in globals.go
// Change according to your needs

var IMAGE_WIDTH_EXTRA_X float32 = -1.5 // Decrementing
var IMAGE_WIDTH_EXTRA_Y float32 = 3.75 // Incrementing

Installing / Building

git clone https://github.com/aditya-K2/goMP &&
cd goMP &&
go build

Tested on following terminals:

  • Alacritty
  • ST
  • URXVT