Giter VIP home page Giter VIP logo

bum's Introduction

๐ŸŽต bum

PyPI MIT licensed Build Status Donate

bum is a daemon that downloads album art for songs playing in mpd/mopidy and displays them in a little window. bum doesn't loop on a timer, instead it waits for mpd/mopidy to send a player event. When it receives a player event it wakes up and downloads album art for the current playing track. This makes bum lightweight and makes it idle at ~0% CPU usage.

bum uses musicbrainz to source and download cover art, if an album is missing it's cover art you can easily create an account and fill in the data yourself. bum outputs a release-id which you can use to find the exact entry on musicbrainz.

Note: bum is meant to be used with files that don't have embedded album art (mopidy-spotify).

showcase

Dependencies

  • python 3.6+
  • python-mpv
  • python-mpd2
  • musicbrainzngs

Installation

pip3 install --user bum

Usage

usage: bum [-h] [--size "px"] [--cache_dir "/path/to/dir"] [--version]

bum - Download and display album art for mpd tracks.

optional arguments:
  -h, --help            show this help message and exit
  --size "px"           what size to display the album art in.
  --cache_dir "/path/to/dir"
                        Where to store the downloaded cover art.
  --version             Print "bum" version.
  --port                Use a custom mpd port.

Donate

Donations will allow me to spend more time working on bum.

If you like bum and want to give back in some way you can donate here:

https://patreon.com/dyla

bum's People

Contributors

dylanaraps avatar gadgetoid avatar blackhippy avatar johnhamelink avatar poltar avatar

Watchers

James Cloos 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.