This is a plugin for MusicBee that communicates with the Philips Hue system. The plugin works by getting the album colors from the album art of the currently playing song and sends the color to the Philips bulbs. There is currently options to display a solid color, or cycle through a color palette.
There is no music syncing as of right now, but I do want to add this in the future.
If you want to make changes to my code, and rehost it, feel free to do so. Just make sure you credit the other people who made the libraries, as well as me.
Here are just some things to note about the plugin. Nothing of great importance. If you don't care, you can skip to Installation.
By default, the plugin will look for the embedded artwork in the file, if its not found, it will look for a file called cover.jpg. If the cover file is not found, the color white will be displayed on the bulb.
I can't exactly control what colors the library choses from the image. I would write my own, however image processing is another beast I just dont have time to dedicate to. So if you see your bulb turn blue when theres one small blue item in the image, just be aware.
The program will jump a little in memory usage for a short time when the track is changed, however, it will close all resources once the processing is finished.
The Color Palette mode will have a little bit of CPU usage increase because we need to send the next color to the bulb every 4.5s while waiting for an exit flag to stop the running thread and start a new one (if the track is changed). Fixed!
Newtonsoft.Json
You dont actually have to download anything extra. The releases will contain all the files needed.
Special thanks to the people who created these libraries.
Please read the installation instructions carefully. Not following the instructions in order is a sure fire way to not make the plugin work.
Installation Video: Link
1) Download the Zip file from releases and copy them into your MusicBee/Plugins folder. (Most likely C:\Program Files (x86)\MusicBee\Plugins)
2) A prompt will pop up the first time you launch MusicBee with the plugin. Click ok and a new window should come up. Click the "Register Plugin" button
Read the instructions of the new window carefuly before you attempt anything. I will give a quick rundown of what those steps tell you to do.
Press the button on your Hue bridge. You have 30s from the moment you press it to click the "Get Key" button. If all works out, and you see your key, then the plugin is registered.
3) Close the register plugin window and click the save button
Just to be safe, close the settings window as well as MusicBee, and then launch MusicBee again.
4) In MusicBee, go to Tools > Hue Artwork > Settings.
Click the "List Lights" button. You should see all your bulbs connected to your hub. One at a time, click your light name in the left box and click the "Add" button. Once you have all the bulbs you want to control added, click the "Save" button once again.
Highlight the lights in the right side box and click delete if you want to remove them from the group. Then click save to save changes.
If anything goes wrong during the installation process, you can delete all the files and start over. You need to delete the HueArtwork_Settings.xml file found in C:\Users\Username\AppData\Roaming\MusicBee as well as all the plugin files. (Do this while MusicBee is closed)
For any of these options, before you change anything, it would be best if you restart MusicBee, choose the settings you want, then save the settings. e.g Dont change settings while the plugin/song is playing. This will ensure that there are no crashes or anything unecessary
1) Average Color
Gets the average color of all pixels in the album art and sends it as one solid color to the bulb(s)
2) Color Palette
Gets the 8 most dominant colors and cycles through them.
3) Brightness Slider
Left-most side of slider is 0% and right most side is 100%.
4) Quality Settings
Choose if you want the album art to be resized before it is processed. ex (1200x1200) album art gets processed as (300x300) if 25% quality is selected.
To be honest you can probably just leave this at 100% (aka dont resize anything). Be aware however, if you choose a lower quality, the colors from the album art will be less accurate
5) Pause Plugin
Go to Tools > Hue Artwork > Stop to stop the plugin. This option will reset if you restart MusicBee. Go to Edit > Preferences > Plugins and disable the plugin if you no longer want to use it
6) Resume Plugin
Go to Tools > Hue Artwork > Stop to stop the plugin. This option will reset if you restart MusicBee. Go to Edit > Preferences > Plugins and disable the plugin if you no longer want to use it
This is the very first piece of software that I'm making available to people other than myself. I'm using this as a learning process so if things aren't as smooth, please dont get too mad :). If theres a feature you would like or you want to suggest improvements, open up an issue and I'll take a look. I can't guaruntee updates will be frequent, or if there'll be any for that matter as I'll be having school but I'll try my best. This of course means that if you want to make changes to my code, please feel free to do so.