Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ruffbuff/cmp-py

A simple command line music player
https://github.com/ruffbuff/cmp-py

archlinux hyprland music-player python-cli

Last synced: 29 days ago
JSON representation

A simple command line music player

Awesome Lists containing this project

README

        

## CMP - Command Music Player ( cmp-py )
A simple command line music player

Developed by:
```shell
▄▄▄ ▄• ▄▌·▄▄▄·▄▄▄ ▄▄▄▄· ▄• ▄▌·▄▄▄·▄▄▄
▀▄ █·█▪██▌▐▄▄·▐▄▄· ▐█ ▀█▪ █▪██▌▐▄▄·▐▄▄·
▐▀▀▄ █▌▐█▌██▪ ██▪ ▐█▀▀█▄ █▌▐█▌██▪ ██▪
▐█•█▌▐█▄█▌██▌.██▌ .██▄▪▐█ ▐█▄█▌██▌.██▌.
.▀ ▀ ▀▀▀ ▀▀▀ ▀▀▀ ·▀▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀
```
![Sneak-peek0](images/image0.png)

![Sneak-peek1](images/image1.png)

![Sneak-peek2](images/image2.png)

![Sneak-peek3](images/image3.png)

### Installation
1: `git clone https://github.com/ruffbuff/cmp-py`

2: `cd cmp-py`

3: `pip install requirements.txt`

4: `touch .env`, add `API_KEY=YOUR_API_KEY`, then go to `.config/cmp/conf.py` change `MUSIC_PATH` to yours.

5: `nano ~/.config/cmp/cmp.sh`

6.0: Then add this **[cmp.sh](.config/cmp/cmp.sh)** bash script, and make it executable.

(If you use `Kitty` like me, in my `kitty.conf` i have `window_padding_width 15`,so i use `restore_padding` func.)

6.1: `chmod +x ~/.config/cmp/cmp.sh`

7: Last thing: `cd` to your terminal framework config like `~/.zshrc` for `zsh`,
and find lines with `Helpful aliases`,
add `alias cmp='~/.config/cmp/cmp.sh'`, then `ctrl+o` + `Enter` to save, and `ctrl+x` to exit.

8: Start your terminal and write `cmp`

### Contribution
**[ruffbuff](https://github.com/ruffbuff)**

### License
**[CC-BY-SA-4.0](LICENSE)**

[Link](https://choosealicense.com/licenses/cc-by-sa-4.0/#)