Yeelight Media Sync is a tool that synchronizes Yeelight bulb colors with the dominant color of the currently playing media's artwork on macOS.
Before running, you need to install nowplaying-cli to retrieve the currently playing media information. You can install it using Homebrew:
brew install nowplaying-cli
-
Clone the repository:
git clone https://github.com/gush3l/yeelight-media-sync.git
-
Navigate to the project directory:
cd yeelight-media-sync
-
Install the dependencies:
npm install
To start the application, run:
npm start
To get the thumbnail of the currently playing media, run:
npm run get-thumbnail
- colorthief - A NPM package to get the dominant color from an image.
- yeelight-awesome - A NPM package to control Yeelight devices.
- nowplaying-cli - A macOS command-line utility to retrieve the artwork.
This project is licensed under the MIT License. See the LICENSE file for details.