Go to file
Aditya Kurdunkar 766cfd3d9a
Merge pull request #5 from aditya-K2/keymappings
Keymappings Generator
2021-11-13 00:30:04 +05:30
config minor changes 2021-11-12 14:32:06 +05:30
.gitignore minor changes 2021-11-05 15:06:42 +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
go.mod Using different metadata parsing libraries instead of dhowden/tag 2021-11-08 11:47:38 +05:30
go.sum Using different metadata parsing libraries instead of dhowden/tag 2021-11-08 11:47:38 +05:30
imageUtils.go Rewriting image Rendering 2021-11-08 11:48:49 +05:30
LICENSE Initial commit 2021-10-08 20:22:09 +05:30
main.go RENAME kMap -> FUNC_MAP 2021-11-12 14:06:51 +05:30
progressBar.go Added a config parser 2021-11-05 12:40:46 +05:30
README.md UPDATE README 2021-11-12 14:58:05 +05:30
render.go Rewriting image Rendering 2021-11-08 11:48:49 +05:30
sample_config.yml Added functionality to set image paths 2021-11-05 14:11:14 +05:30
utils.go Making a config package for Generating keymappings 2021-11-11 21:57:01 +05:30

goMP

MPD client inspired by ncmpcpp written in GO

https://user-images.githubusercontent.com/51816057/140478368-5b724b2f-2499-4150-9569-c54734b3d4c1.mp4

Roadmap

  • Add Functionality to Sort out most played songs
  • Add a config parser
  • Image Previews
  • Fuzzy Searching
  • Visual Mode (like vim) for updating playlists
  • Music Visualizer

Setting Up

  • Music Player Daemon must be setup
  • Go Should Be Installed ( for building )
  • Make a YAML/TOML file in $HOME/.config/goMP named config.yml / config.toml
  • Read the sample_config.yml for config options

Installing / Building

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

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:

Function: [ firstMapping, secondMapping, thirdMapping]

for.eg

togglePlayBack : [ "p", "T" ] # using the quotes is neccessary.

Following functions are provided :

Functions
"showChildrenContent",
"togglePlayBack",
"showParentContent",
"nextSong",
"clearPlaylist",
"previousSong",
"addToPlaylist",
"toggleRandom",
"toggleRepeat",
"decreaseVolume",
"increaseVolume",
"navigateToFiles",
"navigateToPlaylist",
"navigateToMostPlayed",
"quit",
"stop",
"updateDB",
"deleteSongFromPlaylist",

Tested on following terminals:

  • Alacritty
  • ST
  • URXVT