Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/maximtrp/ranger-cmus

Ranger Plugin for Integration with Cmus Audio Player
https://github.com/maximtrp/ranger-cmus

cmus console python ranger ranger-plugin

Last synced: about 23 hours ago
JSON representation

Ranger Plugin for Integration with Cmus Audio Player

Awesome Lists containing this project

README

        

# ranger-cmus

This is a plugin for [ranger](https://ranger.github.io) file manager that adds 3 custom commands for interacting with [cmus](https://cmus.github.io) audio player:

* `:cmus_play`: sending files/folders to playlist.
* `:cmus_lib`: adding files/folders to library.
* `:cmus_queue`: enqueuing files/folders.

## Installation

Clone this repo into ranger plugins folder.

```bash
cd ~/.config/ranger/plugins/
git clone https://github.com/maximtrp/ranger-cmus.git
```

## Usage

Just select or mark some files/folders and enter one of the commands, e.g. `:cmus_play`.

You can also add these lines to `~/.config/ranger/rc.conf` to use these keyboard shortcuts (`ep`, `el`, `eq`):

```
map ep cmus_play
map el cmus_lib
map eq cmus_queue
```