 
 'use strict'
 
-VERSION = "2.0.0"
+VERSION = "2.0.1"
 
 class Plugmixer
   INITIALIZATION_TIMEOUT = 512

      API.on API.ROOM_CHANGE, (oldRoom, newRoom) ->
        Room.changedTo newRoom


  ###
  # Miscellaneous features.

        return playlist.isActive()
      )[0]

    @refreshIfRequired = ->
      refresh = false
      for playlist in playlists
        # Refresh if any of the playlists no longer have a dom parent.
        if playlist.dom.parent().length == 0 then refresh = true

      if refresh
        playlistNames = @getEnabled().map (playlist) -> return playlist.name
        @initialize()
        @update(playlistNames)

    @update: (playlistNames) ->
      @refreshIfRequired()
      playlists.forEach (playlist) ->
        enable = false
        for playlistName in playlistNames
