Prevented a switch from being turned on twice. Made the module regex more robust. Refactored the code to reduce the amount of network traffic to/from pulseaudio. Fixed pylint issues
Even though there's not really a place in the UI for it, it will now be possible to set a playlist as part of a script, and ultimately a scene.