Skip to main content

mprisgovee

light anything up with govee, right from mpris.

OS - Linux Made with Python PyPI AUR License contributions - welcome

showcase

features

  • detect song art from any mpris player automatically
  • change govee device color with dominant color from song art
    • uses the lan api for extremely fast updates
  • multidevice support
  • cache colors to avoid reprocessing
  • detect play/pause for brightness changes
  • app ignoring
  • configurable settings

prerequisites

  • a computer running linux
  • a network connection
  • a govee lan api capable device
    • remember to turn on the capability!
      • you can find this in the app by going to your device's settings page.
  • python 3.9 or higher
  • playerctl installed
  • your govee device's ip address:
    1. get the mac address of your device.
      • you can find this in the app by going to your device's settings page.
    2. use any method to match up the mac address with a device ip on your network.
      • i did this by going to my router settings and matching it up under "Device List".

installation

pip

mprisgovee is avaliable on PyPI:

pip install mprisgovee

Arch (AUR)

mprisgovee is avaliable on the AUR for Arch users under python-mprisgovee:

# for yay users
yay -S python-mprisgovee

# for paru users
paru -S python-mprisgovee

usage

you can start it by either manually running mprisgovee from your terminal or running at startup using your favorite method.

example (niri):

spawn-sh-at-startup "mprisgovee"

configuration

the config file can usually be found at ~/.config/mprisgovee/config.toml.

default configuration

govee_ip = ["192.168.1.100", "192.168.1.101"]

govee_port = 4003

brightness_on_play_pause = true

brightness_playing = 100

brightness_paused = 10

ignored_apps = [
    "firefox",
    "chromium",
    "chrome",
    "brave",
    "vivaldi",
    "zen",
    "opera"
  • govee_ip:
    • sets the current ip address.
    • format this as a list
  • govee_port:
    • sets the current port.
      • this can usually be left default.
  • brightness_on_play_pause:
    • enables brightness changes on play/pause.
  • brightness_playing:
    • changes the brightness level on play
  • brightness_paused:
    • changes the brightness level on pause
  • ignored_apps:
    • ignores all apps on list.

thanks to:

Metadata

Release files for mprisgovee 1.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mprisgovee 1.3.1
File Size Uploaded
mprisgovee-1.3.1.tar.gz 7.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for mprisgovee 1.3.1
File Interpreter ABI Platform
mprisgovee-1.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.3 MB

Release files / mprisgovee-1.3.1.tar.gz

Download URL mprisgovee-1.3.1.tar.gz
Size 7.3 MB
Tags Source
SHA-256 checksum
How to use checksums
ab0db07592e64e8456c601c7b9b72e72b8db9329350d7e221bb63cbc8e0e83ae
BLAKE2b-256 checksum
How to use checksums
c713bdac454c1a3fc77074399138449e5ed0163050e06f2e88b9f88070744b67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 8, 2026.

Transparency log

Release files / mprisgovee-1.3.1-py3-none-any.whl

Download URL mprisgovee-1.3.1-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2035d63f167c404a357d27bfd45fb658a995d07b278e5064768a03c1c8a3b65
BLAKE2b-256 checksum
How to use checksums
d90cff3c1c6a520ea96d64d570065e40f98f81c6f5197de63529c92e8b5f62d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 8, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.3.1 This release

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page