2021-10-08 14:52:09 +00:00
|
|
|
# goMP
|
2021-10-18 07:51:09 +00:00
|
|
|
|
2021-10-24 08:13:06 +00:00
|
|
|
![](https://img.shields.io/badge/status-alpha-red)
|
2021-10-18 07:51:09 +00:00
|
|
|
|
2021-10-08 14:52:09 +00:00
|
|
|
MPD client inspired by ncmpcpp written in GO
|
2021-10-11 08:42:51 +00:00
|
|
|
|
2021-10-24 08:13:06 +00:00
|
|
|
https://user-images.githubusercontent.com/51816057/138585868-92aff5bd-dd7e-46af-bf06-28b83115120b.mp4
|
2021-10-18 07:58:53 +00:00
|
|
|
|
|
|
|
# Roadmap
|
|
|
|
|
2021-10-18 07:59:23 +00:00
|
|
|
- [ ] Add Functionality to Sort out most played songs
|
|
|
|
- [ ] Add a config parser ( preferably ***YAML*** )
|
2021-10-24 08:13:06 +00:00
|
|
|
- [x] Image Previews
|
2021-10-19 13:28:11 +00:00
|
|
|
- [ ] Fuzzy Searching
|
|
|
|
- [ ] Visual Mode (like vim) for updating playlists
|
2021-10-28 06:15:14 +00:00
|
|
|
- [ ] Music Visualizer
|
2021-10-18 07:58:53 +00:00
|
|
|
|
|
|
|
# Prerequisites
|
|
|
|
|
|
|
|
- Music Player Daemon must be setup
|
|
|
|
- Go Should Be Installed ( for building )
|
2021-10-29 08:32:44 +00:00
|
|
|
- Your mpd.conf file in ``~/.config/mpd/mpd.conf`` is automatically parsed to get ``music_directory``
|
|
|
|
- In [globals.go](https://github.com/aditya-K2/goMP/blob/master/globals.go) set the path for your default Image
|
2021-10-28 09:02:58 +00:00
|
|
|
|
|
|
|
```go
|
|
|
|
var path string = "YOUR DEFAULT IMAGE PATH HERE"
|
2021-10-24 08:00:50 +00:00
|
|
|
```
|
2021-10-18 07:58:53 +00:00
|
|
|
|
2021-10-29 08:32:44 +00:00
|
|
|
- Change the default additional Image padding according to your terminal in [globals.go](https://github.com/aditya-K2/goMP/blob/master/globals.go)
|
2021-10-29 04:44:57 +00:00
|
|
|
|
|
|
|
```go
|
|
|
|
// Change according to your needs
|
|
|
|
|
|
|
|
var ADDITIONAL_PADDING_X int = 16
|
|
|
|
var ADDITIONAL_PADDING_Y int = 24
|
2021-10-29 08:32:44 +00:00
|
|
|
```
|
|
|
|
- Increment/Decrement Image Pixels according to your terminal in [globals.go](https://github.com/aditya-K2/goMP/blob/master/globals.go)
|
|
|
|
|
|
|
|
```go
|
|
|
|
// Change according to your needs
|
|
|
|
|
|
|
|
var IMAGE_WIDTH_EXTRA_X float32 = -1.5 // Decrementing
|
2021-10-29 08:33:53 +00:00
|
|
|
var IMAGE_WIDTH_EXTRA_Y float32 = 3.75 // Incrementing
|
2021-10-29 08:32:44 +00:00
|
|
|
|
2021-10-29 04:44:57 +00:00
|
|
|
```
|
|
|
|
|
2021-10-18 07:58:53 +00:00
|
|
|
# Installing / Building
|
|
|
|
|
|
|
|
```bash
|
2021-10-28 09:02:58 +00:00
|
|
|
git clone https://github.com/aditya-K2/goMP &&
|
|
|
|
cd goMP &&
|
|
|
|
go build
|
2021-10-18 07:58:53 +00:00
|
|
|
```
|
2021-10-29 04:54:29 +00:00
|
|
|
|
|
|
|
### Tested on following terminals:
|
|
|
|
|
|
|
|
- Alacritty
|
|
|
|
- ST
|
2021-10-29 08:32:44 +00:00
|
|
|
- URXVT
|