Skip to content
This repository has been archived by the owner on Nov 14, 2020. It is now read-only.
/ cmus-osx Public archive
forked from PhilipTrauner/cmus-osx

integrates media keys and OS X notification into cmus

License

Notifications You must be signed in to change notification settings

darkbrow/cmus-osx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is forked from Amir Zamani's cmus-osx. Originaly he used eyeD3 for displaying album art. eyeD3 does not support m4a audio file type. So I changed some code of his work to display album art of m4a files. I replaced eyeD3 with mutagen package to support m4a as well as mp3.

cmus-osx

cmus-osx is a tiny utility to mate cmusnote and the media keys of a Mac and OS X notification center.

vim-cmus is a sister project for nvim/vim integration of cmus.

media keys

links media keys of a Mac to cmus:

media keys

notification center

optionally, links cmus to OS X notification center (by installing 3rdparty dependencies, the album art will also be displayed):

OSX notifications


setup

after cloning this repository, simply find setup.py:

$> git clone https://github.com/azadkuh/cmus-osx
$> cd cmus-osx

# on cmus-osx directory
$cmus-osx/> ./setup.py install

# to uninstall
$cmus-osx/> ./setup.py uninstall

the default installation path is /usr/local/bin. to install on another location simply pass your path:

# install on a custom directory
$cmus-osx/> ./setup install /opt/bin

usage

on your terminal, just launch cmus-osx.py instead of cmus:

$> cmus-osx.py

now everything (media keys and notification center) should just works.

dependencies

in order to use cmus-osx you need:

$> pip install -U pyobjc

more info on installing pyobjc

  • optionally mutagen for displaying the album art of the current songs.
$> pip install mutagen

under the hood

if you like to hack into cmus-osx please see here


notes

cmus player

cmus is a fantastic console music player for Unix-like operating systems. cmus is small, clean, powerful and no-nonsense.

license

Distributed under the MIT license. Copyright (c) 2016, Amir Zamani.

About

integrates media keys and OS X notification into cmus

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%