The latest dev builds of OpenMW now support music playlists run from Lua. Mods could now create custom music playlists based on location, weather, combat status, or anything else that can be measured with Lua. The pull request includes a sample mod to play certain music when fighting muscrabs.

I look forward to all the new ambience mods that this will make possible!