Skip to content
/ exo Public

Qt GUI, MPRIS interface and a scrobbler for MOC console player / Cmus

License

Notifications You must be signed in to change notification settings

loimu/exo

Repository files navigation

eXo project

Qt frontend to MOC player

Features:

  • Scrobbling to last.fm (optional)
  • Lyrics from web
  • Background mode
  • DBus and MPRISv2 interfaces (optional)
  • Bookmarks
  • OSD (additional Python script)

Build dependencies

CMake, QtBase, QtTools, LibLastfm (optional)

sudo apt install qtbase5-dev qttools5-dev liblastfm5-dev cmake

Runtime dependencies

moc, python3-notify2

Build and run

mkdir build && cd build
cmake -DBUILD_DBUS=ON -DBUILD_LASTFM=ON ..
make -j2
./src/exo

Build options:

BUILD_DBUS=OFF   # disable DBus and MPRISv2 interfaces (enabled by default)
BUILD_LASTFM=OFF # disable scrobbler module (enabled by default)
BUILD_CMUS=ON    # enable Cmus interface (disabled by default)

Screenshot

Screenshot of the eXo app

Installation on Ubuntu

# stable releases
sudo add-apt-repository ppa:blaze/main
sudo apt update
sudo apt install exo-player

# development snapshots
sudo add-apt-repository ppa:blaze/dev
sudo apt update
sudo apt install exo-player

Background mode (no GUI or X-session needed)

Basic running: exo -d 2>/tmp/exo_errors.log &

Scrobbler authentication: exo -f or exo --force-reauth

Shutting down the app:

qdbus org.mpris.MediaPlayer2.exo /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Quit

or just pkill -2 exo

Tips

Create a global hotkey to see the lyrics at any time.

qdbus local.exo_player /exo local.exo_player.showLyricsWindow is the command you want.