Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/PhilipTrauner/cmus-osx

Adds track change notifications and media key support to cmus.
https://github.com/PhilipTrauner/cmus-osx

cmus cmus-osx macos media-keys music notifications osx

Last synced: about 2 months ago
JSON representation

Adds track change notifications and media key support to cmus.

Awesome Lists containing this project

README

        


cmus-osx

![Python version support: 3.7](https://img.shields.io/badge/python-3.7-limegreen.svg)
[![PyPI version](https://badge.fury.io/py/cmus-osx.svg)](https://badge.fury.io/py/cmus-osx)
![License: MIT](https://img.shields.io/badge/license-MIT-limegreen.svg)
[![CircleCI](https://circleci.com/gh/PhilipTrauner/cmus-osx.svg?style=svg)](https://circleci.com/gh/PhilipTrauner/cmus-osx)

**cmus-osx** adds track change notifications, and media key support to [*cmus*](https://cmus.github.io/) (*macOS* only).

## Installation
macOS automatically launches iTunes on media key presses.
Installing [noTunes](https://github.com/tombonez/noTunes/releases/tag/v2.0) is the recommended solution to prevent this from happening.

```bash
pip3 install cmus-osx
cmus-osx install
```

**cmus-osx** supports virtual environments natively, so installing it via `pipx` (or basically any other virtual environment manager) works just as well.

### Uninstall
```
cmus-osx uninstall
pip3 uninstall cmus-osx
```

#### pyenv
Framework building has to be enabled, otherwise notifications cannot be created.
```bash
export PYTHON_CONFIGURE_OPTS="--enable-framework"
```

## Configuration
```
cmus-osx config
```

### Credits
* [azadkuh](https://github.com/azadkuh): all versions up to and including v1.2.0
* [PhilipTrauner](https://github.com/PhilipTrauner): all following versions