Skip to main content

light anything up with govee, right from mpris.

Project description

mprisgovee

light anything up with govee, right from mpris.

OS - Linux Made with Python PyPI GitHub tag 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
  • cache colors to avoid reprocessing
  • 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

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.json.

default configuration

{
    "govee_ip": "192.168.1.100",
    "govee_port": 4003
}
  • govee_ip:
    • sets the current ip address.
  • govee_port:
    • sets the current port.
      • this can usually be left default.

thanks to:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mprisgovee-1.0.0.tar.gz (10.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mprisgovee-1.0.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file mprisgovee-1.0.0.tar.gz.

File metadata

  • Download URL: mprisgovee-1.0.0.tar.gz
  • Upload date:
  • Size: 10.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for mprisgovee-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1da00d6381fec4cc873a7eb050f71b2b86f998b5c004d471432d4c7ff1eaeb4e
MD5 84914e4f71627639e917b5345d90e072
BLAKE2b-256 eab9944e486baa852fb74b5a7ee4369772e1019c4e9ac42432800e48987ab9d0

See more details on using hashes here.

File details

Details for the file mprisgovee-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: mprisgovee-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for mprisgovee-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e6627c584e543b49ecc2cd30b3331bdcd0f3de7496c74438bb87fb8e3ad6a06
MD5 7d8b4d7887c1f6054ad8187d69d8e111
BLAKE2b-256 db3f2631b1eabff3e4974cdde6416d048804cea368494a43d26cba1a921664a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page