[](https://pypi.python.org/pypi/bum/)
[](./LICENSE.md)
[](https://travis-ci.org/dylanaraps/bum)
[](https://www.patreon.com/dyla)
`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](https://musicbrainz.org/) 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`).

## Dependencies
- `python 3.6+`
- `python-mpv`
- `python-mpd2`
- `musicbrainzngs`
## Installation
```sh
pip3 install --user bum
```
## Usage
```sh
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**
Metadata
Release files for bum 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bum-0.1.3.tar.gz | 4.2 kB | Without provenance | Details for bum-0.1.3.tar.gz |
Release files / bum-0.1.3.tar.gz
| Download URL | bum-0.1.3.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
701b3c069a1bb804348828608669be70543a753d8427e0b50a00504c5b3bd189
|
|
BLAKE2b-256 checksum How to use checksums |
ccdeff372630599b8309cc79ad1e99bcfb78d439fd22bc6598fa913a007041e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for bum 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.