gomp/README.md

91 lines
2.3 KiB
Markdown
Raw Normal View History

2021-10-08 14:52:09 +00:00
# goMP
2021-10-24 08:13:06 +00:00
![](https://img.shields.io/badge/status-alpha-red)
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-11-05 08:08:38 +00:00
https://user-images.githubusercontent.com/51816057/140478368-5b724b2f-2499-4150-9569-c54734b3d4c1.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
2021-11-06 12:49:45 +00:00
- [x] Add a config parser
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
2021-11-12 09:28:05 +00:00
# Setting Up
2021-10-18 07:58:53 +00:00
- Music Player Daemon must be setup
- Go Should Be Installed ( for building )
2021-11-05 08:28:25 +00: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 09:02:58 +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
2021-11-12 09:28:05 +00: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 19:06:09 +00:00
togglePlayBack : [ "p", "TAB", "[" ] # using the quotes is neccessary.
2021-11-12 09:28:05 +00:00
```
Following functions are provided :
| Functions |
|------------------------------------|
2021-11-12 19:06:09 +00:00
| showChildrenContent |
| togglePlayBack |
| showParentContent |
| nextSong |
| clearPlaylist |
| previousSong |
| addToPlaylist |
| toggleRandom |
| toggleRepeat |
| decreaseVolume |
| increaseVolume |
| navigateToFiles |
| navigateToPlaylist |
| navigateToMostPlayed |
| quit |
| stop |
| updateDB |
| deleteSongFromPlaylist |
2021-11-12 09:28:05 +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