gomp/README.md

91 lines
2.3 KiB
Markdown
Raw Normal View History

2021-10-08 08:52:09 -06:00
# goMP
2021-10-24 02:13:06 -06:00
![](https://img.shields.io/badge/status-alpha-red)
2021-10-08 08:52:09 -06:00
MPD client inspired by ncmpcpp written in GO
2021-10-11 02:42:51 -06:00
2021-11-05 02:08:38 -06:00
https://user-images.githubusercontent.com/51816057/140478368-5b724b2f-2499-4150-9569-c54734b3d4c1.mp4
2021-10-18 01:58:53 -06:00
# Roadmap
2021-10-18 01:59:23 -06:00
- [ ] Add Functionality to Sort out most played songs
2021-11-06 06:49:45 -06:00
- [x] Add a config parser
2021-10-24 02:13:06 -06:00
- [x] Image Previews
2021-10-19 07:28:11 -06:00
- [ ] Fuzzy Searching
- [ ] Visual Mode (like vim) for updating playlists
2021-10-28 00:15:14 -06:00
- [ ] Music Visualizer
2021-10-18 01:58:53 -06:00
2021-11-12 02:28:05 -07:00
# Setting Up
2021-10-18 01:58:53 -06:00
- Music Player Daemon must be setup
- Go Should Be Installed ( for building )
2021-11-05 02:28:25 -06:00
- Make a YAML/TOML file in ``$HOME/.config/goMP`` named config.yml / config.toml
- Read the sample_config.yml for config options
2021-10-28 03:02:58 -06:00
2021-10-18 01:58:53 -06:00
# Installing / Building
```bash
2021-10-28 03:02:58 -06:00
git clone https://github.com/aditya-K2/goMP &&
cd goMP &&
go build
2021-10-18 01:58:53 -06:00
```
2021-10-28 22:54:29 -06:00
2021-11-12 02:28:05 -07:00
# Configuration
## Key Mappings
Following Keys can be used for Mappings
| Keys | Using them in Config |
|-----------------|-----------------------|
| a-z | a-z |
| A-Z | A-z |
| {,},(,),[,],<,> | {,},(,),[,],<,> |
| Enter(Return) | ENTER/RETURN |
| Tab | TAB |
| Space | SPACE |
See config/kMap.go for more information
For mapping a key to some function use the following format:
```yml
Function: [ firstMapping, secondMapping, thirdMapping]
```
for.eg
```yml
2021-11-12 12:06:09 -07:00
togglePlayBack : [ "p", "TAB", "[" ] # using the quotes is neccessary.
2021-11-12 02:28:05 -07:00
```
Following functions are provided :
| Functions |
|------------------------------------|
2021-11-12 12:06:09 -07:00
| showChildrenContent |
| togglePlayBack |
| showParentContent |
| nextSong |
| clearPlaylist |
| previousSong |
| addToPlaylist |
| toggleRandom |
| toggleRepeat |
| decreaseVolume |
| increaseVolume |
| navigateToFiles |
| navigateToPlaylist |
| navigateToMostPlayed |
| quit |
| stop |
| updateDB |
| deleteSongFromPlaylist |
2021-11-12 02:28:05 -07:00
2021-10-28 22:54:29 -06:00
### Tested on following terminals:
- Alacritty
- ST
2021-10-29 02:32:44 -06:00
- URXVT