Git Product home page Git Product logo

exo's Introduction

eXo project

Qt frontend to MOC (Music on Console) player. Combination of eXo and MOC gives you a modern yet very minimalistic audio player.

Features:

  • Lyrics from web
  • Background mode
  • DBus and MPRISv2 interfaces. Enables media controls in your desktop environment
  • Scrobbling to last.fm (optional)
  • Bookmarks for radio streams
  • OSD (additional Python script)
  • Optional CMus support
  • Optional Spotify client support (limited functionality, scrobbling only)

See man exo for more information on command line options.

Build dependencies

CMake, QtBase, QtTools, LibLastfm (optional)

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

Runtime dependencies

moc, python3-notify2, cmus(?), spotify(?)

Build and run

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

Build options:

BUILD_LASTFM=OFF # disable scrobbler module (enabled by default)
WITH_QT6=ON      # build with Qt6 (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 (re)authentication

exo --force-reauth

Shutting down the app

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

or

pkill -2 exo

Tips

Create a global hotkey to see the lyrics at any time by assigning the command below to a desired shortcut

qdbus local.exo_player /exo local.exo_player.showLyricsWindow

Trick eXo into running without DBus and MPRISv2 interfaces, if needed, by resetting DISPLAY variable

DISPLAY="" exo &

exo's People

Contributors

loimu avatar marcelocripe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.