Skip to content

status display programs

Dimithrandir edited this page Sep 9, 2022 · 35 revisions

These scripts are invoked on any status change of the player. Usually they are used to show the current playing song (e.g. to others in an instant messenger, or as popup in a window manager), but they can also do other stuff (e.g. populating the play queue with new songs).

Audio scrobbling (to e.g. Last.fm or Libre.fm)

Dynamic playlists

Display current track info on screen

Standalone

  • cmusd: Connects cmus with the OS's media player to provide album art and play back buttons with support for media keys (read documentation for installation).

Scripts

Album Art Display

  • cmus-cover-art - extract and display cover art of current track
  • Display status via desktop notification with album art cmus_status.py
  • cmus-feh.sh - Widely compatible script using 'feh' to display the image. Edit the resolution/offset to your needs. Use your window manager to manipulate the window automatically.
  • cmusCoversSDL - find and display cover art in a standalone window.
  • cmus-swift - Apple macOS album art and remote controls in SwiftUI
  • cmus-rg - a simple graphical cmus status display in C using SDL2

Instant messengers

Miscellaneous

Usage / Installation

To use the programs, download them and make them executable:

chmod a+x downloaded-file

To use multiple programs, create a shell script, e.g. ~/.cmus/status_display_program.sh, that starts all wanted programs:

#!/bin/sh
program1 "$@" &
program2 "$@" &

Then in cmus, set the display_status_program variable to the path of the program or wrapper script:

  :set status_display_program=/home/user/.cmus/status_display_program.sh